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;
ICheckStateProvider checkStateProvider,
String message) {
super(parentShell);
- setTitle(WorkbenchMessages.ListSelection_title);
+ setTitle(""); //$NON-NLS-1$
inputElement = input;
this.contentProvider = contentProvider;
this.labelProvider = labelProvider;
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) {
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) {
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) {
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) {