org.eclipse.stp.core.resources
Class CompositeScribblerDomain

java.lang.Object
  extended by org.eclipse.stp.core.infrastructure.emf.DefaultScribblerDomain
      extended by org.eclipse.stp.core.resources.SOACoreScribblerDomain
          extended by org.eclipse.stp.core.resources.CompositeScribblerDomain
All Implemented Interfaces:
IScribblerDomain

public class CompositeScribblerDomain
extends SOACoreScribblerDomain
implements IScribblerDomain


Constructor Summary
CompositeScribblerDomain(IFile aComposite)
           
 
Method Summary
 IEditModelScribbler createScribblerForRead()
           
 IEditModelScribbler createScribblerForWrite()
           
static java.lang.String generateEditModelLabel(IProject project)
           
 IResourceDescriptor getCompositeDescriptor()
           
 IProject getProject()
           
 IResourceDescriptor[] getResourceDescriptors()
          Defines the interesting set of ResourceDescriptors for this IEditingDomain.
 boolean isContained(Resource aResource)
          Returns true if the aResourceDescriptor is contained by this IEditingDomain.
 
Methods inherited from class org.eclipse.stp.core.resources.SOACoreScribblerDomain
getEditModelLabel
 
Methods inherited from class org.eclipse.stp.core.infrastructure.emf.DefaultScribblerDomain
addTechnologyFlavorLifecycle, getLabel, getTechnologyFlavorLifecycle, getTechnologyFlavorLifecycles, matches
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.stp.core.infrastructure.emf.IScribblerDomain
addTechnologyFlavorLifecycle, getEditModelLabel, getTechnologyFlavorLifecycle, getTechnologyFlavorLifecycles
 

Constructor Detail

CompositeScribblerDomain

public CompositeScribblerDomain(IFile aComposite)
Method Detail

isContained

public boolean isContained(Resource aResource)
Description copied from interface: IScribblerDomain
Returns true if the aResourceDescriptor is contained by this IEditingDomain.

Replaces EditModel.isInterrestedInResource().

Specified by:
isContained in interface IScribblerDomain
Overrides:
isContained in class DefaultScribblerDomain
Returns:

createScribblerForRead

public IEditModelScribbler createScribblerForRead()
                                           throws EditModelException
Throws:
EditModelException

createScribblerForWrite

public IEditModelScribbler createScribblerForWrite()
                                            throws EditModelException
Throws:
EditModelException

getResourceDescriptors

public IResourceDescriptor[] getResourceDescriptors()
Description copied from interface: IScribblerDomain
Defines the interesting set of ResourceDescriptors for this IEditingDomain.

Specified by:
getResourceDescriptors in interface IScribblerDomain
Returns:

getCompositeDescriptor

public IResourceDescriptor getCompositeDescriptor()

getProject

public IProject getProject()

generateEditModelLabel

public static java.lang.String generateEditModelLabel(IProject project)