org.eclipse.stp.core.resources
Class SOACoreScribblerDomain

java.lang.Object
  extended by org.eclipse.stp.core.infrastructure.emf.DefaultScribblerDomain
      extended by org.eclipse.stp.core.resources.SOACoreScribblerDomain
All Implemented Interfaces:
IScribblerDomain
Direct Known Subclasses:
ComponentTypeScribblerDomain, CompositeScribblerDomain, SubsystemScribblerDomain

public abstract class SOACoreScribblerDomain
extends DefaultScribblerDomain
implements IScribblerDomain


Constructor Summary
SOACoreScribblerDomain(IProject theContainingProject)
           
 
Method Summary
 java.lang.String getEditModelLabel()
          The edit model label will be used to identify the relevant edit model that should be used when creating an IEditModelScribbler from this IScribblerDomain.
 
Methods inherited from class org.eclipse.stp.core.infrastructure.emf.DefaultScribblerDomain
addTechnologyFlavorLifecycle, getLabel, getTechnologyFlavorLifecycle, getTechnologyFlavorLifecycles, isContained, 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, getResourceDescriptors, getTechnologyFlavorLifecycle, getTechnologyFlavorLifecycles, isContained
 

Constructor Detail

SOACoreScribblerDomain

public SOACoreScribblerDomain(IProject theContainingProject)
Method Detail

getEditModelLabel

public java.lang.String getEditModelLabel()
Description copied from interface: IScribblerDomain
The edit model label will be used to identify the relevant edit model that should be used when creating an IEditModelScribbler from this IScribblerDomain. The edit model label should be specific to a logical collection of resources corresponding to a logical type of edit model. For example, assume we have a project named "FooBar" with three logical modules named "EjbM1", "EjbM2", and "WebM3" of types "ejb", "ejb", and "web". Then we might choose "FooBar.EjbM1.ejb" as the edit model label for the EJB edit model for FooBar/EjbM1. The WebM3 module might define two relevant edit model labels, one for the "web" stuff and one for the "webservice" stuff. We might label these two edit models as "FooBar.WebM3.web" and "FooBar.WebM3.webservice" respectively. Clients may rely on this method for establishing the specific IEditModel of interest when using IEditModelFactory.createScribblerForRead(IProject, IScribblerDomain). Clients must still explicitly supply an IEditModel label when using any API that takes an array of IScribblerDomains.

Specified by:
getEditModelLabel in interface IScribblerDomain
Returns:
A label for the edit model that should be used when creating IEditModelScribblers from this IScribblerDomain.