Examples of EdgeFigure


Examples of net.sf.graphiti.ui.figure.EdgeFigure

   * Creates a new DependencyGef figure
   */
  @Override
  protected IFigure createFigure() {
    Edge edge = (Edge) getModel();
    return new EdgeFigure(edge);
  }
View Full Code Here

Examples of net.sf.graphiti.ui.figure.EdgeFigure

      refresh();
    }

    // any parameter
    // (including ports in case they are also displayed on the edge)
    EdgeFigure figure = (EdgeFigure) getFigure();
    figure.refresh(evt.getPropertyName(), evt.getNewValue());
  }
View Full Code Here

Examples of net.sf.graphiti.ui.figure.EdgeFigure

public class EdgeGraphicalNodeEditPolicy extends GraphicalNodeEditPolicy {

  @Override
  protected Connection createDummyConnection(Request req) {
    Object obj = ((CreateConnectionRequest) req).getNewObject();
    EdgeFigure conn = new EdgeFigure((Edge) obj);
    return conn;
  }
View Full Code Here

Examples of org.gvt.figure.EdgeFigure

   * @return figure
   */
  protected IFigure createFigure()
  {
    EdgeModel model = getEdgeModel();
    EdgeFigure eFigure = new EdgeFigure(model.getText(),
      model.getTextFont(),
      model.getTextColor(),
      model.getColor(),
      model.getStyle(),
      model.getArrow(),
      model.getWidth(),
      model.getHighlightColor(),
      model.isHighlight());

    eFigure.updateHighlight(
      (HighlightLayer) getLayer(HighlightLayer.HIGHLIGHT_LAYER),
      getEdgeModel().isHighlight());
    eFigure.setConnectionRouter(new BendpointConnectionRouter()
    {
      public void route(Connection conn)
      {
        if (!LayoutOptionsPack.getInstance().getGeneral().
          isAnimationDuringLayout()
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.