Examples of adjustSize()


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

      return cmd;
    } else {
      String id = (String) vertex.getValue(ObjectType.PARAMETER_ID);
      VertexFigure figure = (VertexFigure) getHostFigure();
      figure.getLabelId().setText(id);
      figure.adjustSize();
      return null;
    }
  }

  @Override
View Full Code Here

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

  @Override
  protected void showCurrentEditValue(DirectEditRequest request) {
    String value = (String) request.getCellEditor().getValue();
    VertexFigure figure = (VertexFigure) getHostFigure();
    figure.getLabelId().setText(value);
    figure.adjustSize();
  }

}
View Full Code Here

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

      String port = (String) edge
          .getValue(ObjectType.PARAMETER_SOURCE_PORT);
      figure.addOutputPort(port);
    }

    figure.adjustSize();
    vertex.setValue(Vertex.PROPERTY_SIZE, figure.getBounds().getCopy());
  }
}
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.