Package OntoUML

Examples of OntoUML.subCollectionOf


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

      subCollectionOf s = (subCollectionOf) ((View) subcollectionofeditpart
          .getModel()).getElement();
      if (!s.getSource().isEmpty())
        ((Property) s.getSource().get(0))
            .setContainer(s.getContainer());
      if (!s.getTarget().isEmpty())
        ((Property) s.getTarget().get(0))
            .setContainer(s.getContainer());
    }
View Full Code Here


  * Associate the correct decoration, depending on the attribute isShareable.
  * <!-- end-user-doc -->
  * @generated NOT
  */ 
  protected boolean updateFace() {
    subCollectionOf s = (subCollectionOf)((View)subcollectionofeditpart.getModel()).getElement();
    if (s.isIsShareable() == false)
      return true;
    else
      return false;
  }
View Full Code Here

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

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

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

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

TOP

Related Classes of OntoUML.subCollectionOf

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.