com.omondo.uml.std.external.profile
Interface ProfileFragment

All Known Implementing Classes:
AbstractFragment

public interface ProfileFragment

Implementors should use AbstractFragment as base class.

See Also:
AbstractFragment

Method Summary
 org.eclipse.jface.action.IContributionItem[] getActions()
          Internal use
 int getDiagramType()
          Internal use
 org.eclipse.uml2.Element getElement()
          Returns the associated UML2 element
java class -> org.eclipse.uml2.Class
java interface -> org.eclipse.uml2.Interface
java method -> org.eclipse.uml2.Operation
java attribute -> org.eclipse.uml2.Property
association -> org.eclipse.uml2.Association
 int getElementType()
          Internal use
 ExtensionTabItem[] getExtensionTabItems()
          Internal use
 java.lang.Object getModel()
          Internal use
 org.eclipse.jface.action.IContributionItem[] getNewActions()
          Internal use
 OmondoProfile getProfile()
          Return the Omondo Profile object which contains this fragment.
 org.eclipse.uml2.Stereotype getStereotype()
          Returns the UML2 stereotype object.
 java.lang.String getStereotypeFullName()
          Get the stereotype qualified name associated to this fragment.
 java.lang.String getStereotypeShortName()
          Get the stereotype name associated to this fragment.
 void init(org.eclipse.core.resources.IProject project)
          Internal use
 void setDiagramType(int diagramType)
          Internal use
 void setElementType(int elementType)
          Internal use
 void setModel(java.lang.Object model)
          Internal use
 void setProfile(OmondoProfile profile)
          Internal use
 void setStereotype(java.lang.String stereotype)
          Internal use
 

Method Detail

getStereotypeFullName

public java.lang.String getStereotypeFullName()
Get the stereotype qualified name associated to this fragment.
The result looks like PROFILE_NAME::STEREOTYPE_NAME

Returns:
the stereotype associated to this fragment (not null, not empty)

getStereotypeShortName

public java.lang.String getStereotypeShortName()
Get the stereotype name associated to this fragment.
The result looks like STEREOTYPE_NAME

Returns:
the stereotype associated to this fragment (not null, not empty)

getStereotype

public org.eclipse.uml2.Stereotype getStereotype()
Returns the UML2 stereotype object.

Returns:
the UML2 stereotype object (not null)
Throws:
java.lang.IllegalStateException - if something wrong occures

getElement

public org.eclipse.uml2.Element getElement()
Returns the associated UML2 element
java class -> org.eclipse.uml2.Class
java interface -> org.eclipse.uml2.Interface
java method -> org.eclipse.uml2.Operation
java attribute -> org.eclipse.uml2.Property
association -> org.eclipse.uml2.Association

Returns:
the associated UML2 element (not null)
Throws:
java.lang.IllegalStateException - if something wrong occures

getProfile

public OmondoProfile getProfile()
Return the Omondo Profile object which contains this fragment.

Returns:
the container profile (not null)

setDiagramType

public void setDiagramType(int diagramType)
Internal use


getDiagramType

public int getDiagramType()
Internal use


setElementType

public void setElementType(int elementType)
Internal use


getElementType

public int getElementType()
Internal use


setStereotype

public void setStereotype(java.lang.String stereotype)
Internal use


getActions

public org.eclipse.jface.action.IContributionItem[] getActions()
Internal use


getNewActions

public org.eclipse.jface.action.IContributionItem[] getNewActions()
Internal use


getExtensionTabItems

public ExtensionTabItem[] getExtensionTabItems()
Internal use


setProfile

public void setProfile(OmondoProfile profile)
Internal use


init

public void init(org.eclipse.core.resources.IProject project)
Internal use


setModel

public void setModel(java.lang.Object model)
Internal use


getModel

public java.lang.Object getModel()
Internal use