Examples of DSemanticDiagram


Examples of org.eclipse.sirius.diagram.DSemanticDiagram

   *            the given layer represented by his ID.
   * @return true if the given layer is activated, false otherwise.
   */
  public boolean isLayerActivated(EObject object, String layerID) {
    if (object instanceof DSemanticDiagram) {
      final DSemanticDiagram d = (DSemanticDiagram)object;
      for (Layer layer : d.getActivatedLayers()) {
        if (layerID.equals(layer.getName())) {
          return true;
        }
      }
    }
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.