Examples of GeronimoServerPluginManager


Examples of org.apache.geronimo.st.v21.core.operations.GeronimoServerPluginManager

        customAssemblyButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
        customAssemblyButton.addSelectionListener(new SelectionListener() {
            public void widgetSelected(SelectionEvent e) {
                // if the server is started, then we can bring up the dialog
                if (isServerRunning()) {
                    GeronimoServerPluginManager pluginManager = new GeronimoServerPluginManager (gs.getServer());
                    ServerCustomAssemblyWizard wizard = new ServerCustomAssemblyWizard (pluginManager);
                    WizardDialog dialog = new WizardDialog(Display.getCurrent().getActiveShell(), wizard);
                    dialog.open();
                    if (dialog.getReturnCode() == Dialog.OK) {
                    }
                } else {
                    MessageDialog.openError(Display.getCurrent().getActiveShell(), CommonMessages.errorOpenWizard, CommonMessages.serverNotStarted);
                }
            }

            public void widgetDefaultSelected(SelectionEvent e) {
            }
        });
       
        pluginManagerButton = toolkit.createButton(composite, CommonMessages.convertAppsToPlugins, SWT.PUSH);
        pluginManagerButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
        pluginManagerButton.addSelectionListener(new SelectionListener() {
            public void widgetSelected(SelectionEvent e) {
                // if the server is started, then we can bring up the dialog
                if (isServerRunning()) {
                    GeronimoServerPluginManager pluginManager = new GeronimoServerPluginManager (gs.getServer());
                    ServerPluginManagerWizard wizard = new ServerPluginManagerWizard (pluginManager);
                    ServerPluginManagerDialog dialog = new ServerPluginManagerDialog(Display.getCurrent().getActiveShell(), wizard);
                    dialog.open();
                    if (dialog.getReturnCode() == Dialog.OK) {
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.