Examples of addInfoProperty()


Examples of gov.nasa.arc.mct.gui.MCTViewManifestationInfo.addInfoProperty()

    }
   
    public void addPanelBorder(byte newBorderState) {
        this.panelBorder.addBorderState(newBorderState);
        MCTViewManifestationInfo manifestInfo = CanvasManifestation.getManifestationInfo(this.wrappedManifestation);
        manifestInfo.addInfoProperty(ControlAreaFormattingConstants.PANEL_BORDER_PROPERTY, String.valueOf(this.panelBorder.getBorders()));
        setBorder(null);
        setBorder(panelBorder); // We need to reset the border so that the border will repaint.
    }
   
    public void removePanelBorder(byte removeBorderState) {
View Full Code Here

Examples of gov.nasa.arc.mct.gui.MCTViewManifestationInfo.addInfoProperty()

    }
   
    public void removePanelBorder(byte removeBorderState) {
        this.panelBorder.removeBorderState(removeBorderState);
        MCTViewManifestationInfo manifestInfo = CanvasManifestation.getManifestationInfo(this.wrappedManifestation);
        manifestInfo.addInfoProperty(ControlAreaFormattingConstants.PANEL_BORDER_PROPERTY, String.valueOf(this.panelBorder.getBorders()));
        setBorder(null);
        setBorder(panelBorder); // We need to reset the border so that the bord
    }
   
    public void setBorderStyle(int borderStyle) {
View Full Code Here

Examples of gov.nasa.arc.mct.gui.MCTViewManifestationInfo.addInfoProperty()

            int nextPanelId = panelId++;
            panel.setId(nextPanelId);
            View manifestation = panel.getWrappedManifestation();        
            MCTViewManifestationInfo viewManifestationInfo = CanvasManifestation.getManifestationInfo(manifestation);
            getViewProperties().addProperty(CANVAS_CONTENT_PROPERTY, viewManifestationInfo);           
            viewManifestationInfo.addInfoProperty(ControlAreaFormattingConstants.PANEL_ORDER, Integer.toString(nextPanelId));
            canvasPanel.add(panel, new Rectangle(viewManifestationInfo.getStartPoint(), viewManifestationInfo.getDimension()));
            renderedPanels.put(nextPanelId, panel);
        }

        canvasPanel.revalidate();
View Full Code Here

Examples of gov.nasa.arc.mct.gui.MCTViewManifestationInfo.addInfoProperty()

                if (v.getInfo().equals(newViewInfo)) {
                    ExtendedProperties ep = v.getViewProperties().clone();
                    ep.addProperty(CanvasViewStrategy.OWNED_TYPE_PROPERTY_NAME, v.getInfo().getType());
                    viewManifestationInfo.getOwnedProperties().add(ep);
                }
                viewManifestationInfo.addInfoProperty(ControlAreaFormattingConstants.PANEL_ORDER, String.valueOf(nextPanelId));
                // use the viewComp here instead of the master component to retrieve the actual properties for the view
                View addManifestation = CanvasViewStrategy.CANVAS_OWNED.createViewFromManifestInfo(newViewInfo, comp, canvasManifestation.getManifestedComponent(), viewManifestationInfo);
               
                addManifestation.putClientProperty(CanvasManifestation.MANIFEST_INFO, viewManifestationInfo);
                Panel panel = containerManifestation.createPanel(addManifestation, nextPanelId, containerManifestation);
View Full Code Here

Examples of gov.nasa.arc.mct.gui.MCTViewManifestationInfoImpl.addInfoProperty()

                if (v.getInfo().equals(newViewInfo)) {
                    ExtendedProperties ep = v.getViewProperties().clone();
                    ep.addProperty(CanvasViewStrategy.OWNED_TYPE_PROPERTY_NAME, v.getInfo().getType());
                    viewManifestationInfo.getOwnedProperties().add(ep);
                }
                viewManifestationInfo.addInfoProperty(ControlAreaFormattingConstants.PANEL_ORDER, String.valueOf(nextPanelId));
                // use the viewComp here instead of the master component to retrieve the actual properties for the view
                View addManifestation = CanvasViewStrategy.CANVAS_OWNED.createViewFromManifestInfo(newViewInfo, comp, canvasManifestation.getManifestedComponent(), viewManifestationInfo);
               
                addManifestation.putClientProperty(CanvasManifestation.MANIFEST_INFO, viewManifestationInfo);
                Panel panel = containerManifestation.createPanel(addManifestation, nextPanelId, containerManifestation);
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.