Package org.eclipse.sirius.diagram

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

Related Classes of org.eclipse.sirius.diagram.DSemanticDiagram

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.