\r
public class ManageCustomParsersDialog extends Dialog {\r
\r
- private static final Image image = TmfUiPlugin.getDefault().getImageFromPath("/icons/customparser_wizard.gif");\r
+ private static final Image image = TmfUiPlugin.getDefault().getImageFromPath("/icons/customparser_wizard.gif"); //$NON-NLS-1$\r
\r
Button txtButton;\r
Button xmlButton;\r
}});\r
\r
xmlButton = new Button(radioContainer, SWT.RADIO);\r
- xmlButton.setText("XML");\r
+ xmlButton.setText("XML"); //$NON-NLS-1$\r
xmlButton.addSelectionListener(new SelectionListener(){\r
@Override\r
public void widgetDefaultSelected(SelectionEvent e) {}\r
public void widgetSelected(SelectionEvent e) {\r
FileDialog dialog = new FileDialog(Display.getCurrent().getActiveShell(), SWT.OPEN);\r
dialog.setText("Select custom parser file to import");\r
- dialog.setFilterExtensions(new String[] {"*.xml", "*"});\r
+ dialog.setFilterExtensions(new String[] {"*.xml", "*"}); //$NON-NLS-1$ //$NON-NLS-2$\r
String path = dialog.open();\r
if (path != null) {\r
CustomTraceDefinition[] defs = null;\r
public void widgetSelected(SelectionEvent e) {\r
FileDialog dialog = new FileDialog(Display.getCurrent().getActiveShell(), SWT.SAVE);\r
dialog.setText("Select file to export the " + parserList.getSelection()[0] + " custom parser");\r
- dialog.setFilterExtensions(new String[] {"*.xml", "*"});\r
+ dialog.setFilterExtensions(new String[] {"*.xml", "*"}); //$NON-NLS-1$ //$NON-NLS-2$\r
String path = dialog.open();\r
if (path != null) {\r
CustomTraceDefinition def = null;\r
FileDialog dialog = new FileDialog(Display.getCurrent().getActiveShell(), SWT.OPEN);\r
dialog.setText("Select log file to parse using the " + parserList.getSelection()[0] + " custom parser");\r
if (xmlButton.getSelection()) {\r
- dialog.setFilterExtensions(new String[] {"*.xml", "*"});\r
+ dialog.setFilterExtensions(new String[] {"*.xml", "*"}); //$NON-NLS-1$ //$NON-NLS-2$\r
}\r
String path = dialog.open();\r
String parser = null;\r
CustomTraceDefinition def = null;\r
if (txtButton.getSelection()) {\r
def = CustomTxtTraceDefinition.load(parserList.getSelection()[0]);\r
- parser = CustomTxtTrace.class.getCanonicalName() + "." + def.definitionName;\r
+ parser = CustomTxtTrace.class.getCanonicalName() + "." + def.definitionName; //$NON-NLS-1$\r
} else if (xmlButton.getSelection()) {\r
def = CustomXmlTraceDefinition.load(parserList.getSelection()[0]);\r
- parser = CustomXmlTrace.class.getCanonicalName() + "." + def.definitionName;\r
+ parser = CustomXmlTrace.class.getCanonicalName() + "." + def.definitionName; //$NON-NLS-1$\r
}\r
if (def != null) {\r
try {\r