]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/actions/AssignSymbolGroupsDialog.java
Fixed string externalizations for AssignSymbolGroupDialog
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / actions / AssignSymbolGroupsDialog.java
index 68ac2a7a05f01a29c7a8b204927699a01efa710e..2af1510945b05e1958d4406e270d1fe9bcf05c7c 100644 (file)
@@ -38,10 +38,6 @@ public abstract class AssignSymbolGroupsDialog extends SelectionDialog {
 
     private static final String DIALOG = "AssignSymbolGroupsDialog"; //$NON-NLS-1$
 
-    static String SELECT_ALL_TITLE = WorkbenchMessages.SelectionDialog_selectLabel;
-
-    static String DESELECT_ALL_TITLE = WorkbenchMessages.SelectionDialog_deselectLabel;
-
     // the root element to populate the viewer with
     protected Object inputElement;
 
@@ -78,7 +74,7 @@ public abstract class AssignSymbolGroupsDialog extends SelectionDialog {
             ICheckStateProvider checkStateProvider,
             String message) {
         super(parentShell);
-        setTitle(WorkbenchMessages.ListSelection_title);
+        setTitle(""); //$NON-NLS-1$
         inputElement = input;
         this.contentProvider = contentProvider;
         this.labelProvider = labelProvider;
@@ -114,7 +110,7 @@ public abstract class AssignSymbolGroupsDialog extends SelectionDialog {
         buttonComposite.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, true));
 
         Button selectButton = createButton(buttonComposite,
-                IDialogConstants.SELECT_ALL_ID, SELECT_ALL_TITLE, false);
+                IDialogConstants.SELECT_ALL_ID, WorkbenchMessages.SelectionDialog_selectLabel, false);
 
         SelectionListener listener = new SelectionAdapter() {
             public void widgetSelected(SelectionEvent e) {
@@ -125,7 +121,7 @@ public abstract class AssignSymbolGroupsDialog extends SelectionDialog {
         selectButton.addSelectionListener(listener);
 
         Button deselectButton = createButton(buttonComposite,
-                IDialogConstants.DESELECT_ALL_ID, DESELECT_ALL_TITLE, false);
+                IDialogConstants.DESELECT_ALL_ID, WorkbenchMessages.SelectionDialog_deselectLabel, false);
 
         listener = new SelectionAdapter() {
             public void widgetSelected(SelectionEvent e) {
@@ -139,7 +135,7 @@ public abstract class AssignSymbolGroupsDialog extends SelectionDialog {
         Label label = new Label(buttonComposite, SWT.NONE);
 
         Button newButton = createButton(buttonComposite,
-                IDialogConstants.INTERNAL_ID-1, "&New...", false);
+                IDialogConstants.INTERNAL_ID-1, org.simantics.modeling.ui.actions.Messages.AssignSymbolGroupsDialog_New, false);
 
         listener = new SelectionAdapter() {
             public void widgetSelected(SelectionEvent e) {
@@ -149,7 +145,7 @@ public abstract class AssignSymbolGroupsDialog extends SelectionDialog {
         newButton.addSelectionListener(listener);
 
         Button removeButton = createButton(buttonComposite,
-                IDialogConstants.INTERNAL_ID-2, "&Remove", false);
+                IDialogConstants.INTERNAL_ID-2, org.simantics.modeling.ui.actions.Messages.AssignSymbolGroupsDialog_Remove, false);
 
         listener = new SelectionAdapter() {
             public void widgetSelected(SelectionEvent e) {