2010-11-09 Francois Chouinard <fchouinard@gmail.com> Contribution for Bug315307
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / lttng / ui / views / project / dialogs / ImportTraceWizard.java
index 3e1b0a040d18bd682079176785de3ee64d8f5a0b..9afae8ab8cd0db801555013cb0e588f4cea8af23 100644 (file)
@@ -41,11 +41,12 @@ public class ImportTraceWizard extends Wizard implements IImportWizard {
        /**
      * 
      */
+    private final String IMPORT_WIZARD = "LTTngTraceImportWizard"; //$NON-NLS-1$
     public ImportTraceWizard() {
         IDialogSettings workbenchSettings = WorkbenchPlugin.getDefault().getDialogSettings();
-        IDialogSettings section = workbenchSettings.getSection("LTTngTraceImportWizard");
+        IDialogSettings section = workbenchSettings.getSection(IMPORT_WIZARD);
         if (section == null) {
-                       section = workbenchSettings.addNewSection("LTTngTraceImportWizard");
+                       section = workbenchSettings.addNewSection(IMPORT_WIZARD);
                }
         
         setDialogSettings(section);
@@ -76,7 +77,7 @@ public class ImportTraceWizard extends Wizard implements IImportWizard {
         }
         
         setWindowTitle(DataTransferMessages.DataTransfer_importTitle);
-        setDefaultPageImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor("wizban/importdir_wiz.png"));
+        setDefaultPageImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor("wizban/importdir_wiz.png")); //$NON-NLS-1$
         setNeedsProgressMonitor(true);
     }
        
This page took 0.024147 seconds and 5 git commands to generate.