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 Summary
Modifier 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.void
getContribution
(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.ResourceSet
Returns the value of the 'Resource Set' attribute.SCMRegistry<?>
Returns the value of the 'SCM Registry' reference.Returns the value of the 'Service' container reference.void
Initializes Workspace.void
provision
(org.eclipse.core.runtime.IProgressMonitor monitor) Provision target platform.void
registerProject
(Project project) void
setService
(ClassMakerService value) Sets the value of the 'Service
' container reference.void
unregisterProject
(Project project) 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.core.runtime.jobs.ISchedulingRule
contains, isConflicting
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getProjects
org.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...
Projects
contained in the Workspace.- Returns:
- the value of the 'Projects' containment reference list.
- See Also:
-
getResourceSet
org.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()
-
getCustomizers
org.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
,Customizer
s collection.- Returns:
- the value of the 'Customizers' map.
- See Also:
-
getNonExclusiveCustomizers
org.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:
-
getService
ClassMakerService 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:
-
setService
Sets the value of the 'Service
' container reference.- Parameters:
value
- the new value of the 'Service' container reference.- See Also:
-
getSCMRegistry
SCMRegistry<?> getSCMRegistry()Returns the value of the 'SCM Registry' reference. TheSCMRegistry
.- Returns:
- the value of the 'SCM Registry' reference.
- See Also:
-
getExcludedEPackages
org.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:
-
initialize
void initialize()Initializes Workspace. -
provision
void provision(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Provision target platform.- Throws:
org.eclipse.core.runtime.CoreException
-
createProject
Project createProject(String name, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Create Project.- Throws:
org.eclipse.core.runtime.CoreException
-
createContribution
Contribution 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
-
getContribution
Lookup workspace Contribution by any type of EObject contained. -
getContribution
Lookup workspace Contribution by model EPackage.- Parameters:
searchOptimistic
- true if use OR while EPackage comparison, overwise use AND.
-
getContribution
Lookup workspace Contribution by model EPackage.- Parameters:
filter
- returns blueprint EPackage if Stage is less or equal MODELED, generated if it equals LOADED.
-
getContribution
Contribution 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.
-
getContribution
Lookup Contribution by underlying project resource name. -
getContribution
Lookup Contribution by underlying project resource name. -
getProject
Lookup project by name. -
getProject
Lookup project by name. -
getProject
Lookup project by name. -
registerProject
-
unregisterProject
-
contains
-
delete
void delete(Object object, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-