/** Create an editor for configuring the specified object.
*/
public void createEditor(NamedObj object, Frame parent) {
ComponentDialog dialog = null;
FileParameter helpFileParameter = (FileParameter) object
.getAttribute("help");
String[] buttons = _moreButtons;
if (helpFileParameter == null) {
// Do not include the help button.
buttons = _moreButtonsNoHelp;
}
dialog = new ComponentDialog(parent, "Edit Parameters or File",
createEditorPane(), buttons);
String button = dialog.buttonPressed();
if (button.equals("Cancel")) {
return;
}