Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / parsers / wizards / CustomTxtParserOutputWizardPage.java
index 3b3de65148a333107894f48003609e97dff447a9..55e93d3e41a159a5d33974664e5c7ac854126bec 100644 (file)
@@ -9,7 +9,7 @@ import java.util.Iterator;
 import java.util.List;\r
 \r
 import org.eclipse.jface.wizard.WizardPage;\r
-import org.eclipse.linuxtools.tmf.trace.ITmfTrace;\r
+import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;\r
 import org.eclipse.linuxtools.tmf.ui.TmfUiPlugin;\r
 import org.eclipse.linuxtools.tmf.ui.internal.Messages;\r
 import org.eclipse.linuxtools.tmf.ui.parsers.custom.CustomEventsTable;\r
@@ -195,7 +195,7 @@ public class CustomTxtParserOutputWizardPage extends WizardPage {
     }\r
     \r
     private void updatePreviewTable() {\r
-        final int MAX_NUM_ENTRIES = 50;\r
+        final int CACHE_SIZE = 50;\r
         definition.outputs = extractOutputs();\r
 \r
         try {\r
@@ -204,9 +204,9 @@ public class CustomTxtParserOutputWizardPage extends WizardPage {
             writer.write(wizard.inputPage.getInputText());\r
             writer.close();\r
             \r
-            ITmfTrace<?> trace = new CustomTxtTrace(tmpFile.getName(), definition, tmpFile.getAbsolutePath(), MAX_NUM_ENTRIES);\r
+            ITmfTrace<?> trace = new CustomTxtTrace(tmpFile.getName(), definition, tmpFile.getAbsolutePath(), CACHE_SIZE);\r
             previewTable.dispose();\r
-            previewTable = new CustomEventsTable(definition, tableContainer, MAX_NUM_ENTRIES);\r
+            previewTable = new CustomEventsTable(definition, tableContainer, CACHE_SIZE);\r
             previewTable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));\r
             previewTable.setTrace(trace, true);\r
         } catch (FileNotFoundException e) {\r
This page took 0.024586 seconds and 5 git commands to generate.