Class ProjectImpl
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
- 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,Item,Project
- Direct Known Subclasses:
ContributionImpl
An implementation of the model object '
Project'.
The following features are implemented:
Model NamePhaseLanguageDomain ModelCustomizersParentLocaleProjectNameProject NameChildrenDirtyWorkspaceResource PathNeed Completion NotificationCompletion Notification AdapterResource Reload ListenerSaving ResourceRevisionRevisionsProject VersionSelect Reveal HandlerVersionStateModel Resource Adapter
-
Nested Class Summary
Nested ClassesNested 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 TypeMethodDescriptionvoidaddCompletionListener(CompletionListener resultListener) voidaddResourceChangeListener(ResourceChangeListener resourceListener) org.eclipse.emf.common.notify.NotificationChainbasicSetCompletionNotificationAdapter(CompletionNotificationAdapter newCompletionNotificationAdapter, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetDomainModel(Models newDomainModel, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetModelResourceAdapter(ResourceAdapter newModelResourceAdapter, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetWorkspace(Workspace newWorkspace, org.eclipse.emf.common.notify.NotificationChain msgs) voidbuild(org.eclipse.core.runtime.IProgressMonitor monitor) voidcheckout(long time) voidvoidvoidcheckout(org.osgi.framework.Version version) voidcheckout(org.osgi.framework.Version version, long time) voidvoidclose(org.eclipse.core.runtime.IProgressMonitor monitor) booleancontains(org.eclipse.core.runtime.jobs.ISchedulingRule rule) voidvoidcreate(org.eclipse.core.runtime.IProgressMonitor monitor) createRevision(org.eclipse.core.runtime.IProgressMonitor monitor) voiddelete(org.eclipse.core.runtime.IProgressMonitor monitor) voidvoiddoNewRevision(Revision newRevision) Sub-classes may implement.inteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) booleanvoidvoideUnset(int featureID) org.eclipse.emf.common.util.EList<Object>org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getName()getPhase()org.osgi.framework.Versionorg.eclipse.emf.common.util.EMap<org.osgi.framework.Version,Revision> getState()org.osgi.framework.VersioninthashCode()voidinitAdapters(Revision revision) initialize(boolean commit) booleanisConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule) booleanisDirty()booleanbooleanvoidload(boolean create, boolean loadOnDemand) make(org.eclipse.core.runtime.IProgressMonitor monitor) newBareRevision(org.osgi.framework.Version version) newRevision(org.osgi.framework.Version version) org.osgi.framework.VersionnewVersion(boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) org.osgi.framework.VersionnewVersion(org.osgi.framework.Version base, boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) org.osgi.framework.VersionvoidvoidnotifyResourceChanged(org.eclipse.emf.common.notify.Notification notification) voidonModelResourceCreate(org.eclipse.emf.ecore.resource.Resource eResource) booleanopen(org.eclipse.core.runtime.IProgressMonitor monitor) voidremoveCompletionListener(CompletionListener resultListener) voidremoveResourceChangeListener(ResourceChangeListener resourceListener) voidsetCompletionNotificationAdapter(CompletionNotificationAdapter newCompletionNotificationAdapter) voidsetDirty(boolean newDirty) voidsetDomainModel(Models newDomainModel) voidsetLanguage(String newLanguage) voidvoidsetModelName(String newModelName) voidvoidsetNeedCompletionNotification(boolean newNeedCompletionNotification) voidvoidvoidsetProject(Project newProject) voidsetProjectName(String newProjectName) voidsetProjectVersion(org.osgi.framework.Version newProjectVersion) voidsetRevision(Revision newRevision) voidsetSavingResource(boolean newSavingResource) voidsetSelectRevealHandler(SelectRevealHandler newSelectRevealHandler) voidsetVersion(org.osgi.framework.Version newVersion) voidsetWorkspace(Workspace newWorkspace) toString()Methods 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.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getModelName
- Specified by:
getModelNamein interfaceItem- Returns:
- the value of the 'Model Name' attribute.
- See Also:
-
setModelName
- Specified by:
setModelNamein interfaceItem- Parameters:
newModelName- the new value of the 'Model Name' attribute.- See Also:
-
getPhase
-
setPhase
-
getLanguage
- Specified by:
getLanguagein interfaceItem- Returns:
- the value of the 'Language' attribute.
- See Also:
-
setLanguage
- Specified by:
setLanguagein interfaceItem- Parameters:
newLanguage- the new value of the 'Language' attribute.- See Also:
-
getDomainModel
- Specified by:
getDomainModelin interfaceItem- Returns:
- the value of the 'Domain Model' containment reference.
- See Also:
-
ClassMakerPackage.getItem_DomainModel()org.enterprisedomain.classmaker.ModelPair#getParent
-
basicSetDomainModel
public org.eclipse.emf.common.notify.NotificationChain basicSetDomainModel(Models newDomainModel, org.eclipse.emf.common.notify.NotificationChain msgs) -
setDomainModel
- Specified by:
setDomainModelin interfaceItem- Parameters:
newDomainModel- the new value of the 'Domain Model' containment reference.- See Also:
-
getCustomizers
- Specified by:
getCustomizersin interfaceItem- Returns:
- the value of the 'Customizers' map.
- See Also:
-
getParent
-
basicGetParent
-
setParent
-
getLocale
-
setLocale
-
getProject
- Specified by:
getProjectin interfaceItem- Returns:
- the value of the 'Project' reference.
- See Also:
-
basicGetProject
-
setProject
- Specified by:
setProjectin interfaceItem- Parameters:
newProject- the new value of the 'Project' reference.- See Also:
-
getName
-
setName
-
getProjectName
- Specified by:
getProjectNamein interfaceProject- Returns:
- the value of the 'Project Name' attribute.
- See Also:
-
setProjectName
- Specified by:
setProjectNamein interfaceProject- Parameters:
newProjectName- the new value of the 'Project Name' attribute.- See Also:
-
getChildren
- Specified by:
getChildrenin interfaceProject- Returns:
- the value of the 'Children' attribute list.
- See Also:
-
isDirty
public boolean isDirty() -
setDirty
public void setDirty(boolean newDirty) -
getWorkspace
- Specified by:
getWorkspacein interfaceProject- Returns:
- the value of the 'Workspace' container reference.
- See Also:
-
basicSetWorkspace
public org.eclipse.emf.common.notify.NotificationChain basicSetWorkspace(Workspace newWorkspace, org.eclipse.emf.common.notify.NotificationChain msgs) -
setWorkspace
- Specified by:
setWorkspacein interfaceProject- Parameters:
newWorkspace- the new value of the 'Workspace' container reference.- See Also:
-
getResourcePath
- Specified by:
getResourcePathin interfaceProject- Returns:
- the value of the 'Resource Path' attribute.
- See Also:
-
isNeedCompletionNotification
public boolean isNeedCompletionNotification()- Specified by:
isNeedCompletionNotificationin interfaceProject- Returns:
- the value of the 'Need Completion Notification' attribute.
- See Also:
-
setNeedCompletionNotification
public void setNeedCompletionNotification(boolean newNeedCompletionNotification) - Specified by:
setNeedCompletionNotificationin interfaceProject- Parameters:
newNeedCompletionNotification- the new value of the 'Need Completion Notification' attribute.- See Also:
-
getCompletionNotificationAdapter
- Specified by:
getCompletionNotificationAdapterin interfaceProject- Returns:
- the value of the 'Completion Notification Adapter' containment reference.
- See Also:
-
basicGetCompletionNotificationAdapter
-
basicSetCompletionNotificationAdapter
public org.eclipse.emf.common.notify.NotificationChain basicSetCompletionNotificationAdapter(CompletionNotificationAdapter newCompletionNotificationAdapter, org.eclipse.emf.common.notify.NotificationChain msgs) -
setCompletionNotificationAdapter
public void setCompletionNotificationAdapter(CompletionNotificationAdapter newCompletionNotificationAdapter) - Specified by:
setCompletionNotificationAdapterin interfaceProject- Parameters:
newCompletionNotificationAdapter- the new value of the 'Completion Notification Adapter' containment reference.- See Also:
-
getResourceReloadListener
- Specified by:
getResourceReloadListenerin interfaceProject- Returns:
- the value of the 'Resource Reload Listener' reference.
- See Also:
-
isSavingResource
public boolean isSavingResource()- Specified by:
isSavingResourcein interfaceProject- Returns:
- the value of the 'Saving Resource' attribute.
- See Also:
-
setSavingResource
public void setSavingResource(boolean newSavingResource) - Specified by:
setSavingResourcein interfaceProject- Parameters:
newSavingResource- the new value of the 'Saving Resource' attribute.- See Also:
-
getRevision
- Specified by:
getRevisionin interfaceProject- Returns:
- the value of the 'Revision' reference.
- See Also:
-
basicGetRevision
-
setRevision
- Specified by:
setRevisionin interfaceProject- Parameters:
newRevision- the new value of the 'Revision' reference.- See Also:
-
getRevisions
- Specified by:
getRevisionsin interfaceProject- Returns:
- the value of the 'Revisions' map.
- See Also:
-
getProjectVersion
public org.osgi.framework.Version getProjectVersion()- Specified by:
getProjectVersionin interfaceProject- Returns:
- the value of the 'Project Version' attribute.
- See Also:
-
setProjectVersion
public void setProjectVersion(org.osgi.framework.Version newProjectVersion) - Specified by:
setProjectVersionin interfaceProject- Parameters:
newProjectVersion- the new value of the 'Project Version' attribute.- See Also:
-
getSelectRevealHandler
- Specified by:
getSelectRevealHandlerin interfaceProject- Returns:
- the value of the 'Select Reveal Handler' reference.
- See Also:
-
basicGetSelectRevealHandler
-
setSelectRevealHandler
- Specified by:
setSelectRevealHandlerin interfaceProject- Parameters:
newSelectRevealHandler- the new value of the 'Select Reveal Handler' reference.- See Also:
-
getVersion
public org.osgi.framework.Version getVersion()- Specified by:
getVersionin interfaceProject- Returns:
- the value of the 'Version' attribute.
- See Also:
-
setVersion
public void setVersion(org.osgi.framework.Version newVersion) - Specified by:
setVersionin interfaceProject- Parameters:
newVersion- the new value of the 'Version' attribute.- See Also:
-
getState
-
basicGetState
-
getModelResourceAdapter
- Specified by:
getModelResourceAdapterin interfaceProject- Returns:
- the value of the 'Model Resource Adapter' containment reference.
- See Also:
-
basicSetModelResourceAdapter
public org.eclipse.emf.common.notify.NotificationChain basicSetModelResourceAdapter(ResourceAdapter newModelResourceAdapter, org.eclipse.emf.common.notify.NotificationChain msgs) -
create
public void create(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
createRevision
public Revision createRevision(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
createRevisionin interfaceProject- Throws:
org.eclipse.core.runtime.CoreException
-
delete
public void delete(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
delete
-
notifyCompletion
Description copied from interface:Project- Specified by:
notifyCompletionin interfaceProject- Throws:
Exception
-
addResourceChangeListener
- Specified by:
addResourceChangeListenerin interfaceProject
-
removeResourceChangeListener
- Specified by:
removeResourceChangeListenerin interfaceProject
-
newRevision
- Specified by:
newRevisionin interfaceProject
-
newBareRevision
- Specified by:
newBareRevisionin interfaceProject
-
doNewRevision
Sub-classes may implement.- Specified by:
doNewRevisionin interfaceProject
-
newVersion
public org.osgi.framework.Version newVersion(boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) throws org.eclipse.core.runtime.CoreException - Specified by:
newVersionin interfaceProject- Throws:
org.eclipse.core.runtime.CoreException
-
newVersion
public org.osgi.framework.Version newVersion(org.osgi.framework.Version base, boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) throws org.eclipse.core.runtime.CoreException - Specified by:
newVersionin interfaceProject- Throws:
org.eclipse.core.runtime.CoreException
-
nextVersion
public org.osgi.framework.Version nextVersion() throws org.eclipse.core.runtime.CoreException- Specified by:
nextVersionin interfaceProject- Throws:
org.eclipse.core.runtime.CoreException
-
checkout
public void checkout(org.osgi.framework.Version version) -
checkout
public void checkout(org.osgi.framework.Version version, long time) -
checkout
-
checkout
public void checkout(long time) -
checkout
-
checkout
-
initAdapters
- Specified by:
initAdaptersin interfaceProject
-
load
public void load(boolean create, boolean loadOnDemand) throws org.eclipse.core.runtime.CoreException -
build
public void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
copyModel
-
notifyResourceChanged
public void notifyResourceChanged(org.eclipse.emf.common.notify.Notification notification) throws Exception - Specified by:
notifyResourceChangedin interfaceProject- Throws:
Exception
-
make
public String make(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
open
public boolean open(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
close
public void close(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
initialize
- Specified by:
initializein interfaceItem- Specified by:
initializein interfaceProject- Parameters:
commit- whether to perform commit- Returns:
- commit Id
-
addCompletionListener
- Specified by:
addCompletionListenerin interfaceProject
-
removeCompletionListener
- Specified by:
removeCompletionListenerin interfaceProject
-
onModelResourceCreate
public void onModelResourceCreate(org.eclipse.emf.ecore.resource.Resource eResource) -
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseAddin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
contains
public boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule rule) - Specified by:
containsin interfaceorg.eclipse.core.runtime.jobs.ISchedulingRule
-
isConflicting
public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule) - Specified by:
isConflictingin interfaceorg.eclipse.core.runtime.jobs.ISchedulingRule
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBaseStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-