Interface Project
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.core.runtime.jobs.ISchedulingRule,Item,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
Contribution
- All Known Implementing Classes:
ContributionImpl,ProjectImpl
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompletionListener(CompletionListener resultListener) voidaddResourceChangeListener(ResourceChangeListener resourceListener) voidcheckout(long timestamp) voidvoidvoidcheckout(org.osgi.framework.Version version) voidcheckout(org.osgi.framework.Version version, long timestamp) voidvoidclose(org.eclipse.core.runtime.IProgressMonitor monitor) voidcreate(org.eclipse.core.runtime.IProgressMonitor monitor) createRevision(org.eclipse.core.runtime.IProgressMonitor monitor) voiddelete(org.eclipse.core.runtime.IProgressMonitor monitor) voidvoiddoNewRevision(Revision newRevision) org.eclipse.emf.common.util.EList<Object>Returns the value of the 'Children' attribute list.Returns the value of the 'Completion Notification Adapter' containment reference.Returns the value of the 'Model Resource Adapter' containment reference.getName()Returns the value of the 'Name' attribute.Returns the value of the 'Project Name' attribute.org.osgi.framework.VersionReturns the value of the 'Project Version' attribute.Returns the value of the 'Resource Path' attribute.Returns the value of the 'Resource Reload Listener' reference.Returns the value of the 'Revision' reference.org.eclipse.emf.common.util.EMap<org.osgi.framework.Version,Revision> Returns the value of the 'Revisions' map.Returns the value of the 'Select Reveal Handler' reference.getState()Returns the value of the 'State' reference.org.osgi.framework.VersionReturns the value of the 'Version' attribute.Returns the value of the 'Workspace' container reference.voidinitAdapters(Revision revision) initialize(boolean commit) Initializes Project.booleanisDirty()Returns the value of the 'Dirty' attribute.booleanReturns the value of the 'Need Completion Notification' attribute.booleanReturns the value of the 'Saving Resource' attribute.make(org.eclipse.core.runtime.IProgressMonitor monitor) newBareRevision(org.osgi.framework.Version version) newRevision(org.osgi.framework.Version version) org.osgi.framework.VersionnewVersion(boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) org.osgi.framework.VersionnewVersion(org.osgi.framework.Version base, boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) org.osgi.framework.VersionvoidvoidnotifyResourceChanged(org.eclipse.emf.common.notify.Notification notification) booleanopen(org.eclipse.core.runtime.IProgressMonitor monitor) voidremoveCompletionListener(CompletionListener resultListener) voidremoveResourceChangeListener(ResourceChangeListener resourceListener) voidSets the value of the 'Completion Notification Adapter' containment reference.voidsetDirty(boolean value) Sets the value of the 'Dirty' attribute.voidSets the value of the 'Name' attribute.voidsetNeedCompletionNotification(boolean value) Sets the value of the 'Need Completion Notification' attribute.voidsetProjectName(String value) Sets the value of the 'Project Name' attribute.voidsetProjectVersion(org.osgi.framework.Version value) Sets the value of the 'Project Version' attribute.voidsetRevision(Revision value) Sets the value of the 'Revision' reference.voidsetSavingResource(boolean value) Sets the value of the 'Saving Resource' attribute.voidSets the value of the 'Select Reveal Handler' reference.voidsetVersion(org.osgi.framework.Version value) Sets the value of the 'Version' attribute.voidsetWorkspace(Workspace value) Sets the value of the 'Workspace' container reference.Methods 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.core.runtime.jobs.ISchedulingRule
contains, isConflictingMethods inherited from interface org.enterprisedomain.classmaker.Item
build, copyModel, getCustomizers, getDomainModel, getLanguage, getLocale, getModelName, getParent, getPhase, getProject, load, setDomainModel, setLanguage, setLocale, setModelName, setParent, setPhase, setProjectMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getName
String getName()Returns the value of the 'Name' attribute. The default value is"".If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
A name of the Project.- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
-
getProjectName
String getProjectName()Returns the value of the 'Project Name' attribute. The default value is"".If the meaning of the 'Project Name' attribute isn't clear, there really should be more of a description here...
A name of theIProjectto which the Project is mapped to.- Returns:
- the value of the 'Project Name' attribute.
- See Also:
-
setProjectName
Sets the value of the 'Project Name' attribute.- Parameters:
value- the new value of the 'Project Name' attribute.- See Also:
-
getChildren
org.eclipse.emf.common.util.EList<Object> getChildren()Returns the value of the 'Children' attribute list. The list contents are of typeObject.If the meaning of the 'Children' attribute list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Children' attribute list.
- See Also:
-
isDirty
boolean isDirty()Returns the value of the 'Dirty' attribute.If the meaning of the 'Dirty' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Dirty' attribute.
- See Also:
-
org.enterprisedomain.EnterpriseDomainPackage#getProject_Dirty()
-
setDirty
void setDirty(boolean value) Sets the value of the 'Dirty' attribute.- Parameters:
value- the new value of the 'Dirty' attribute.- See Also:
-
getWorkspace
Workspace getWorkspace()Returns the value of the 'Workspace' container reference. It is bidirectional and its opposite is 'Projects'.If the meaning of the 'Workspace' container reference isn't clear, there really should be more of a description here...
Reference to Project's containingWorkspace.- Returns:
- the value of the 'Workspace' container reference.
- See Also:
-
setWorkspace
Sets the value of the 'Workspace' container reference.- Parameters:
value- the new value of the 'Workspace' container reference.- See Also:
-
getResourcePath
String getResourcePath()Returns the value of the 'Resource Path' attribute.If the meaning of the 'Resource Path' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Resource Path' attribute.
- See Also:
-
isNeedCompletionNotification
boolean isNeedCompletionNotification()Returns the value of the 'Need Completion Notification' attribute. Set totruewhen completion notification is needed.- Returns:
- the value of the 'Need Completion Notification' attribute.
- See Also:
-
setNeedCompletionNotification
void setNeedCompletionNotification(boolean value) Sets the value of the 'Need Completion Notification' attribute.- Parameters:
value- the new value of the 'Need Completion Notification' attribute.- See Also:
-
getCompletionNotificationAdapter
CompletionNotificationAdapter getCompletionNotificationAdapter()Returns the value of the 'Completion Notification Adapter' containment reference.If the meaning of the 'Completion Notification Adapter' reference isn't clear, there really should be more of a description here...
CompletionNotificationAdapter for Project's operations.- Returns:
- the value of the 'Completion Notification Adapter' containment reference.
- See Also:
-
setCompletionNotificationAdapter
Sets the value of the 'Completion Notification Adapter' containment reference.- Parameters:
value- the new value of the 'Completion Notification Adapter' containment reference.- See Also:
-
getResourceReloadListener
ResourceChangeListener getResourceReloadListener()Returns the value of the 'Resource Reload Listener' reference.If the meaning of the 'Resource Reload Listener' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Resource Reload Listener' reference.
- See Also:
-
isSavingResource
boolean isSavingResource()Returns the value of the 'Saving Resource' attribute. The default value is"false".If the meaning of the 'Saving Resource' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Saving Resource' attribute.
- See Also:
-
setSavingResource
void setSavingResource(boolean value) Sets the value of the 'Saving Resource' attribute.- Parameters:
value- the new value of the 'Saving Resource' attribute.- See Also:
-
getRevision
Revision getRevision()Returns the value of the 'Revision' reference. Currently checked out Revision.- Returns:
- the value of the 'Revision' reference.
- See Also:
-
setRevision
Sets the value of the 'Revision' reference.- Parameters:
value- the new value of the 'Revision' reference.- See Also:
-
getRevisions
org.eclipse.emf.common.util.EMap<org.osgi.framework.Version,Revision> getRevisions()Returns the value of the 'Revisions' map. The key is of typeVersion, and the value is of typeRevision, Collection of Contribution's Revision's- Returns:
- the value of the 'Revisions' map.
- See Also:
-
getProjectVersion
org.osgi.framework.Version getProjectVersion()Returns the value of the 'Project Version' attribute. AVersionof the Item.- Returns:
- the value of the 'Project Version' attribute.
- See Also:
-
setProjectVersion
void setProjectVersion(org.osgi.framework.Version value) Sets the value of the 'Project Version' attribute.- Parameters:
value- the new value of the 'Project Version' attribute.- See Also:
-
getSelectRevealHandler
SelectRevealHandler getSelectRevealHandler()Returns the value of the 'Select Reveal Handler' reference.If the meaning of the 'Select Reveal Handler' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Select Reveal Handler' reference.
- See Also:
-
setSelectRevealHandler
Sets the value of the 'Select Reveal Handler' reference.- Parameters:
value- the new value of the 'Select Reveal Handler' reference.- See Also:
-
getVersion
org.osgi.framework.Version getVersion()Returns the value of the 'Version' attribute. AVersionof the Item.- Returns:
- the value of the 'Version' attribute.
- See Also:
-
setVersion
void setVersion(org.osgi.framework.Version value) Sets the value of the 'Version' attribute.- Parameters:
value- the new value of the 'Version' attribute.- See Also:
-
getState
State getState()Returns the value of the 'State' reference. Currently checked out State.- Returns:
- the value of the 'State' reference.
- See Also:
-
getModelResourceAdapter
ResourceAdapter getModelResourceAdapter()Returns the value of the 'Model Resource Adapter' containment reference. It is bidirectional and its opposite is 'Project'. AResourceAdapterfor Project.- Returns:
- the value of the 'Model Resource Adapter' containment reference.
- See Also:
-
create
void create(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
createRevision
Revision createRevision(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
delete
void delete(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
delete
-
make
String make(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
open
boolean open(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
close
void close(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
initialize
Initializes Project. Callsinitializeon contained Items.- Specified by:
initializein interfaceItem- Parameters:
commit- whether to perform commit- Returns:
- commit Id
-
addCompletionListener
-
removeCompletionListener
-
notifyCompletion
- Throws:
Exception
-
notifyResourceChanged
void notifyResourceChanged(org.eclipse.emf.common.notify.Notification notification) throws Exception - Throws:
Exception
-
addResourceChangeListener
-
removeResourceChangeListener
-
newRevision
-
newBareRevision
-
doNewRevision
-
newVersion
org.osgi.framework.Version newVersion(org.osgi.framework.Version base, boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
newVersion
org.osgi.framework.Version newVersion(boolean incrementMajor, boolean incrementMinor, boolean incrementMicro) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
nextVersion
org.osgi.framework.Version nextVersion() throws org.eclipse.core.runtime.CoreException- Throws:
org.eclipse.core.runtime.CoreException
-
checkout
void checkout(org.osgi.framework.Version version) -
checkout
void checkout(org.osgi.framework.Version version, long timestamp) -
checkout
-
checkout
void checkout(long timestamp) -
checkout
-
checkout
-
initAdapters
-