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

public interface Project extends org.eclipse.core.runtime.jobs.ISchedulingRule, Item
See Also:
  • 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

      void setName(String value)
      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 the IProject to which the Project is mapped to.
      Returns:
      the value of the 'Project Name' attribute.
      See Also:
    • setProjectName

      void setProjectName(String value)
      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 type Object.

      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 containing Workspace.
      Returns:
      the value of the 'Workspace' container reference.
      See Also:
    • setWorkspace

      void setWorkspace(Workspace value)
      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 to true when 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

      void setCompletionNotificationAdapter(CompletionNotificationAdapter value)
      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

      void setRevision(Revision value)
      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 type Version, and the value is of type Revision, 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. A Version of 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

      void setSelectRevealHandler(SelectRevealHandler value)
      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. A Version of 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'. A ResourceAdapter for 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

      void delete(org.eclipse.emf.common.util.EList<Object> objects)
    • make

      String make(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Specified by:
      make in interface Item
      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

      String initialize(boolean commit)
      Initializes Project. Calls initialize on contained Items.
      Specified by:
      initialize in interface Item
      Parameters:
      commit - whether to perform commit
      Returns:
      commit Id
    • addCompletionListener

      void addCompletionListener(CompletionListener resultListener)
    • removeCompletionListener

      void removeCompletionListener(CompletionListener resultListener)
    • notifyCompletion

      void notifyCompletion() throws Exception
      Throws:
      Exception
    • notifyResourceChanged

      void notifyResourceChanged(org.eclipse.emf.common.notify.Notification notification) throws Exception
      Throws:
      Exception
    • addResourceChangeListener

      void addResourceChangeListener(ResourceChangeListener resourceListener)
    • removeResourceChangeListener

      void removeResourceChangeListener(ResourceChangeListener resourceListener)
    • newRevision

      Revision newRevision(org.osgi.framework.Version version)
    • newBareRevision

      Revision newBareRevision(org.osgi.framework.Version version)
    • doNewRevision

      void doNewRevision(Revision newRevision)
    • 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

      void checkout(org.osgi.framework.Version version, long timestamp, String commitId)
    • checkout

      void checkout(long timestamp)
    • checkout

      void checkout(long timestamp, String commitId)
    • checkout

      void checkout(String commitId)
    • initAdapters

      void initAdapters(Revision revision)