public void componentClosed() { super.componentClosed(); try { dObj.getWebExt().removePropertyChangeListener(this); } catch (IOException ex) { ex = null; } }
public void componentShowing() { super.componentShowing(); if (needInit) { repaintView(); needInit = false; } // view=new WSWebExtView(dObj); comp.setContentView(view); try { view.openPanel(dObj.getWebExt()); } catch (java.io.IOException ex) { LOGGER.log(Level.INFO, null, ex); } view.checkValidity(); }
WSWebExtView(WSWebExtDataObject dObj) { super(factory); Children rootChildren = new Children.Array(); Node root = new AbstractNode(rootChildren); try { this.webext = dObj.getWebExt(); rootChildren.add(new Node[] {createWebExtAttrNode(), createServletsNode()}); /* rootChildren.add(new Node[]{ createWebExtAttrNode(), createResRefNode(), createEjbRefNode(), createResEnvRefNode()} );*/ } catch (java.io.IOException ex) { System.out.println("ex=" + ex); root.setDisplayName("Invalid WebExt"); } finally { setRoot(root); } }