Internalize some classes and fix a pile of warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / internal / tmf / ui / parsers / wizards / CustomTxtParserOutputWizardPage.java
index 4ed351098e1db7eb042db88e671109e64f52ec8c..ed3f3fa46eea8094ba573970e2fe1673c262e70f 100644 (file)
@@ -9,7 +9,7 @@ import java.util.List;
 \r
 import org.eclipse.jface.wizard.WizardPage;\r
 import org.eclipse.linuxtools.internal.tmf.ui.Messages;\r
-import org.eclipse.linuxtools.internal.tmf.ui.TmfUiPlugin;\r
+import org.eclipse.linuxtools.internal.tmf.ui.Activator;\r
 import org.eclipse.linuxtools.internal.tmf.ui.parsers.custom.CustomEventsTable;\r
 import org.eclipse.linuxtools.internal.tmf.ui.parsers.custom.CustomTraceDefinition.OutputColumn;\r
 import org.eclipse.linuxtools.internal.tmf.ui.parsers.custom.CustomTxtTrace;\r
@@ -30,8 +30,8 @@ import org.eclipse.swt.widgets.Text;
 \r
 public class CustomTxtParserOutputWizardPage extends WizardPage {\r
 \r
-    private static final Image upImage = TmfUiPlugin.getDefault().getImageFromPath("/icons/elcl16/up_button.gif"); //$NON-NLS-1$\r
-    private static final Image downImage = TmfUiPlugin.getDefault().getImageFromPath("/icons/elcl16/down_button.gif"); //$NON-NLS-1$\r
+    private static final Image upImage = Activator.getDefault().getImageFromPath("/icons/elcl16/up_button.gif"); //$NON-NLS-1$\r
+    private static final Image downImage = Activator.getDefault().getImageFromPath("/icons/elcl16/down_button.gif"); //$NON-NLS-1$\r
     private final CustomTxtParserWizard wizard;\r
     private CustomTxtTraceDefinition definition;\r
     List<Output> outputs = new ArrayList<Output>();\r
@@ -193,7 +193,7 @@ public class CustomTxtParserOutputWizardPage extends WizardPage {
         definition.outputs = extractOutputs();\r
 \r
         try {\r
-            tmpFile = TmfUiPlugin.getDefault().getStateLocation().addTrailingSeparator().append("customwizard.tmp").toFile(); //$NON-NLS-1$\r
+            tmpFile = Activator.getDefault().getStateLocation().addTrailingSeparator().append("customwizard.tmp").toFile(); //$NON-NLS-1$\r
             final FileWriter writer = new FileWriter(tmpFile);\r
             writer.write(wizard.inputPage.getInputText());\r
             writer.close();\r
@@ -204,9 +204,9 @@ public class CustomTxtParserOutputWizardPage extends WizardPage {
             previewTable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));\r
             previewTable.setTrace(trace, true);\r
         } catch (final TmfTraceException e) {\r
-            TmfUiPlugin.getDefault().logError("Error creating CustomTxtTrace. File:" + tmpFile.getAbsolutePath(), e); //$NON-NLS-1$\r
+            Activator.getDefault().logError("Error creating CustomTxtTrace. File:" + tmpFile.getAbsolutePath(), e); //$NON-NLS-1$\r
         } catch (final IOException e) {\r
-            TmfUiPlugin.getDefault().logError("Error creating CustomTxtTrace. File:" + tmpFile.getAbsolutePath(), e); //$NON-NLS-1$\r
+            Activator.getDefault().logError("Error creating CustomTxtTrace. File:" + tmpFile.getAbsolutePath(), e); //$NON-NLS-1$\r
         }\r
 \r
         tableContainer.layout();\r
This page took 0.024423 seconds and 5 git commands to generate.