Examples of connectStart()


Examples of de.FeatureModellingTool.GraphicalEditor.PLConnection.connectStart()

     
      for (int i=0 ; i<plcOld.pointCount() ; i++) {
        plcNew.addPoint(plcOld.pointAt(i).x , plcOld.pointAt(i).y);
      }
      plcNew.startPoint(gcf.getConnectors()[0].getDisplayBox().x , gcf.getConnectors()[0].getDisplayBox().y);
      plcNew.connectStart(gcf.getConnectors()[0]);
      Figure featureFigure = mFigure.get(f.getID());
      plcNew.endPoint(featureFigure.getConnectors()[3].getDisplayBox().x , featureFigure.getConnectors()[3].getDisplayBox().y);
      plcNew.connectEnd(featureFigure.getConnectors()[3]);
     
      dv.add(plcNew);
View Full Code Here

Examples of de.FeatureModellingTool.GraphicalEditor.PLConnection.connectStart()

      for (int i=0 ; i<plcOld.pointCount() ; i++) {
        plcNew.addPoint(plcOld.pointAt(i).x , plcOld.pointAt(i).y);
      }
      plcNew.startPoint(plfNew.getConnectors()[0].getDisplayBox().x , plfNew.getConnectors()[0].getDisplayBox().y);
      plcNew.connectStart(plfNew.getConnectors()[0]);
      plcNew.endPoint(figureSource.getConnectors()[4].getDisplayBox().x , figureSource.getConnectors()[4].getDisplayBox().y);
      plcNew.connectEnd(figureSource.getConnectors()[4]);
      dv.add(plcNew);
    }
   
View Full Code Here

Examples of de.FeatureModellingTool.GraphicalEditor.PLConnection.connectStart()

      for (int i=0 ; i<plcOld.pointCount() ; i++) {
        plcNew.addPoint(plcOld.pointAt(i).x , plcOld.pointAt(i).y);
      }
      plcNew.startPoint(plfNew.getConnectors()[1].getDisplayBox().x , plfNew.getConnectors()[1].getDisplayBox().y);
      plcNew.connectStart(plfNew.getConnectors()[1]);
      plcNew.endPoint(figureSink.getConnectors()[3].getDisplayBox().x , figureSink.getConnectors()[3].getDisplayBox().y);
      plcNew.connectEnd(figureSink.getConnectors()[3]);
      dv.add(plcNew);
    }
   
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.FlowConnection.connectStart()

        if (connection.canConnectFigures(sourceSocketFigure, targetSocketFigure, 0) && sourceSocketFigure.getNodeSocket().getNode() != targetSocketFigure.getNodeSocket().getNode())
        {
          // We have two connection points.
          modeler.startUndo("Auto-connect sockets");

          connection.connectStart(sourceSocketFigure.connectorAt(0, 0));
          connection.connectEnd(targetSocketFigure.connectorAt(0, 0));
          modeler.getDrawing().add(connection);
          connection.layoutAndAdjustConnection();

          modeler.endUndo();
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.FlowConnection.connectStart()

    Connector end = targetFigure.connectorAt(0, 0);

    link.unlink();

    FlowConnection flow = new FlowConnection(link, this);
    flow.connectStart(start);
    flow.connectEnd(end);

    return flow;
  }
View Full Code Here

Examples of research.ConnectionFigure.connectStart()

      if (cf!=null) {
        cf.setAttribute("id" , newRelation.getID());
        cf.startPoint(figureMap.get(newRelation.getStartFeature().getID()).center().x , figureMap.get(newRelation.getStartFeature().getID()).center().y);
        cf.endPoint(figureMap.get(newRelation.getEndFeature().getID()).center().x , figureMap.get(newRelation.getEndFeature().getID()).center().y);
        if (de.FeatureModellingTool.Pattern.ConstantDefinition.isStructRelation(relation)) {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[2]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[1]);
        } else {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[0]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[0]);
        }
View Full Code Here

Examples of research.ConnectionFigure.connectStart()

        cf.endPoint(figureMap.get(newRelation.getEndFeature().getID()).center().x , figureMap.get(newRelation.getEndFeature().getID()).center().y);
        if (de.FeatureModellingTool.Pattern.ConstantDefinition.isStructRelation(relation)) {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[2]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[1]);
        } else {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[0]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[0]);
        }
        dvDist.add(cf);
        cf.updateConnection();
      }
View Full Code Here

Examples of research.ConnectionFigure.connectStart()

      if (cf!=null) {
        cf.setAttribute("id" , newRelation.getID());
        cf.startPoint(figureMap.get(newRelation.getStartFeature().getID()).center().x , figureMap.get(newRelation.getStartFeature().getID()).center().y);
        cf.endPoint(figureMap.get(newRelation.getEndFeature().getID()).center().x , figureMap.get(newRelation.getEndFeature().getID()).center().y);
        if (de.FeatureModellingTool.Pattern.ConstantDefinition.isStructRelation(relation)) {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[2]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[1]);
        } else {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[0]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[0]);
        }
View Full Code Here

Examples of research.ConnectionFigure.connectStart()

        cf.endPoint(figureMap.get(newRelation.getEndFeature().getID()).center().x , figureMap.get(newRelation.getEndFeature().getID()).center().y);
        if (de.FeatureModellingTool.Pattern.ConstantDefinition.isStructRelation(relation)) {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[2]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[1]);
        } else {
          cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[0]);
          cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[0]);
        }
        dvDist.add(cf);
        cf.updateConnection();
      }
View Full Code Here

Examples of research.ConnectionFigure.connectStart()

          if (cf!=null) {
            cf.setAttribute("id" , newRelation.getID());
            cf.startPoint(figureMap.get(newRelation.getStartFeature().getID()).center().x , figureMap.get(newRelation.getStartFeature().getID()).center().y);
            cf.endPoint(figureMap.get(newRelation.getEndFeature().getID()).center().x , figureMap.get(newRelation.getEndFeature().getID()).center().y);
            if (de.FeatureModellingTool.Pattern.ConstantDefinition.isStructRelation(relation)) {
              cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[2]);
              cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[1]);
            } else {
              cf.connectStart(figureMap.get(newRelation.getStartFeature().getID()).getConnectors()[0]);
              cf.connectEnd(figureMap.get(newRelation.getEndFeature().getID()).getConnectors()[0]);
            }
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.