Package org.jitterbit.application.ui.widget

Examples of org.jitterbit.application.ui.widget.BasicTwoColumnLabelDisplayer.addRow()


       
        private void showNodeInfo(GraphNodeUi2D nodeUi) {
            BasicTwoColumnLabelDisplayer ui = new BasicTwoColumnLabelDisplayer();
            Rectangle bounds = layout.getBounds(nodeUi.getNodeObject());
            Object node = nodeUi.getNodeObject();
            ui.addRow("Node: ", node != null ? node.toString() : "[null]");
            ui.addRow("Bounds: ", String.valueOf(bounds));
            ui.addRow("Minimum size: ", String.valueOf(nodeUi.getMinimumSize()));
            ui.addRow("Preferred size: ", String.valueOf(nodeUi.getPreferredSize()));
            for (GraphEdge in : getModel().getIncomingEdges(node)) {
                ui.addRow("Incoming route: ", in.toString());
View Full Code Here


        private void showNodeInfo(GraphNodeUi2D nodeUi) {
            BasicTwoColumnLabelDisplayer ui = new BasicTwoColumnLabelDisplayer();
            Rectangle bounds = layout.getBounds(nodeUi.getNodeObject());
            Object node = nodeUi.getNodeObject();
            ui.addRow("Node: ", node != null ? node.toString() : "[null]");
            ui.addRow("Bounds: ", String.valueOf(bounds));
            ui.addRow("Minimum size: ", String.valueOf(nodeUi.getMinimumSize()));
            ui.addRow("Preferred size: ", String.valueOf(nodeUi.getPreferredSize()));
            for (GraphEdge in : getModel().getIncomingEdges(node)) {
                ui.addRow("Incoming route: ", in.toString());
            }
View Full Code Here

            BasicTwoColumnLabelDisplayer ui = new BasicTwoColumnLabelDisplayer();
            Rectangle bounds = layout.getBounds(nodeUi.getNodeObject());
            Object node = nodeUi.getNodeObject();
            ui.addRow("Node: ", node != null ? node.toString() : "[null]");
            ui.addRow("Bounds: ", String.valueOf(bounds));
            ui.addRow("Minimum size: ", String.valueOf(nodeUi.getMinimumSize()));
            ui.addRow("Preferred size: ", String.valueOf(nodeUi.getPreferredSize()));
            for (GraphEdge in : getModel().getIncomingEdges(node)) {
                ui.addRow("Incoming route: ", in.toString());
            }
            for (GraphEdge out : getModel().getOutgoingEdges(node)) {
View Full Code Here

            Rectangle bounds = layout.getBounds(nodeUi.getNodeObject());
            Object node = nodeUi.getNodeObject();
            ui.addRow("Node: ", node != null ? node.toString() : "[null]");
            ui.addRow("Bounds: ", String.valueOf(bounds));
            ui.addRow("Minimum size: ", String.valueOf(nodeUi.getMinimumSize()));
            ui.addRow("Preferred size: ", String.valueOf(nodeUi.getPreferredSize()));
            for (GraphEdge in : getModel().getIncomingEdges(node)) {
                ui.addRow("Incoming route: ", in.toString());
            }
            for (GraphEdge out : getModel().getOutgoingEdges(node)) {
                ui.addRow("Outgoing route: ", out.toString());
View Full Code Here

            ui.addRow("Node: ", node != null ? node.toString() : "[null]");
            ui.addRow("Bounds: ", String.valueOf(bounds));
            ui.addRow("Minimum size: ", String.valueOf(nodeUi.getMinimumSize()));
            ui.addRow("Preferred size: ", String.valueOf(nodeUi.getPreferredSize()));
            for (GraphEdge in : getModel().getIncomingEdges(node)) {
                ui.addRow("Incoming route: ", in.toString());
            }
            for (GraphEdge out : getModel().getOutgoingEdges(node)) {
                ui.addRow("Outgoing route: ", out.toString());
            }
            UiProviderDialogDisplayer.display(getWindowOwner(), ui, "Node Info");
View Full Code Here

            ui.addRow("Preferred size: ", String.valueOf(nodeUi.getPreferredSize()));
            for (GraphEdge in : getModel().getIncomingEdges(node)) {
                ui.addRow("Incoming route: ", in.toString());
            }
            for (GraphEdge out : getModel().getOutgoingEdges(node)) {
                ui.addRow("Outgoing route: ", out.toString());
            }
            UiProviderDialogDisplayer.display(getWindowOwner(), ui, "Node Info");
        }
    }
   
View Full Code Here

            }
        }
       
        private UiProvider createInfoUi(Point pt) {
            BasicTwoColumnLabelDisplayer ui = new BasicTwoColumnLabelDisplayer();
            ui.addRow("Current mouse position: ", new JLabel("[x = " + pt.x + ", y = " + pt.y + "]"));
            ui.addRow("Active graph element: ", getActiveGraphElementInfo(pt));
            return ui;
        }
       
        private JLabel getActiveGraphElementInfo(Point pt) {
View Full Code Here

        }
       
        private UiProvider createInfoUi(Point pt) {
            BasicTwoColumnLabelDisplayer ui = new BasicTwoColumnLabelDisplayer();
            ui.addRow("Current mouse position: ", new JLabel("[x = " + pt.x + ", y = " + pt.y + "]"));
            ui.addRow("Active graph element: ", getActiveGraphElementInfo(pt));
            return ui;
        }
       
        private JLabel getActiveGraphElementInfo(Point pt) {
            GraphUiElement active = getActiveElement(pt);
View Full Code Here

    }

    private UiProvider createDisplayer() {
        BasicTwoColumnLabelDisplayer disp = new BasicTwoColumnLabelDisplayer(Mode.TEXTFIELD);
        disp.setFieldWidth(30);
        disp.addRow("Type:", object.getEntityType().getDisplayName());
        disp.addRow("Name:", object.getName());
        disp.addRow("GUID:", object.getID());
        disp.addRow("Created on:", object.getCreatedAt());
        disp.addRow("Last modified on:", object.getModifiedAt());
        addBoolean(disp, "Deployed:", object.hasBeenDeployed());
View Full Code Here

    private UiProvider createDisplayer() {
        BasicTwoColumnLabelDisplayer disp = new BasicTwoColumnLabelDisplayer(Mode.TEXTFIELD);
        disp.setFieldWidth(30);
        disp.addRow("Type:", object.getEntityType().getDisplayName());
        disp.addRow("Name:", object.getName());
        disp.addRow("GUID:", object.getID());
        disp.addRow("Created on:", object.getCreatedAt());
        disp.addRow("Last modified on:", object.getModifiedAt());
        addBoolean(disp, "Deployed:", object.hasBeenDeployed());
        if (object.hasBeenDeployed()) {
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.