Examples of BottomAnchor


Examples of org.springframework.ide.eclipse.config.graph.parts.BottomAnchor

  private ConnectionAnchor getMappingConnectionAnchor() {
    EditPart part = getViewer().getContents();
    if (part instanceof ActivityDiagramPart) {
      ActivityDiagramPart diagram = (ActivityDiagramPart) part;
      if (diagram.getDirection() == PositionConstants.EAST) {
        return new BottomAnchor(getFigure(), getAnchorOffset());
      }
    }
    return new RightAnchor(getFigure(), getAnchorOffset());
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.graph.parts.BottomAnchor

  private ConnectionAnchor getWireTapConnectionAnchor() {
    EditPart part = getViewer().getContents();
    if (part instanceof ActivityDiagramPart) {
      ActivityDiagramPart diagram = (ActivityDiagramPart) part;
      if (diagram.getDirection() == PositionConstants.EAST) {
        return new BottomAnchor(getFigure(), getAnchorOffset());
      }
    }
    return new RightAnchor(getFigure(), getAnchorOffset());
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.graph.parts.BottomAnchor

  private ConnectionAnchor getRecipientConnectionAnchor() {
    EditPart part = getViewer().getContents();
    if (part instanceof ActivityDiagramPart) {
      ActivityDiagramPart diagram = (ActivityDiagramPart) part;
      if (diagram.getDirection() == PositionConstants.EAST) {
        return new BottomAnchor(getFigure(), getAnchorOffset());
      }
    }
    return new RightAnchor(getFigure(), getAnchorOffset());
  }
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.