Package research

Examples of research.Figure.invalidate()


                //update the figure's display
                Iterator iterator = set.iterator();
                while (iterator.hasNext()) {
                    Figure fig = (Figure) iterator.next();
                    fig.setAttribute(FeatureProperties.VARIABILITY, target.getVariability().getName());
                    fig.invalidate();
                }
            } else if (propertyName.equals(FeatureProperties.BINDINGTIME)){
               //find the figure
                Set set = idToFigureMap.get(target.getID());
View Full Code Here


                //update the figure's display
                Iterator iterator = set.iterator();
                while (iterator.hasNext()) {
                    Figure fig = (Figure) iterator.next();
                    fig.setAttribute(FeatureProperties.BINDINGTIME, target.getBindingTime().getName());
                    fig.invalidate();
                }
            }

            DrawingView view = editorArea.getCurrentView();
            if (view != null)
View Full Code Here

                    //update the figure's display
                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute("text", target.getType() + ":" + target.getName());
                        fig.invalidate();
                    }
                }
            } else if (src instanceof ResourceComponent) {
                ResourceComponent rc = (ResourceComponent) src;
                String propertyName = evt.getPropertyName();
View Full Code Here

                    //update the figure's display
                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute("text", rc.getName());
                        fig.invalidate();
                    }
                }
            }

            DrawingView view = editorArea.getCurrentView();
View Full Code Here

                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute(GroupConstraintFigure.GroupType, value);
                        fig.invalidate();
                    }
                }
            } else if (src instanceof VPConstraint) {
                VPConstraint target = (VPConstraint) src;
                String propertyName = evt.getPropertyName();
View Full Code Here

                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute(VPConstraintFigure.VPType, value);
                        fig.invalidate();
                    }
                }
            } else if (src instanceof CompositeConstraint) {

                CompositeConstraint target = (CompositeConstraint) src;
View Full Code Here

                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute(PLFigure.PLType, value);
                        fig.invalidate();
                    }
                } else if (propertyName.equals(CompositeConstraintProperties.SOURCE_TYPE)) {
                    //find the figure
                    Set set = idToFigureMap.get(target.getID());
                    if (set == null) return;
View Full Code Here

                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute(PLFigure.SourceType, value);
                        fig.invalidate();
                    }
                } else if (propertyName.equals(CompositeConstraintProperties.SINK_TYPE)) {
                    //find the figure
                    Set set = idToFigureMap.get(target.getID());
                    if (set == null) return;
View Full Code Here

                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute(PLFigure.SinkType, value);
                        fig.invalidate();
                    }
                }
            }

            DrawingView view = editorArea.getCurrentView();
View Full Code Here

                    Iterator iterator = set.iterator();
                    while (iterator.hasNext()) {
                        Figure fig = (Figure) iterator.next();
                        fig.setAttribute(GroupConstraintFigure.GroupType, value);
                        fig.invalidate();
                    }
                }
            } else if (src instanceof VPConstraint) {
                VPConstraint target = (VPConstraint) src;
                String propertyName = evt.getPropertyName();
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.