public static String CustomXmlParserInputWizardPage_removeAttribute;
public static String CustomXmlParserInputWizardPage_removeElement;
public static String CustomXmlParserInputWizardPage_set;
- public static String CustomXmlParserInputWizardPage_tagName;
public static String CustomXmlParserInputWizardPage_timestampFormat;
public static String CustomXmlParserInputWizardPage_timestampFormatHelp;
- public static String CustomXmlParserInputWizardPage_windowTitle;
public static String CustomXmlParserInputWizardPage_titleEdit;
public static String CustomXmlParserInputWizardPage_titleNew;
+ public static String CustomXmlParserInputWizardPage_windowTitle;
public static String CustomXmlParserOutputWizardPage_description;
public static String CustomXmlParserOutputWizardPage_moveAfter;
public static String CustomXmlParserOutputWizardPage_moveBefore;
CustomXmlParserInputWizardPage_removeAttribute=Remove attribute
CustomXmlParserInputWizardPage_removeElement=Remove element
CustomXmlParserInputWizardPage_set=Set
-CustomXmlParserInputWizardPage_tagName=tag name:
CustomXmlParserInputWizardPage_timestampFormat=Time Stamp format:
CustomXmlParserInputWizardPage_timestampFormatHelp=Time Stamp Format Help
-CustomXmlParserInputWizardPage_windowTitle=Custom XML Parser
CustomXmlParserInputWizardPage_titleEdit=Edit Custom XML Parser
CustomXmlParserInputWizardPage_titleNew=New Custom XML Parser
+CustomXmlParserInputWizardPage_windowTitle=Custom XML Parser
CustomXmlParserOutputWizardPage_description=Customize the output of the parser
CustomXmlParserOutputWizardPage_moveAfter=Move After
CustomXmlParserOutputWizardPage_moveBefore=Move Before
actionCombo.setVisible(true);
break;
case 4: // Other
- tagLabel.setText(Messages.CustomXmlParserInputWizardPage_tagName);
+ tagLabel.setText(Messages.CustomXmlParserInputWizardPage_name);
tagLabel.setVisible(true);
if (tagText.getText().trim().length() == 0) {
tagText.setText(elementNameText.getText().trim());
tagText.setVisible(false);
} else {
tagCombo.select(4);
- tagLabel.setText(Messages.CustomXmlParserInputWizardPage_tagName);
+ tagLabel.setText(Messages.CustomXmlParserInputWizardPage_name);
tagText.setText(inputElement.getInputName());
tagText.addModifyListener(updateListener);
}
private void updatePreview() {
Element element = getPreviewElement(inputElement);
- if (inputElement.getParentElement() != null) { // no preview text for
- // document element
+ // no preview text for document element
+ if (inputElement.getParentElement() != null) {
previewText.setText(Messages.CustomXmlParserInputWizardPage_noMatchingElement);
if (element != null) {
previewText.setText(CustomXmlTrace.parseElement(element, new StringBuffer()).toString());
logEntryFound = true;
logEntriesCount++;
} else {
- logEntryButton.setSelection(false); // remove nested
- // log entry
+ // remove nested log entry
+ logEntryButton.setSelection(false);
}
}
if (tagCombo.getText().equals(CustomTraceDefinition.TAG_TIMESTAMP) && logEntriesCount <= 1) {
tagText.setVisible(false);
break;
case 3: // Other
- tagLabel.setText(Messages.CustomXmlParserInputWizardPage_tagName);
+ tagLabel.setText(Messages.CustomXmlParserInputWizardPage_name);
tagLabel.setVisible(true);
if (tagText.getText().trim().length() == 0) {
tagText.setText(attributeNameText.getText().trim());
tagText.setVisible(false);
} else {
tagCombo.select(3);
- tagLabel.setText(Messages.CustomXmlParserInputWizardPage_tagName);
+ tagLabel.setText(Messages.CustomXmlParserInputWizardPage_name);
tagText.setText(inputAttribute.getInputName());
tagText.addModifyListener(updateListener);
}