Package org.rhq.core.domain.plugin

Examples of org.rhq.core.domain.plugin.ServerPluginControlDefinition


            if (defs == null || defs.isEmpty()) {
                return new ArrayList<ServerPluginControlDefinition>(0);
            }
            ArrayList<ServerPluginControlDefinition> spcd = new ArrayList<ServerPluginControlDefinition>(defs.size());
            for (ControlDefinition cd : defs) {
                spcd.add(new ServerPluginControlDefinition(cd.getName(), cd.getDisplayName(), cd.getDescription(), cd
                    .getParameters(), cd.getResults()));
            }
            return SerialUtility.prepare(spcd, "PluginGWTService.getServerPluginControlDefinitions");
        } catch (Throwable t) {
            throw getExceptionToThrowToClient(t);
View Full Code Here


        controlNamesItem.setWidth(300);
        controlNamesItem.addChangedHandler(new ChangedHandler() {
            public void onChanged(ChangedEvent event) {
                // determine the control that was selected and remember information about it
                selectedControlName = (String) event.getValue();
                ServerPluginControlDefinition def = getControlDefinition(selectedControlName);
                selectedParamsDef = def.getParameters();
                selectedResultsDef = def.getResults();

                // we changed the control selected, hide any previously shown results
                resultsLayout.destroyMembers();
                resultsLayout.setVisible(false);
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.plugin.ServerPluginControlDefinition

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.