Package OntoUML

Examples of OntoUML.componentOf


     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsEssential(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      return c.isIsEssential();
    }
View Full Code Here


     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsInseparable(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      return c.isIsInseparable();
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutablePart(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      if (!c.isIsEssential() && c.isIsImmutablePart())
        return true;
      else
        return false;
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutableWhole(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      if (!c.isIsInseparable() && c.isIsImmutableWhole())
        return true;
      else
        return false;
    }
View Full Code Here

      else
        text = text.concat("}");
      fFigureComponentOfMetaAttributesLabelFigure.setText(text);
      this.add(fFigureComponentOfMetaAttributesLabelFigure);

      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      if (!c.getSource().isEmpty())
        ((Property) c.getSource().get(0))
            .setContainer(c.getContainer());
      if (!c.getTarget().isEmpty())
        ((Property) c.getTarget().get(0))
            .setContainer(c.getContainer());
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsEssential(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      if (c.isIsEssential() && !c.isIsImmutablePart())
        c.setIsImmutablePart(true);
      return c.isIsEssential();
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsInseparable(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      if (c.isIsInseparable() && !c.isIsImmutableWhole())
        c.setIsImmutableWhole(true);
      return c.isIsInseparable();
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutablePart(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      if (c.isIsImmutablePart() && !testReadOnly(c.getTarget()))
        setReadOnlyTrue(c.getTarget());
      if (!c.isIsEssential() && c.isIsImmutablePart())
        return true;
      else
        return false;
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutableWhole(
        ComponentOfEditPart componentofeditpart) {
      componentOf c = (componentOf) ((View) componentofeditpart
          .getModel()).getElement();
      if (c.isIsImmutableWhole() && !testReadOnly(c.getSource()))
        setReadOnlyTrue(c.getSource());
      if (!c.isIsInseparable() && c.isIsImmutableWhole())
        return true;
      else
        return false;
    }
View Full Code Here

        if (result == null) result = caseElement(collective);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case OntoUMLPackage.COMPONENT_OF: {
        componentOf componentOf = (componentOf)theEObject;
        T result = casecomponentOf(componentOf);
        if (result == null) result = caseMeronymic(componentOf);
        if (result == null) result = caseDirectedBinaryRelationship(componentOf);
        if (result == null) result = caseDirectedRelationship(componentOf);
        if (result == null) result = caseRelationalClassifier(componentOf);
View Full Code Here

TOP

Related Classes of OntoUML.componentOf

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.