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.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 TypeMethodDescriptionSCMRegistry<?>org.eclipse.emf.common.notify.NotificationChainbasicSetService(ClassMakerService newService, org.eclipse.emf.common.notify.NotificationChain msgs) booleancontains(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) voidorg.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) 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) voidvoideUnset(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.ResourceSetSCMRegistry<?>voidbooleanisConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule) voidprovision(org.eclipse.core.runtime.IProgressMonitor monitor) voidregisterProject(Project project) voidsetService(ClassMakerService newService) toString()voidunregisterProject(Project project) 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, 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, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
getProjects
- Specified by:
getProjectsin interfaceWorkspace- Returns:
- the value of the 'Projects' containment reference list.
- See Also:
-
getResourceSet
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()- Specified by:
getResourceSetin interfaceWorkspace- Returns:
- the value of the 'Resource Set' attribute.
- See Also:
-
org.enterprisedomain.EnterpriseDomainPackage#getWorkspace_ResourceSet()
-
getCustomizers
- Specified by:
getCustomizersin interfaceWorkspace- Returns:
- the value of the 'Customizers' map.
- See Also:
-
getNonExclusiveCustomizers
- Specified by:
getNonExclusiveCustomizersin interfaceWorkspace- Returns:
- the value of the 'Non Exclusive Customizers' map.
- See Also:
-
getService
- Specified by:
getServicein 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:
setServicein interfaceWorkspace- Parameters:
newService- the new value of the 'Service' container reference.- See Also:
-
getSCMRegistry
- Specified by:
getSCMRegistryin 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:
getExcludedEPackagesin interfaceWorkspace- Returns:
- the value of the 'Excluded EPackages' reference list.
- See Also:
-
initialize
public void initialize()- Specified by:
initializein 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:
createContributionin interfaceWorkspace- Throws:
org.eclipse.core.runtime.CoreException
-
getContribution
- Specified by:
getContributionin interfaceWorkspace
-
getContribution
public Contribution getContribution(org.eclipse.emf.ecore.EObject eObject, boolean searchOptimistic) - Specified by:
getContributionin interfaceWorkspacesearchOptimistic- true if use OR while EPackage comparison, overwise use AND.
-
getContribution
- Specified by:
getContributionin interfaceWorkspacefilter- 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:
getContributionin interfaceWorkspacefilter- 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:
registerProjectin interfaceWorkspace
-
unregisterProject
- Specified by:
unregisterProjectin interfaceWorkspace
-
getContribution
- Specified by:
getContributionin interfaceWorkspace
-
getContribution
- Specified by:
getContributionin interfaceWorkspace
-
createProject
public Project createProject(String name, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
createProjectin interfaceWorkspace- Throws:
org.eclipse.core.runtime.CoreException
-
getProject
- Specified by:
getProjectin interfaceWorkspace
-
getProject
- Specified by:
getProjectin interfaceWorkspace
-
getProject
- Specified by:
getProjectin 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:
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
-
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
-
toString
- Overrides:
toStringin 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
-