Skip to content

Commit

Permalink
execution-comparison: add better labels
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad Arama <[email protected]>
  • Loading branch information
vladarama committed Jul 9, 2024
1 parent a5dc3f1 commit d012ac8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public class ExecutionComparisonView extends DifferentialFlameGraphView implemen
* The title of the view
*/
public static final String VIEW_TITLE = Objects.requireNonNull(Messages.multipleDensityViewTitle);
private static final String DATA_SELECTION = Objects.requireNonNull(Messages.dataSelection);
private static final String TRACE_NAME = Objects.requireNonNull(Messages.traceName);
private static final String STATISTIC_NAME = Objects.requireNonNull(Messages.statisticName);
private static final String TMF_VIEW_UI_CONTEXT = Objects.requireNonNull(Messages.tmfViewUiContext);
Expand Down Expand Up @@ -167,6 +168,7 @@ public ExecutionComparisonView() {
public void createPartControl(@Nullable Composite parent) {
TmfSignalManager.register(this);

this.setContentDescription(DATA_SELECTION);
final SashForm sashForm = new SashForm(parent, SWT.VERTICAL);
fsashForm = sashForm;
sashForm.setLayout(new GridLayout(1, false));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.tracecompass.incubator.internal.executioncomparison.ui.messages"; //$NON-NLS-1$

/**
* The label for the data selection portion of the execution comparison ui
*/
public static String dataSelection;

/**
* The label of GroupA
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# SPDX-License-Identifier: EPL-2.0
###############################################################################
dataSelection=Data Selection
multipleDensityViewGroupA=GroupA
multipleDensityViewGroupB=GroupB
multipleDensityViewQueryGroup=Filtering Query
Expand Down

0 comments on commit d012ac8

Please sign in to comment.