Package org.enterprisedomain.classmaker
Interface Workspace
- All Superinterfaces:
- org.eclipse.emf.ecore.EObject,- org.eclipse.core.runtime.jobs.ISchedulingRule,- org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
- WorkspaceImpl
public interface Workspace
extends org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.jobs.ISchedulingRule
 A representation of the model object '
 Workspace'. 
  Maps
 
ResourceSet to
 IWorkspaceRoot. 
 The following features are supported:
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptioncontains(org.eclipse.emf.ecore.EObject blueprint) createContribution(org.eclipse.emf.ecore.EObject blueprint, org.eclipse.core.runtime.IProgressMonitor monitor) Create new Contribution.createProject(String name, org.eclipse.core.runtime.IProgressMonitor monitor) Create Project.voidgetContribution(String projectName) Lookup Contribution by underlying project resource name.getContribution(String nsURI, Stage filter) Lookup Contribution by underlying project resource name.getContribution(org.eclipse.emf.ecore.EObject eObject) Lookup workspace Contribution by any type of EObject contained.getContribution(org.eclipse.emf.ecore.EObject eObject, boolean searchOptimistic) Lookup workspace Contribution by model EPackage.getContribution(org.eclipse.emf.ecore.EObject eObject, Stage filter) Lookup workspace Contribution by model EPackage.getContribution(org.eclipse.emf.ecore.EObject eObject, Stage filter, boolean searchOptimistic) Lookup workspace Contribution by model EPackage.org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> Returns the value of the 'Customizers' map.org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage>Returns the value of the 'Excluded EPackages' reference list.org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> Returns the value of the 'Non Exclusive Customizers' map.getProject(String name) Lookup project by name.getProject(org.eclipse.emf.ecore.EObject eObject) Lookup project by name.getProject(org.eclipse.emf.ecore.resource.Resource resource) Lookup project by name.org.eclipse.emf.common.util.EList<Project>Returns the value of the 'Projects' containment reference list.org.eclipse.emf.ecore.resource.ResourceSetReturns the value of the 'Resource Set' attribute.SCMRegistry<?>Returns the value of the 'SCM Registry' reference.Returns the value of the 'Service' container reference.voidInitializes Workspace.voidprovision(org.eclipse.core.runtime.IProgressMonitor monitor) Provision target platform.voidregisterProject(Project project) voidsetService(ClassMakerService value) Sets the value of the 'Service' container reference.voidunregisterProject(Project project) Methods inherited from interface org.eclipse.emf.ecore.EObjecteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRulecontains, isConflictingMethods inherited from interface org.eclipse.emf.common.notify.NotifiereAdapters, eDeliver, eNotify, eSetDeliver
- 
Method Details- 
getProjectsorg.eclipse.emf.common.util.EList<Project> getProjects()Returns the value of the 'Projects' containment reference list. The list contents are of typeProject. It is bidirectional and its opposite is 'Workspace'.If the meaning of the 'Projects' containment reference list isn't clear, there really should be more of a description here... Projectscontained in the Workspace.- Returns:
- the value of the 'Projects' containment reference list.
- See Also:
 
- 
getResourceSetorg.eclipse.emf.ecore.resource.ResourceSet getResourceSet()Returns the value of the 'Resource Set' attribute.If the meaning of the 'Resource Set' attribute isn't clear, there really should be more of a description here... - Returns:
- the value of the 'Resource Set' attribute.
- See Also:
- 
- org.enterprisedomain.EnterpriseDomainPackage#getWorkspace_ResourceSet()
 
 
- 
getCustomizersorg.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getCustomizers()Returns the value of the 'Customizers' map. The key is of typeStageQualifier, and the value is of typeCustomizer,Customizers collection.- Returns:
- the value of the 'Customizers' map.
- See Also:
 
- 
getNonExclusiveCustomizersorg.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getNonExclusiveCustomizers()Returns the value of the 'Non Exclusive Customizers' map. The key is of typeStageQualifier, and the value is of typeCustomizer,- Returns:
- the value of the 'Non Exclusive Customizers' map.
- See Also:
 
- 
getServiceClassMakerService getService()Returns the value of the 'Service' container reference. It is bidirectional and its opposite is 'Workspace'.If the meaning of the 'Service' reference isn't clear, there really should be more of a description here... - Returns:
- the value of the 'Service' container reference.
- See Also:
 
- 
setServiceSets the value of the 'Service' container reference.- Parameters:
- value- the new value of the 'Service' container reference.
- See Also:
 
- 
getSCMRegistrySCMRegistry<?> getSCMRegistry()Returns the value of the 'SCM Registry' reference. TheSCMRegistry.- Returns:
- the value of the 'SCM Registry' reference.
- See Also:
 
- 
getExcludedEPackagesorg.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getExcludedEPackages()Returns the value of the 'Excluded EPackages' reference list. The list contents are of typeEPackage.- Returns:
- the value of the 'Excluded EPackages' reference list.
- See Also:
 
- 
initializevoid initialize()Initializes Workspace.
- 
provisionvoid provision(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Provision target platform.- Throws:
- org.eclipse.core.runtime.CoreException
 
- 
createProjectProject createProject(String name, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Create Project.- Throws:
- org.eclipse.core.runtime.CoreException
 
- 
createContributionContribution createContribution(org.eclipse.emf.ecore.EObject blueprint, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Create new Contribution.- Throws:
- org.eclipse.core.runtime.CoreException
 
- 
getContributionLookup workspace Contribution by any type of EObject contained.
- 
getContributionLookup workspace Contribution by model EPackage.- Parameters:
- searchOptimistic- true if use OR while EPackage comparison, overwise use AND.
 
- 
getContributionLookup workspace Contribution by model EPackage.- Parameters:
- filter- returns blueprint EPackage if Stage is less or equal MODELED, generated if it equals LOADED.
 
- 
getContributionContribution getContribution(org.eclipse.emf.ecore.EObject eObject, Stage filter, boolean searchOptimistic) Lookup workspace Contribution by model EPackage.- Parameters:
- 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.
 
- 
getContributionLookup Contribution by underlying project resource name.
- 
getContributionLookup Contribution by underlying project resource name.
- 
getProjectLookup project by name.
- 
getProjectLookup project by name.
- 
getProjectLookup project by name.
- 
registerProject
- 
unregisterProject
- 
contains
- 
deletevoid delete(Object object, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
- org.eclipse.core.runtime.CoreException
 
 
-