Package org.jamesii.gui.server

Examples of org.jamesii.gui.server.ServiceAction


      ServiceInfo info = (ServiceInfo) getSelectedNodeInfo().getInfo();
      Map<String, List<String[]>> commandList = info.getPossibleCommands();
      for (Entry<String, List<String[]>> entry : commandList.entrySet()) {
        String command = entry.getKey();
        IAction action =
            new ServiceAction(command, command, new String[] { "" }, info,
                entry.getValue(), this);
        action.setEnabled(getSelectedNodeInfo() != null);
        actions.add(action);
      }
    }
    return actions.toArray(new IAction[actions.size()]);
  }
View Full Code Here

TOP

Related Classes of org.jamesii.gui.server.ServiceAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.