Examples of DialectEditor


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
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.