Package org.eclipse.sirius.ui.business.api.dialect

Examples of org.eclipse.sirius.ui.business.api.dialect.DialectEditor


  private boolean isValueBindingLayerActive(EObject cur) {
    IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
        .getActiveEditor();

    if (editor instanceof DialectEditor) {
      DialectEditor dialectEditor = (DialectEditor)editor;
      DRepresentation representation = dialectEditor.getRepresentation();
      if (representation instanceof DDiagram) {
        DDiagram diagram = (DDiagram)representation;
        List<Layer> layers = diagram.getActivatedLayers();
        for (Layer layer : layers) {
          if ("PAR ValueBinding Layer".equals(layer.getName()))
View Full Code Here

TOP

Related Classes of org.eclipse.sirius.ui.business.api.dialect.DialectEditor

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.