Package de.FeatureModellingTool.GraphicalEditor

Examples of de.FeatureModellingTool.GraphicalEditor.VPConstraintFigure


  }
 
  public static VPConstraintFigure dupVPConstraintFigure(VPConstraintFigure vpcfSrc
      , HashMap<String,String> mName , HashMap<String,Figure> mFigure
      , DrawingView dvDest) {
    VPConstraintFigure result = new VPConstraintFigure();
   
    result.setAttribute("id" , mName.get(vpcfSrc.getAttribute("id")));
    result.setAttribute("bounds" , vpcfSrc.getAttribute("bounds"));
    result.setAttribute("topLeg" , vpcfSrc.getAttribute("topLeg"));
    result.setAttribute("botLeg" , vpcfSrc.getAttribute("botLeg"));
    result.setAttribute("frameColor" , vpcfSrc.getAttribute("frameColor"));
    result.setAttribute("VPType" , vpcfSrc.getAttribute("VPType"));

    dvDest.add(result);
    result.moveBy(vpcfSrc.getDisplayBox().x , vpcfSrc.getDisplayBox().y);
   
    mName.put((String)vpcfSrc.getAttribute("id") , UIDupHelper.FIGURE_ID_PREFIX + vpcfSrc.getAttribute("id"));
    mFigure.put(UIDupHelper.FIGURE_ID_PREFIX + vpcfSrc.getAttribute("id") , result);
   
    return result;
View Full Code Here


                        }
                    }
            );

            for (int i = 0; i < cfArray.length; i++) {
                VPConstraintFigure currentFig = (VPConstraintFigure) cfArray[i].startFigure();

                if (cfArray[i].getStartConnector() != currentFig.getStartConnector())
                    continue;

                boolean isValid = true;

                for (int k = 0; k < list.size(); k++) {
View Full Code Here

TOP

Related Classes of de.FeatureModellingTool.GraphicalEditor.VPConstraintFigure

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.