X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.document.ui%2Fsrc%2Forg%2Fsimantics%2Fdocument%2Fui%2Fwizard%2FFileSelectionPage.java;h=188d6c46c1529024bf99a70d660c7f02178639f6;hp=eb43ee79471af3d0da638e45bb426fdcb5a131b7;hb=c8e675ae59eebb045a095a07e54462d0fe87f5cb;hpb=8783f9ee2b67f83160d88f43a7aef02a6b25f955 diff --git a/bundles/org.simantics.document.ui/src/org/simantics/document/ui/wizard/FileSelectionPage.java b/bundles/org.simantics.document.ui/src/org/simantics/document/ui/wizard/FileSelectionPage.java index eb43ee794..188d6c46c 100644 --- a/bundles/org.simantics.document.ui/src/org/simantics/document/ui/wizard/FileSelectionPage.java +++ b/bundles/org.simantics.document.ui/src/org/simantics/document/ui/wizard/FileSelectionPage.java @@ -22,7 +22,7 @@ public class FileSelectionPage extends WizardPage { String fileName; public FileSelectionPage() { - super("FileSelction","Select a file",null); + super(Messages.FileSelectionPage_FileSelection,Messages.FileSelectionPage_SelectAFile,null); } @Override @@ -30,7 +30,7 @@ public class FileSelectionPage extends WizardPage { parent.setLayout(new GridLayout(3,false)); fileText = new Text(parent,SWT.BORDER|SWT.SINGLE); browseButton = new Button(parent, SWT.PUSH); - browseButton.setText("Browse"); + browseButton.setText(Messages.FileSelectionPage_Browse); GridData data; data = new GridData(); @@ -50,7 +50,7 @@ public class FileSelectionPage extends WizardPage { // TODO : is there any way to read file/executable bindings from OS? // if is, use those extensions to filter this list. // note: in windows using "reg query ..." to read bindings form registry would work. - dialog.setFilterExtensions(new String[]{"*.*"}); + dialog.setFilterExtensions(new String[]{"*.*"}); //$NON-NLS-1$ String name = dialog.open(); if (name != null) { fileText.setText(name);