Fix for custom parsers
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / parsers / wizards / CustomTxtParserOutputWizardPage.java
index 3b3de65148a333107894f48003609e97dff447a9..6e04ad72b6291e987b3cf06c99664d360e507240 100644 (file)
@@ -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.025757 seconds and 5 git commands to generate.