public class InvokatronDocument extends Properties { public static final String PACKAGE = "package"; public static final String SUPERCLASS = "superclass"; public static final String INTERFACES = "interfaces"; }
public boolean performFinish() { //首先把所有的页面数据保存在变量中 final String containerName = page.getContainerName(); final String fileName =page.getFileName(); final InvokatronDocument properties = new InvokatronDocument(); properties.setProperty(InvokatronDocument.PACKAGE,page2.getPackage()); properties.setProperty(InvokatronDocument.SUPERCLASS,page2.getSuperclass()); properties.setProperty(InvokatronDocument.INTERFACES,page2.getInterfaces());
public class InterfacesValidator implements ICellEditorValidator { public String isValid(Object value) { if( !( value instanceof String) ) return null;