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

public class WorkspaceImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements 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 Type
    Method
    Description
    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
    delete(Object object, org.eclipse.core.runtime.IProgressMonitor monitor)
    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
    eSet(int featureID, Object newValue)
    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(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
    void
    boolean
    isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
     
    void
    provision(org.eclipse.core.runtime.IProgressMonitor monitor)
    void
    void
    void

    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

      public org.eclipse.emf.common.util.EList<Project> getProjects()
      Specified by:
      getProjects in interface Workspace
      Returns:
      the value of the 'Projects' containment reference list.
      See Also:
    • getResourceSet

      public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
      Specified by:
      getResourceSet in interface Workspace
      Returns:
      the value of the 'Resource Set' attribute.
      See Also:
      • org.enterprisedomain.EnterpriseDomainPackage#getWorkspace_ResourceSet()
    • getCustomizers

      public org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getCustomizers()
      Specified by:
      getCustomizers in interface Workspace
      Returns:
      the value of the 'Customizers' map.
      See Also:
    • getNonExclusiveCustomizers

      public org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getNonExclusiveCustomizers()
      Specified by:
      getNonExclusiveCustomizers in interface Workspace
      Returns:
      the value of the 'Non Exclusive Customizers' map.
      See Also:
    • getService

      public ClassMakerService getService()
      Specified by:
      getService in interface Workspace
      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

      public void setService(ClassMakerService newService)
      Specified by:
      setService in interface Workspace
      Parameters:
      newService - the new value of the 'Service' container reference.
      See Also:
    • getSCMRegistry

      public SCMRegistry<?> getSCMRegistry()
      Specified by:
      getSCMRegistry in interface Workspace
      Returns:
      the value of the 'SCM Registry' reference.
      See Also:
    • basicGetSCMRegistry

      public SCMRegistry<?> basicGetSCMRegistry()
    • getExcludedEPackages

      public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getExcludedEPackages()
      Specified by:
      getExcludedEPackages in interface Workspace
      Returns:
      the value of the 'Excluded EPackages' reference list.
      See Also:
    • initialize

      public void initialize()
      Specified by:
      initialize in interface Workspace
    • provision

      public void provision(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Specified by:
      provision in interface Workspace
      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 interface Workspace
      Throws:
      org.eclipse.core.runtime.CoreException
    • getContribution

      public Contribution getContribution(org.eclipse.emf.ecore.EObject eObject)
      Specified by:
      getContribution in interface Workspace
    • getContribution

      public Contribution getContribution(org.eclipse.emf.ecore.EObject eObject, boolean searchOptimistic)
      Specified by:
      getContribution in interface Workspace
      searchOptimistic - true if use OR while EPackage comparison, overwise use AND.
    • getContribution

      public Contribution getContribution(org.eclipse.emf.ecore.EObject eObject, Stage filter)
      Specified by:
      getContribution in interface Workspace
      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 interface Workspace
      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

      public void registerProject(Project project)
      Specified by:
      registerProject in interface Workspace
    • unregisterProject

      public void unregisterProject(Project project)
      Specified by:
      unregisterProject in interface Workspace
    • getContribution

      public Contribution getContribution(String projectName)
      Specified by:
      getContribution in interface Workspace
    • getContribution

      public Contribution getContribution(String nsURI, Stage filter)
      Specified by:
      getContribution in interface Workspace
    • createProject

      public Project createProject(String name, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Specified by:
      createProject in interface Workspace
      Throws:
      org.eclipse.core.runtime.CoreException
    • getProject

      public Project getProject(String name)
      Specified by:
      getProject in interface Workspace
    • getProject

      public Project getProject(org.eclipse.emf.ecore.EObject eObject)
      Specified by:
      getProject in interface Workspace
    • getProject

      public Project getProject(org.eclipse.emf.ecore.resource.Resource resource)
      Specified by:
      getProject in interface Workspace
    • contains

      public Stage contains(org.eclipse.emf.ecore.EObject blueprint)
      Specified by:
      contains in interface Workspace
    • delete

      public void delete(Object object, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Specified by:
      delete in interface Workspace
      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 class org.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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eBasicRemoveFromContainerFeature

      public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eGet

      public Object eGet(int featureID, boolean resolve, boolean coreType)
      Specified by:
      eGet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eSet

      public void eSet(int featureID, Object newValue)
      Specified by:
      eSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eUnset

      public void eUnset(int featureID)
      Specified by:
      eUnset in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eIsSet

      public boolean eIsSet(int featureID)
      Specified by:
      eIsSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • toString

      public String toString()
      Overrides:
      toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • contains

      public boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
      Specified by:
      contains in interface org.eclipse.core.runtime.jobs.ISchedulingRule
    • isConflicting

      public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
      Specified by:
      isConflicting in interface org.eclipse.core.runtime.jobs.ISchedulingRule