Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-01-16 14:53:54 +0000
committervlorenzo2012-01-16 14:53:54 +0000
commitb028afe9cc5936d813d1cf3d7067c7dec9974afa (patch)
tree04b81446066c931cfbf29d3b810a153fcda1c86e /plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
parent31cdde7e6206b68af83e1732affc669e4e0b73c6 (diff)
downloadorg.eclipse.papyrus-b028afe9cc5936d813d1cf3d7067c7dec9974afa.tar.gz
org.eclipse.papyrus-b028afe9cc5936d813d1cf3d7067c7dec9974afa.tar.xz
org.eclipse.papyrus-b028afe9cc5936d813d1cf3d7067c7dec9974afa.zip
367938: [Refactoring][Diagram Common] the package oep.uml.diagram.common.ui.hyperlink should be moved in a new plugin
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367938
Diffstat (limited to 'plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java')
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java b/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
index 99dbe220750..6d4ed9d5060 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.hyperlink/src/org/eclipse/papyrus/infra/hyperlink/ui/AbstractLookForEditorShell.java
@@ -13,6 +13,7 @@
*****************************************************************************/
package org.eclipse.papyrus.infra.hyperlink.ui;
+import org.eclipse.papyrus.infra.hyperlink.messages.Messages;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.custom.CTabFolder;
@@ -105,11 +106,11 @@ public class AbstractLookForEditorShell {
new Label(lookforShell, SWT.NONE);
new Label(lookforShell, SWT.NONE);
OKbutton = new Button(lookforShell, SWT.NONE);
- OKbutton.setText("OK");
+ OKbutton.setText(Messages.AbstractLookForEditorShell_OK);
OKbutton.setLayoutData(gridData1);
OKbutton.setEnabled(false);
cancelbutton = new Button(lookforShell, SWT.NONE);
- cancelbutton.setText("Cancel");
+ cancelbutton.setText(Messages.AbstractLookForEditorShell_Cancel);
cancelbutton.setLayoutData(gridData2);
}
@@ -130,9 +131,9 @@ public class AbstractLookForEditorShell {
createTreeViewcomposite();
CTabItem cTabItem = new CTabItem(cTabFolder, SWT.None);
cTabItem.setControl(diagramListcomposite);
- cTabItem.setText("Editors list");//TODO change this name into Editor List
+ cTabItem.setText(Messages.AbstractLookForEditorShell_EditorsList);//TODO change this name into Editor List
CTabItem cTabItem1 = new CTabItem(cTabFolder, SWT.None);
- cTabItem1.setText("Tree View");
+ cTabItem1.setText(Messages.AbstractLookForEditorShell_TreeView);
cTabItem1.setControl(treeViewcomposite);
}
@@ -164,13 +165,13 @@ public class AbstractLookForEditorShell {
createModelFilteredTree();
treeViewcomposite.setLayout(gridLayout);
newDiagrambutton = new Button(treeViewcomposite, SWT.NONE);
- newDiagrambutton.setText("New");
+ newDiagrambutton.setText(Messages.AbstractLookForEditorShell_New);
newDiagrambutton.setLayoutData(gridData4);
removeDiagrambutton = new Button(treeViewcomposite, SWT.NONE);
- removeDiagrambutton.setText("Remove");
+ removeDiagrambutton.setText(Messages.AbstractLookForEditorShell_Remove);
removeDiagrambutton.setLayoutData(gridData5);
cLabel = new CLabel(treeViewcomposite, SWT.NONE);
- cLabel.setText(" ");
+ cLabel.setText(" "); //$NON-NLS-1$
cLabel.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));
}

Back to the top