40
} catch (Exception e) {
e.printStackTrace();
valid = false;
}
return valid;
}
/**
* Display the cached input metadata as HTML
*/
public void showView(Frame frame) {
try {
// Get cached summary
XTMetaData cacheMD = getNodeCacheXTMetaData(
ThirdCopyEngineNode.INPUT_MD_CACHE_NAME);
if (cacheMD == null) {
AcceleratorOptionPane.showOKDialog(frame,
"No view information stored.",
"No View Information",
JOptionPane.WARNING_MESSAGE);
}
else {
String htmlString = cacheMD.getHtmlString(
XMLTree.META_DATA_XSL_FILE,
getLabelText());
new HtmlFrame(htmlString);
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
Node Dialog The node dialog will have two pages:
• A page with a list box to select which columns to copy.
• The standard Advanced page with general node options.
Comentarios a estos manuales