Package org.jitterbit.integration.client.server

Examples of org.jitterbit.integration.client.server.ServerInfo


        this.model = model;
        this.overlayContainer = overlayContainer;
    }
    public void showReadOnlyMessage() {
        ServerInfo server = model.getCurrentServer();
        if (server == null) {
            return;
        }
        String title = "Non-Admin User";
        String message = "<html>The current user does not have administration privileges on the server " +
View Full Code Here


            Alert.warning(message, title);
        }
    }
   
    public void showNotSaveableMessage() {
        ServerInfo server = model.getCurrentServer();
        if (server == null) {
            return;
        }
        String title = "Non-Admin User";
        String message = "<html>The current user does not have administration privileges on the server " +
View Full Code Here

                version = VersionFactory.fromString(p.getString(SERVER_VERSION));
            } catch (IllegalVersionException ex) {
                ex.printStackTrace();
                version = Version.UNKNOWN;
            }
            return new ServerInfo(new ServerGuid(id), name, version);
        }
View Full Code Here

    public void removeAllPluginPositions() {
        setPluginPositions(null, null);
    }

    public PipelinePluginManifestCache getManifestCache(PluginIdentifier pluginId) {
        ServerInfo server = getSelectedServer();
        return server == null ? null : caches.get(server.getGuid());
    }
View Full Code Here

    public void requestFocus() {
        ui.requestFocus();
    }

    private JLabel getServerLabel(DeployResult r) {
        ServerInfo server = r.getServer();
        JLabel label = ui.makeValueLabel(server.getName());
        label.setIcon(ClientIcons.SERVER_16);
        label.setToolTipText(new ServerToolTip(server).get());
        return label;
    }
View Full Code Here

    private class ServerListener implements ServerConnectionListener {

        @Override
        public void serverConnectionChanged(ServerConnectionEvent evt) {
            model.setKnownServers(serverManager.getRegisteredServers());
            ServerInfo currentServer = serverManager.getCurrentServerInfo();
            if (currentServer != null) {
                model.setSelectedServer(currentServer);
            }
        }
View Full Code Here

                }
            }
        }

        private boolean isCurrentServer(ServerGuid guid) {
            ServerInfo server = model.getSelectedServer();
            return server != null && server.getGuid().equals(guid);
        }
View Full Code Here

    private class SelectedServerListener implements PropertyChangeListener {

        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            assert PluginPositionSelectorModel.SELECTED_SERVER.equals(evt.getPropertyName());
            ServerInfo server = (ServerInfo) evt.getNewValue();
            if (server == null) {
                model.removeAllPluginPositions();
            } else {
                switchServer(server);
            }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.server.ServerInfo

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.