Package org.eclipse.graphiti.mm.pictograms

Examples of org.eclipse.graphiti.mm.pictograms.Shape


  protected Shape drawForBoundary(DecorationAlgorithm algorithm, ContainerShape shape) {
    return draw(algorithm, shape);
  }

  private Shape draw(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape cancelShape = Graphiti.getPeService().createShape(shape, false);
    Polygon link = GraphicsUtil.createEventCancel(cancelShape);
    link.setFilled(false);
    link.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return cancelShape;
  }
View Full Code Here


    link.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return cancelShape;
  }

  private Shape drawFilled(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape cancelShape = Graphiti.getPeService().createShape(shape, false);
    Polygon link = GraphicsUtil.createEventCancel(cancelShape);
    link.setFilled(true);
    link.setBackground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    link.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return cancelShape;
View Full Code Here

  protected Shape drawForBoundary(DecorationAlgorithm algorithm, ContainerShape shape) {
    return draw(algorithm, shape);
  }

  private Shape draw(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape signalShape = Graphiti.getPeService().createShape(shape, false);
    Polygon signal = GraphicsUtil.createEventSignal(signalShape);
    signal.setFilled(false);
    signal.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return signalShape;
  }
View Full Code Here

    signal.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return signalShape;
  }

  private Shape drawFilled(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape signalShape = Graphiti.getPeService().createShape(shape, false);
    Polygon signal = GraphicsUtil.createEventSignal(signalShape);
    signal.setFilled(true);
    signal.setBackground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    signal.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return signalShape;
View Full Code Here

  protected Shape drawForBoundary(DecorationAlgorithm algorithm, ContainerShape shape) {
    return draw(algorithm, shape);
  }

  private Shape draw(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape errorShape = Graphiti.getPeService().createShape(shape, false);
    Polygon error = GraphicsUtil.createEventError(errorShape);
    error.setFilled(false);
    error.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return errorShape;
  }
View Full Code Here

    error.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return errorShape;
  }

  private Shape drawFilled(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape errorShape = Graphiti.getPeService().createShape(shape, false);
    Polygon error = GraphicsUtil.createEventError(errorShape);
    error.setFilled(true);
    error.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    error.setBackground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return errorShape;
View Full Code Here

  protected Shape drawForBoundary(DecorationAlgorithm algorithm, ContainerShape shape) {
    return draw(algorithm, shape);
  }

  private Shape draw(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape compensateShape = Graphiti.getPeService().createShape(shape, false);
    Compensation compensation = GraphicsUtil.createEventCompensation(compensateShape);
    compensation.arrow1.setFilled(false);
    compensation.arrow1.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    compensation.arrow2.setFilled(false);
    compensation.arrow2.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
View Full Code Here

    compensation.arrow2.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return compensateShape;
  }

  private Shape drawFilled(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape compensateShape = Graphiti.getPeService().createShape(shape, false);
    Compensation compensation = GraphicsUtil.createEventCompensation(compensateShape);
    compensation.arrow1.setFilled(true);
    compensation.arrow1.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    compensation.arrow1.setBackground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    compensation.arrow2.setFilled(true);
View Full Code Here

    // TODO Auto-generated method stub
    return null;
  }

  private Shape draw(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape linkShape = Graphiti.getPeService().createShape(shape, false);
    Polygon link = GraphicsUtil.createEventLink(linkShape);
    link.setFilled(false);
    link.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return linkShape;
  }
View Full Code Here

    link.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return linkShape;
  }

  private Shape drawFilled(DecorationAlgorithm algorithm, ContainerShape shape) {
    Shape linkShape = Graphiti.getPeService().createShape(shape, false);
    Polygon link = GraphicsUtil.createEventLink(linkShape);
    link.setFilled(true);
    link.setBackground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    link.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
    return linkShape;
View Full Code Here

TOP

Related Classes of org.eclipse.graphiti.mm.pictograms.Shape

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.