Package org.eclipse.gmf.runtime.notation

Examples of org.eclipse.gmf.runtime.notation.View


  public static List getCategoryAttributeCompartment_7001SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Category modelElement = (OntoUML.Category) containerView
        .getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here


  public static List getCollectiveAttributeCompartment_7002SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Collective modelElement = (OntoUML.Collective) containerView
        .getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here

  public static List getKindAttributeCompartment_7003SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Kind modelElement = (OntoUML.Kind) containerView.getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
          .getNodeVisualID(view, childElement);
View Full Code Here

  public static List getMixinAttributeCompartment_7004SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Mixin modelElement = (OntoUML.Mixin) containerView.getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
          .getNodeVisualID(view, childElement);
View Full Code Here

  public static List getModeAttributeCompartment_7005SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Mode modelElement = (OntoUML.Mode) containerView.getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
          .getNodeVisualID(view, childElement);
View Full Code Here

  public static List getPhaseAttributeCompartment_7006SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Phase modelElement = (OntoUML.Phase) containerView.getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
          .getNodeVisualID(view, childElement);
View Full Code Here

  public static List getQuantityAttributeCompartment_7007SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Quantity modelElement = (OntoUML.Quantity) containerView
        .getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here

  public static List getRelatorAttributeCompartment_7008SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Relator modelElement = (OntoUML.Relator) containerView
        .getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here

  public static List getRoleAttributeCompartment_7009SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.Role modelElement = (OntoUML.Role) containerView.getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
          .getNodeVisualID(view, childElement);
View Full Code Here

  public static List getRoleMixinAttributeCompartment_7010SemanticChildren(
      View view) {
    if (false == view.eContainer() instanceof View) {
      return Collections.EMPTY_LIST;
    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.EMPTY_LIST;
    }
    OntoUML.RoleMixin modelElement = (OntoUML.RoleMixin) containerView
        .getElement();
    List result = new LinkedList();
    for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
      OntoUML.Property childElement = (OntoUML.Property) it.next();
      int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here

TOP

Related Classes of org.eclipse.gmf.runtime.notation.View

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.