|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.omondo.uml.std.external.profile.AbstractProfile
| Field Summary | |
protected java.lang.Object |
model
|
protected org.eclipse.core.resources.IProject |
project
|
| Constructor Summary | |
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. |
com.omondo.uml.ui.editors.editmodel.Properties |
getTaggedValues()
|
void |
init(org.eclipse.core.resources.IProject project)
Internal use |
protected void |
registerAction(org.eclipse.jface.action.Action action,
int diagramType)
|
protected void |
registerAction(org.eclipse.jface.action.IContributionItem action,
int diagramType)
|
protected abstract void |
registerDefaultContributionItems()
The Action/contribution items must be registered in this method by the mean of the addContributionItem methods. |
protected void |
registerNewAction(org.eclipse.jface.action.Action action,
int diagramType)
|
protected void |
registerNewAction(org.eclipse.jface.action.IContributionItem action,
int diagramType)
|
protected abstract void |
registerNewContributionItems()
The Action/contribution items must be registered in this method by the mean of the addNewContributionItem methods. |
void |
setModel(java.lang.Object model)
Internal use |
boolean |
setTaggedValues(com.omondo.uml.ui.editors.editmodel.Properties taggedValues)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.eclipse.core.resources.IProject project
protected java.lang.Object model
| Constructor Detail |
public AbstractProfile()
| Method Detail |
public java.lang.String getName()
getName in interface OmondoProfilepublic org.eclipse.swt.graphics.Image getImage()
getImage in interface OmondoProfilepublic boolean canBeActivated()
OmondoProfile
canBeActivated in interface OmondoProfilepublic ProfilePropertiesEditor getPropertyEditor()
OmondoProfile
getPropertyEditor in interface OmondoProfilepublic org.eclipse.core.resources.IProject getProject()
getProject in interface OmondoProfilepublic org.eclipse.uml2.Element getElement()
OmondoProfile
getElement in interface OmondoProfilepublic org.eclipse.uml2.Profile getProfile()
OmondoProfile
getProfile in interface OmondoProfilepublic void init(org.eclipse.core.resources.IProject project)
OmondoProfile
init in interface OmondoProfilepublic java.lang.String getId()
getId in interface OmondoProfilepublic java.lang.String getModelPath()
OmondoProfile
getModelPath in interface OmondoProfilepublic com.omondo.uml.ui.editors.editmodel.Properties getProperties()
OmondoProfile
getProperties in interface OmondoProfilepublic void setModel(java.lang.Object model)
OmondoProfile
setModel in interface OmondoProfilepublic final org.eclipse.jface.action.IContributionItem[] getNewActions(int diagramType)
OmondoProfile
getNewActions in interface OmondoProfilepublic final org.eclipse.jface.action.IContributionItem[] getActions(int diagramType)
OmondoProfile
getActions in interface OmondoProfileprotected abstract void registerDefaultContributionItems()
protected abstract void registerNewContributionItems()
public ProfileFragment[] getFragments(java.lang.String stereotype,
int diagramType,
int elementType)
OmondoProfile
getFragments in interface OmondoProfile
public ProfileFragment[] getFragments(int diagramType,
int elementType)
OmondoProfile
getFragments in interface OmondoProfile
protected final void registerAction(org.eclipse.jface.action.Action action,
int diagramType)
protected final void registerNewAction(org.eclipse.jface.action.Action action,
int diagramType)
protected final void registerAction(org.eclipse.jface.action.IContributionItem action,
int diagramType)
protected final void registerNewAction(org.eclipse.jface.action.IContributionItem action,
int diagramType)
public void addFragment(ProfileFragment fragment)
OmondoProfile
addFragment in interface OmondoProfilepublic com.omondo.uml.ui.editors.editmodel.Properties getTaggedValues()
public boolean setTaggedValues(com.omondo.uml.ui.editors.editmodel.Properties taggedValues)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||