|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Implementors should use AbstractProfile as base class.
AbstractProfile| Method Summary | |
void |
addFragment(ProfileFragment fragment)
Internal use |
boolean |
canBeActivated()
This method may be used to check requierements for this profile and is called when the user selects the checkbox on the Omondo profile page in the project properties. |
org.eclipse.jface.action.IContributionItem[] |
getActions(int diagramType)
Internal use |
org.eclipse.uml2.Element |
getElement()
Returns the associated UML2 element (Usually a package object). |
ProfileFragment[] |
getFragments(int diagramType,
int elementType)
Internal use |
ProfileFragment[] |
getFragments(java.lang.String stereotype,
int diagramType,
int elementType)
Internal use |
java.lang.String |
getId()
|
org.eclipse.swt.graphics.Image |
getImage()
|
java.lang.String |
getModelPath()
Returns the path of the resource which contains the associated profile. |
java.lang.String |
getName()
|
org.eclipse.jface.action.IContributionItem[] |
getNewActions(int diagramType)
Internal use |
org.eclipse.uml2.Profile |
getProfile()
Returns the associated UML2 profile. |
org.eclipse.core.resources.IProject |
getProject()
|
com.omondo.uml.ui.editors.editmodel.Properties |
getProperties()
Allow to acces and modify the profile's properties. |
ProfilePropertiesEditor |
getPropertyEditor()
Return the editor used in the project properties to edit the properties of the profile. |
void |
init(org.eclipse.core.resources.IProject project)
Internal use |
void |
setModel(java.lang.Object model)
Internal use |
| Method Detail |
public java.lang.String getId()
public java.lang.String getName()
public org.eclipse.swt.graphics.Image getImage()
public org.eclipse.core.resources.IProject getProject()
public java.lang.String getModelPath()
public org.eclipse.uml2.Profile getProfile()
public com.omondo.uml.ui.editors.editmodel.Properties getProperties()
public org.eclipse.uml2.Element getElement()
java.lang.IllegalStateException - if something wrong occurespublic ProfilePropertiesEditor getPropertyEditor()
public boolean canBeActivated()
public ProfileFragment[] getFragments(java.lang.String stereotype,
int diagramType,
int elementType)
public ProfileFragment[] getFragments(int diagramType,
int elementType)
public org.eclipse.jface.action.IContributionItem[] getActions(int diagramType)
public org.eclipse.jface.action.IContributionItem[] getNewActions(int diagramType)
public void init(org.eclipse.core.resources.IProject project)
public void setModel(java.lang.Object model)
public void addFragment(ProfileFragment fragment)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||