Package org.jitterbit.integration.client.server.ui

Examples of org.jitterbit.integration.client.server.ui.ServerToolTip


    public void requestFocus() {
        // Nothing gets focus
    }

    public void setConnected(final ServerConnectionEvent evt) {
        final ServerToolTip tooltip = new ServerToolTip(evt.getServerInfo());
        Runnable job = new Runnable() {

            @Override
            public void run() {
                serverCaption.setIcon(ServerRenderer.getIconForConnectionState(evt));
                serverLabel.setText(evt.getServerName());
                serverLabel.setToolTipText(tooltip.get());
                userLabel.setText(evt.getCredentials().getUser());
            }
        };
        UiUtils.runOnEventThread(job);
    }
View Full Code Here


        }

        private void applyToolTip(String name) {
            ServerInfo info = model.getServerInfo(name);
            if (info != null) {
                ServerToolTip tooltip = new ServerToolTip(info);
                setToolTipText(tooltip.get());
            } else {
                setToolTipText(null);
            }
        }
View Full Code Here

    private final String tooltip;

    private ServerTableItem(ServerInfo server) {
        text = server.getName();
        tooltip = new ServerToolTip(server).get();
    }
View Full Code Here

    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

TOP

Related Classes of org.jitterbit.integration.client.server.ui.ServerToolTip

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.