Package org.springframework.ide.eclipse.config.graph.parts

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


    transferSourceListener = new TemplateTransferDragSourceListener(getPaletteViewer());
    getPaletteViewer().addDragSourceListener(transferSourceListener);
  }

  public void modelUpdated() {
    ActivityDiagramPart part = (ActivityDiagramPart) getGraphicalViewer().getContents();
    if (part != null && part.isActive()) {
      part.refreshAll();
    }
  }
View Full Code Here


  }

  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

  }

  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

  }

  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

Related Classes of org.springframework.ide.eclipse.config.graph.parts.ActivityDiagramPart

Copyright © 2018 www.massapicom. 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.