/** * * * * $Id$ */ package org.eclipse.papyrus.papyrusgmfgenextension; import org.eclipse.emf.common.util.EList; import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel; import org.eclipse.gmf.codegen.gmfgen.GenLinkLabel; /** * * A representation of the model object 'Label Visibility Preference'. * * * * This element is always linked with link Label and External Node Label. * role : the role of the Label (Stereotype, Source Multiplicity, Target Multiplicity, Name, ...) * iconPath : an icon illustrating the role of the Label * visibleByDefault : if false, the label is not visible when the element is created * * These informations are used by the action Show/Hide Label. * * *

* The following features are supported: *

* * * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference() * @model * @generated */ public interface LabelVisibilityPreference extends CommentedElement { /** * Returns the value of the 'Role' attribute. * *

* If the meaning of the 'Role' attribute isn't clear, there really should be more of a description here... *

* * * @return the value of the 'Role' attribute. * @see #setRole(String) * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_Role() * @model required="true" * @generated */ String getRole(); /** * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole Role}' attribute. * * * * @param value * the new value of the 'Role' attribute. * @see #getRole() * @generated */ void setRole(String value); /** * Returns the value of the 'Icon Path Role' attribute. * *

* If the meaning of the 'Icon Path Role' attribute isn't clear, there really should be more of a description here... *

* * * @return the value of the 'Icon Path Role' attribute. * @see #setIconPathRole(String) * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_IconPathRole() * @model * @generated */ String getIconPathRole(); /** * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole Icon Path Role}' attribute. * * * * @param value * the new value of the 'Icon Path Role' attribute. * @see #getIconPathRole() * @generated */ void setIconPathRole(String value); /** * Returns the value of the 'Link Labels' reference list. * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenLinkLabel}. * *

* If the meaning of the 'Link Labels' reference list isn't clear, there really should be more of a description here... *

* * * @return the value of the 'Link Labels' reference list. * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_LinkLabels() * @model * @generated */ EList getLinkLabels(); /** * Returns the value of the 'External Node Labels' reference list. * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel}. * *

* If the meaning of the 'External Node Labels' reference list isn't clear, there really should be more of a description here... *

* * * @return the value of the 'External Node Labels' reference list. * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_ExternalNodeLabels() * @model * @generated */ EList getExternalNodeLabels(); /** * Returns the value of the 'Visible By Default' attribute. * The default value is "true". * *

* If the meaning of the 'Visible By Default' attribute isn't clear, there really should be more of a description here... *

* * * @return the value of the 'Visible By Default' attribute. * @see #setVisibleByDefault(boolean) * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_VisibleByDefault() * @model default="true" * @generated */ boolean isVisibleByDefault(); /** * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault Visible By Default}' attribute. * * * * @param value * the new value of the 'Visible By Default' attribute. * @see #isVisibleByDefault() * @generated */ void setVisibleByDefault(boolean value); } // LabelVisibilityPreference