Class ContributionImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.enterprisedomain.classmaker.impl.ProjectImpl
org.enterprisedomain.classmaker.impl.ContributionImpl
- All Implemented Interfaces:
org.eclipse.core.runtime.jobs.ISchedulingRule,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,Contribution,Item,Project
An implementation of the model object '
Contribution'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.enterprisedomain.classmaker.impl.ProjectImpl
ProjectImpl.ProjectNameAdapterNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetState(State newState, org.eclipse.emf.common.notify.NotificationChain msgs) voidbuild(org.eclipse.core.runtime.IProgressMonitor monitor) voidvoidcreate(org.eclipse.core.runtime.IProgressMonitor monitor) voiddelete(org.eclipse.core.runtime.IProgressMonitor monitor) voidvoiddoNewRevision(Revision newRevision) Sub-classes may implement.eGet(int featureID, boolean resolve, boolean coreType) booleaneIsSet(int featureID) org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> org.eclipse.emf.common.util.EList<String>org.osgi.framework.VersiongetName()getPhase()getState()getState(long timestamp) voidinitAdapters(Revision revision) initialize(boolean commit) make(org.eclipse.core.runtime.IProgressMonitor monitor) voidsetLanguage(String newLanguage) voidvoidvoidsetProject(Project newProject) voidsetProjectVersion(org.osgi.framework.Version newProjectVersion) () Should be used instead ofProjectImpl.getVersion().Methods inherited from class org.enterprisedomain.classmaker.impl.ProjectImpl
addCompletionListener, addResourceChangeListener, basicGetCompletionNotificationAdapter, basicGetRevision, basicGetSelectRevealHandler, basicSetCompletionNotificationAdapter, basicSetDomainModel, basicSetModelResourceAdapter, basicSetWorkspace, checkout, checkout, checkout, checkout, checkout, checkout, close, contains, createRevision, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, equals, eSet, eUnset, getChildren, getCompletionNotificationAdapter, getModelName, getModelResourceAdapter, getParent, getProject, getProjectName, getProjectVersion, getResourceReloadListener, getRevision, getRevisions, getSelectRevealHandler, getVersion, getWorkspace, hashCode, isConflicting, isDirty, isNeedCompletionNotification, isSavingResource, load, newBareRevision, newRevision, newVersion, newVersion, nextVersion, notifyCompletion, notifyResourceChanged, onModelResourceCreate, open, removeCompletionListener, removeResourceChangeListener, setCompletionNotificationAdapter, setDirty, setDomainModel, setLocale, setModelName, setNeedCompletionNotification, setPhase, setProjectName, setRevision, setSavingResource, setSelectRevealHandler, setVersion, setWorkspace, toStringMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule
contains, isConflictingMethods inherited from interface org.enterprisedomain.classmaker.Item
getModelName, getParent, getProject, load, setDomainModel, setLocale, setModelName, setPhaseMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.enterprisedomain.classmaker.Project
addCompletionListener, addResourceChangeListener, checkout, checkout, checkout, checkout, checkout, checkout, close, createRevision, getChildren, getCompletionNotificationAdapter, getModelResourceAdapter, getProjectName, getProjectVersion, getResourceReloadListener, getRevision, getRevisions, getSelectRevealHandler, getVersion, getWorkspace, isDirty, isNeedCompletionNotification, isSavingResource, newBareRevision, newRevision, newVersion, newVersion, nextVersion, notifyCompletion, notifyResourceChanged, open, removeCompletionListener, removeResourceChangeListener, setCompletionNotificationAdapter, setDirty, setNeedCompletionNotification, setProjectName, setRevision, setSavingResource, setSelectRevealHandler, setVersion, setWorkspace
-
Method Details
-
getPhase
- Specified by:
getPhasein interfaceItem- Overrides:
getPhasein classProjectImpl- Returns:
- the value of the 'Phase' attribute.
- See Also:
-
getState
- Specified by:
getStatein interfaceProject- Overrides:
getStatein classProjectImpl- Returns:
- the value of the 'State' reference.
- See Also:
-
basicSetState
public org.eclipse.emf.common.notify.NotificationChain basicSetState(State newState, org.eclipse.emf.common.notify.NotificationChain msgs) -
basicGetState
- Overrides:
basicGetStatein classProjectImpl
-
getLatestVersion
public org.osgi.framework.Version getLatestVersion()- Specified by:
getLatestVersionin interfaceContribution- Returns:
- the value of the 'Latest Version' attribute.
- See Also:
-
copyModel
- Specified by:
copyModelin interfaceItem- Overrides:
copyModelin classProjectImpl
-
getLocale
- Specified by:
getLocalein interfaceItem- Overrides:
getLocalein classProjectImpl- Returns:
- the value of the 'Locale' attribute.
- See Also:
-
basicGetProject
- Overrides:
basicGetProjectin classProjectImpl
-
setProject
- Specified by:
setProjectin interfaceItem- Overrides:
setProjectin classProjectImpl- Parameters:
newProject- the new value of the 'Project' reference.- See Also:
-
getDependencies
- Specified by:
getDependenciesin interfaceContribution- Returns:
- the value of the 'Dependencies' attribute list.
- See Also:
-
getCustomizers
- Specified by:
getCustomizersin interfaceItem- Overrides:
getCustomizersin classProjectImpl- Returns:
- the value of the 'Customizers' map.
- See Also:
-
basicGetParent
- Overrides:
basicGetParentin classProjectImpl
-
setParent
- Specified by:
setParentin interfaceItem- Overrides:
setParentin classProjectImpl- Parameters:
newParent- the new value of the 'Parent' reference.- See Also:
-
initialize
- Specified by:
initializein interfaceItem- Specified by:
initializein interfaceProject- Overrides:
initializein classProjectImpl- Parameters:
commit- whether to perform commit- Returns:
- commit Id
-
create
public void create(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Description copied from class:ProjectImpl- Specified by:
createin interfaceProject- Overrides:
createin classProjectImpl- Throws:
org.eclipse.core.runtime.CoreException
-
make
public String make(Revision revision, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
makein interfaceContribution- Throws:
org.eclipse.core.runtime.CoreException
-
make
public String make(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Description copied from class:ProjectImpl -
doNewRevision
Description copied from class:ProjectImplSub-classes may implement.- Specified by:
doNewRevisionin interfaceProject- Overrides:
doNewRevisionin classProjectImpl
-
getName
- Specified by:
getNamein interfaceProject- Overrides:
getNamein classProjectImpl- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
- Specified by:
setNamein interfaceProject- Overrides:
setNamein classProjectImpl- Parameters:
newName- the new value of the 'Name' attribute.- See Also:
-
getLanguage
- Specified by:
getLanguagein interfaceItem- Overrides:
getLanguagein classProjectImpl- Returns:
- the value of the 'Language' attribute.
- See Also:
-
setLanguage
- Specified by:
setLanguagein interfaceItem- Overrides:
setLanguagein classProjectImpl- Parameters:
newLanguage- the new value of the 'Language' attribute.- See Also:
-
getDomainModel
- Specified by:
getDomainModelin interfaceItem- Overrides:
getDomainModelin classProjectImpl- Returns:
- the value of the 'Domain Model' containment reference.
- See Also:
-
ClassMakerPackage.getItem_DomainModel()org.enterprisedomain.classmaker.ModelPair#getParent
-
setProjectVersion
public void setProjectVersion(org.osgi.framework.Version newProjectVersion) ( ) Should be used instead ofProjectImpl.getVersion().- Specified by:
setProjectVersionin interfaceProject- Overrides:
setProjectVersionin classProjectImpl- Parameters:
newProjectVersion- the new value of the 'Project Version' attribute.- See Also:
-
getResourcePath
Description copied from class:ProjectImpl- Specified by:
getResourcePathin interfaceProject- Overrides:
getResourcePathin classProjectImpl- Returns:
- the value of the 'Resource Path' attribute.
- See Also:
-
getState
- Specified by:
getStatein interfaceContribution
-
initAdapters
- Specified by:
initAdaptersin interfaceProject- Overrides:
initAdaptersin classProjectImpl
-
build
public void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
buildin interfaceItem- Overrides:
buildin classProjectImpl- Throws:
org.eclipse.core.runtime.CoreException
-
delete
public void delete(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
deletein interfaceContribution- Specified by:
deletein interfaceProject- Overrides:
deletein classProjectImpl- Throws:
org.eclipse.core.runtime.CoreException
-
delete
Description copied from class:ProjectImpl- Specified by:
deletein interfaceProject- Overrides:
deletein classProjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classProjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classProjectImpl
-