@Override public void initialize() { MENU = Bundle.getStringTrimmed( "org.netbeans.modules.j2ee.deployment.impl.ui.actions.Bundle", "LBL_Add_Server_Instance"); // "Add Server..." TITLE = Bundle.getStringTrimmed( "org.netbeans.modules.j2ee.deployment.impl.ui.wizard.Bundle", "LBL_ASIW_Title"); // "Add Server Instance" String path = Bundle.getStringTrimmed( "org.netbeans.modules.server.ui.manager.Bundle", "ACSN_ServerList"); // "Servers" thenode = new Node(RuntimeTabOperator.invoke().getRootNode(), path); thenode.select(); }
@Override public void close() { if (testedComponentOperator != null && testedComponentOperator.isShowing()) ((RuntimeTabOperator) testedComponentOperator).close(); }