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

Examples of org.springframework.ide.eclipse.config.graph.figures.BorderedContainerFigure


    EditPart part = getViewer().getContents();
    if (part instanceof ActivityDiagramPart) {
      ActivityDiagramPart diagramPart = (ActivityDiagramPart) part;
      direction = diagramPart.getDirection();
    }
    BorderedContainerFigure figure = new BorderedContainerFigure(createHeaderFigure(direction), direction);
    figure.addActionListener(this);
    return figure;
  }
View Full Code Here


  protected abstract Label createHeaderFigure(int direction);

  @Override
  protected List<Activity> getModelChildren() {
    BorderedContainerFigure figure = (BorderedContainerFigure) getFigure();
    if (figure.isExpanded()) {
      return super.getModelChildren();
    }
    else {
      return new ArrayList<Activity>();
    }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.config.graph.figures.BorderedContainerFigure

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.