Class WorkspaceImpl
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.WorkspaceImpl
- 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
,Workspace
An implementation of the model object '
Workspace'.
The following features are implemented:
-
Nested Class Summary
Nested 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.EScannableAdapterList
Nested 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_FLAG
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Method Summary
Modifier and TypeMethodDescriptionSCMRegistry<?>
org.eclipse.emf.common.notify.NotificationChain
basicSetService
(ClassMakerService newService, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
contains
(org.eclipse.core.runtime.jobs.ISchedulingRule rule) contains
(org.eclipse.emf.ecore.EObject blueprint) createContribution
(org.eclipse.emf.ecore.EObject blueprint, org.eclipse.core.runtime.IProgressMonitor monitor) createProject
(String name, org.eclipse.core.runtime.IProgressMonitor monitor) void
org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature
(org.eclipse.emf.common.notify.NotificationChain msgs) eGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseAdd
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
eIsSet
(int featureID) void
void
eUnset
(int featureID) getContribution
(String projectName) getContribution
(String nsURI, Stage filter) getContribution
(org.eclipse.emf.ecore.EObject eObject) getContribution
(org.eclipse.emf.ecore.EObject eObject, boolean searchOptimistic) getContribution
(org.eclipse.emf.ecore.EObject eObject, Stage filter) getContribution
(org.eclipse.emf.ecore.EObject eObject, Stage filter, boolean searchOptimistic) org.eclipse.emf.common.util.EMap<StageQualifier,
Customizer> org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage>
org.eclipse.emf.common.util.EMap<StageQualifier,
Customizer> getProject
(String name) getProject
(org.eclipse.emf.ecore.EObject eObject) getProject
(org.eclipse.emf.ecore.resource.Resource resource) org.eclipse.emf.common.util.EList<Project>
org.eclipse.emf.ecore.resource.ResourceSet
SCMRegistry<?>
void
boolean
isConflicting
(org.eclipse.core.runtime.jobs.ISchedulingRule rule) void
provision
(org.eclipse.core.runtime.IProgressMonitor monitor) void
registerProject
(Project project) void
setService
(ClassMakerService newService) toString()
void
unregisterProject
(Project project) Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, eVirtualUnset
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getProjects
- Specified by:
getProjects
in interfaceWorkspace
- Returns:
- the value of the 'Projects' containment reference list.
- See Also:
-
getResourceSet
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()- Specified by:
getResourceSet
in interfaceWorkspace
- Returns:
- the value of the 'Resource Set' attribute.
- See Also:
-
org.enterprisedomain.EnterpriseDomainPackage#getWorkspace_ResourceSet()
-
getCustomizers
- Specified by:
getCustomizers
in interfaceWorkspace
- Returns:
- the value of the 'Customizers' map.
- See Also:
-
getNonExclusiveCustomizers
- Specified by:
getNonExclusiveCustomizers
in interfaceWorkspace
- Returns:
- the value of the 'Non Exclusive Customizers' map.
- See Also:
-
getService
- Specified by:
getService
in interfaceWorkspace
- Returns:
- the value of the 'Service' container reference.
- See Also:
-
basicSetService
public org.eclipse.emf.common.notify.NotificationChain basicSetService(ClassMakerService newService, org.eclipse.emf.common.notify.NotificationChain msgs) -
setService
- Specified by:
setService
in interfaceWorkspace
- Parameters:
newService
- the new value of the 'Service' container reference.- See Also:
-
getSCMRegistry
- Specified by:
getSCMRegistry
in interfaceWorkspace
- Returns:
- the value of the 'SCM Registry' reference.
- See Also:
-
basicGetSCMRegistry
-
getExcludedEPackages
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getExcludedEPackages()- Specified by:
getExcludedEPackages
in interfaceWorkspace
- Returns:
- the value of the 'Excluded EPackages' reference list.
- See Also:
-
initialize
public void initialize()- Specified by:
initialize
in interfaceWorkspace
-
provision
public void provision(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
createContribution
public Contribution createContribution(org.eclipse.emf.ecore.EObject blueprint, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
createContribution
in interfaceWorkspace
- Throws:
org.eclipse.core.runtime.CoreException
-
getContribution
- Specified by:
getContribution
in interfaceWorkspace
-
getContribution
public Contribution getContribution(org.eclipse.emf.ecore.EObject eObject, boolean searchOptimistic) - Specified by:
getContribution
in interfaceWorkspace
searchOptimistic
- true if use OR while EPackage comparison, overwise use AND.
-
getContribution
- Specified by:
getContribution
in interfaceWorkspace
filter
- returns blueprint EPackage if Stage is less or equal MODELED, generated if it equals LOADED.
-
getContribution
public Contribution getContribution(org.eclipse.emf.ecore.EObject eObject, Stage filter, boolean searchOptimistic) - Specified by:
getContribution
in interfaceWorkspace
filter
- returns blueprint EPackage if Stage is less or equal MODELED, generated if it equals LOADED.searchOptimistic
- true if use OR while EPackage comparison, overwise use AND.
-
registerProject
- Specified by:
registerProject
in interfaceWorkspace
-
unregisterProject
- Specified by:
unregisterProject
in interfaceWorkspace
-
getContribution
- Specified by:
getContribution
in interfaceWorkspace
-
getContribution
- Specified by:
getContribution
in interfaceWorkspace
-
createProject
public Project createProject(String name, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
createProject
in interfaceWorkspace
- Throws:
org.eclipse.core.runtime.CoreException
-
getProject
- Specified by:
getProject
in interfaceWorkspace
-
getProject
- Specified by:
getProject
in interfaceWorkspace
-
getProject
- Specified by:
getProject
in interfaceWorkspace
-
contains
-
delete
public void delete(Object object, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
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:
eInverseAdd
in 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:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
contains
public boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule rule) - Specified by:
contains
in interfaceorg.eclipse.core.runtime.jobs.ISchedulingRule
-
isConflicting
public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule) - Specified by:
isConflicting
in interfaceorg.eclipse.core.runtime.jobs.ISchedulingRule
-