Examples of resetPorts()


Examples of net.sf.graphiti.ui.figure.VertexFigure.resetPorts()

  private void updatePorts(IFigure fig) {
    Vertex vertex = (Vertex) getModel();
    VertexFigure figure = (VertexFigure) fig;
    Graph parent = vertex.getParent();

    figure.resetPorts();

    for (Edge edge : parent.incomingEdgesOf(vertex)) {
      String port = (String) edge
          .getValue(ObjectType.PARAMETER_TARGET_PORT);
      figure.addInputPort(port);
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.