Package org.eclipse.sirius.diagram.description

Examples of org.eclipse.sirius.diagram.description.DiagramDescription


    } else if (containerView instanceof DDiagramElement) {
      representation = ((DDiagramElement)containerView).getParentDiagram();
    }
    List<EObject> results = null;
    if (representation instanceof DSemanticDiagramSpec) {
      DiagramDescription description = ((DSemanticDiagramSpec)representation).getDescription();

      if ("Block Definition Diagram".equals(description.getName())) {
        results = getValidsForBlockDefinitionDiagram(element);
      } else if ("Internal Block Diagram".equals(description.getName())) {
        results = getValidsForInternalBlockDiagram((Class)element);
      } else if ("Parametric Diagram".equals(description.getName())) {
        results = getValidsForParametricBlockDiagram((Class)element);
      } else if ("Requirement Diagram".equals(description.getName())) {
        results = getValidsForRequirementDiagram(element, (DDiagram)representation);
      }
    }

    return results;
View Full Code Here

TOP

Related Classes of org.eclipse.sirius.diagram.description.DiagramDescription

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.