diff options
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java')
-rw-r--r-- | plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java | 384 |
1 files changed, 185 insertions, 199 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java index 878ee322df3..77fdbb7bb74 100644 --- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java +++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java @@ -1,199 +1,185 @@ -/**
- * Copyright (c) 2015 CEA LIST and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.papyrusgmfgenextension;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Extended Gen View</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This element is always linked to a genView (topLevel, or child)
- * Used set if an editPart is abstract.
- * SuperGenViews is a list of all superEditPart.
- *
- * Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView <em>Gen View</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews <em>Super Gen Views</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView()
- * @model
- * @generated
- */
-public interface ExtendedGenView extends CommentedElement {
- /**
- * Returns the value of the '<em><b>Gen View</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Gen View</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Gen View</em>' reference list.
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_GenView()
- * @model required="true" ordered="false"
- * @generated
- */
- EList<GenCommonBase> getGenView();
-
- /**
- * Returns the value of the '<em><b>Is Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Abstract</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Is Abstract</em>' attribute.
- * @see #setIsAbstract(boolean)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_IsAbstract()
- * @model unique="false" required="true" ordered="false"
- * @generated
- */
- boolean isIsAbstract();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Abstract</em>' attribute.
- * @see #isIsAbstract()
- * @generated
- */
- void setIsAbstract(boolean value);
-
- /**
- * Returns the value of the '<em><b>Super Gen Views</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Super Gen Views</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Super Gen Views</em>' reference list.
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperGenViews()
- * @model ordered="false"
- * @generated
- */
- EList<GenCommonBase> getSuperGenViews();
-
- /**
- * Returns the value of the '<em><b>Prop Refresh Hook</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Prop Refresh Hook</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Prop Refresh Hook</em>' containment reference.
- * @see #setPropRefreshHook(PropertyRefreshHook)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_PropRefreshHook()
- * @model containment="true" ordered="false"
- * @generated
- */
- PropertyRefreshHook getPropRefreshHook();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Prop Refresh Hook</em>' containment reference.
- * @see #getPropRefreshHook()
- * @generated
- */
- void setPropRefreshHook(PropertyRefreshHook value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Super Owned Edit Part</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Super Owned Edit Part</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Super Owned Edit Part</em>' attribute.
- * @see #setSuperOwnedEditPart(String)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperOwnedEditPart()
- * @model
- * @generated
- */
- String getSuperOwnedEditPart();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Super Owned Edit Part</em>' attribute.
- * @see #getSuperOwnedEditPart()
- * @generated
- */
- void setSuperOwnedEditPart(String value);
-
-} // ExtendedGenView
+/** + * Copyright (c) 2015 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.papyrusgmfgenextension; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.gmf.codegen.gmfgen.GenCommonBase; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Extended Gen View</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * This element is always linked to a genView (topLevel, or child) + * Used set if an editPart is abstract. + * SuperGenViews is a list of all superEditPart. + * + * Thanks to this, it is possible to factorize code and to decrease the number of generated classes. + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView <em>Gen View</em>}</li> + * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}</li> + * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews <em>Super Gen Views</em>}</li> + * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}</li> + * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView() + * @model + * @generated + */ +public interface ExtendedGenView extends CommentedElement { + /** + * Returns the value of the '<em><b>Gen View</b></em>' reference list. + * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Gen View</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Gen View</em>' reference list. + * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_GenView() + * @model required="true" ordered="false" + * @generated + */ + EList<GenCommonBase> getGenView(); + + /** + * Returns the value of the '<em><b>Is Abstract</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Is Abstract</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Is Abstract</em>' attribute. + * @see #setIsAbstract(boolean) + * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_IsAbstract() + * @model unique="false" required="true" ordered="false" + * @generated + */ + boolean isIsAbstract(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Is Abstract</em>' attribute. + * @see #isIsAbstract() + * @generated + */ + void setIsAbstract(boolean value); + + /** + * Returns the value of the '<em><b>Super Gen Views</b></em>' reference list. + * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Super Gen Views</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Super Gen Views</em>' reference list. + * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperGenViews() + * @model ordered="false" + * @generated + */ + EList<GenCommonBase> getSuperGenViews(); + + /** + * Returns the value of the '<em><b>Prop Refresh Hook</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Prop Refresh Hook</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Prop Refresh Hook</em>' containment reference. + * @see #setPropRefreshHook(PropertyRefreshHook) + * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_PropRefreshHook() + * @model containment="true" ordered="false" + * @generated + */ + PropertyRefreshHook getPropRefreshHook(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Prop Refresh Hook</em>' containment reference. + * @see #getPropRefreshHook() + * @generated + */ + void setPropRefreshHook(PropertyRefreshHook value); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Super Owned Edit Part</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Super Owned Edit Part</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Super Owned Edit Part</em>' attribute. + * @see #setSuperOwnedEditPart(String) + * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperOwnedEditPart() + * @model + * @generated + */ + String getSuperOwnedEditPart(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Super Owned Edit Part</em>' attribute. + * @see #getSuperOwnedEditPart() + * @generated + */ + void setSuperOwnedEditPart(String value); + +} // ExtendedGenView |