org.ucworkbench.model.usecase
Interface IExtension

All Superinterfaces:
IIdentifiable, INumberable, INumberableScenarioable, IRegion, IScenarioable, IScenarioItem, ITextModel, ITitleable, IUCElement, IUseCaseElement

public interface IExtension
extends IScenarioItem

Extension objects extend main scenarios, and provides a mechanism to define alternative scenarios.


Field Summary
 
Fields inherited from interface org.ucworkbench.model.usecase.IScenarioItem
SCREEN
 
Method Summary
 java.util.List<org.ucworkbench.model.usecase.impl.Step> getParentSteps()
          Returns a list of steps the extension is assigned to (can be assigned to many steps.
 IStep getParentStepSingle()
          Returns the first step which the extension is connected to.
 IScenario getScenario()
           
 org.ucworkbench.model.impl.TextWithReferences getTitle()
           
 IWhitespace getWhitespaceBeforeNumber()
          Returns whitespace that occurs before number.
 
Methods inherited from interface org.ucworkbench.model.usecase.IScenarioItem
getAdornments, getParentScenarioItem, getScreen, getUUID, saveAdornments
 
Methods inherited from interface org.ucworkbench.model.usecase.IUseCaseElement
getUseCase
 
Methods inherited from interface org.ucworkbench.model.usecase.supporting.ITitleable
setTitle
 
Methods inherited from interface org.ucworkbench.model.ITextModel
containsOffset, getAsText, getCorrespondingFileModel, getModelElementByOffset, getParent, getTextModelChildren
 
Methods inherited from interface org.ucworkbench.model.IUCElement
accept, childrenAccept, exists, getAncestor, getChildren, getCorrespondingResource, getElementName, getElementType, getPath, getUCProject, getUnderlyingResource
 
Methods inherited from interface org.ucworkbench.model.supporting.IRegion
getLength, getOffset
 
Methods inherited from interface org.ucworkbench.model.usecase.supporting.INumberable
getNumber, setNumber
 
Methods inherited from interface org.ucworkbench.model.ITextModel
containsOffset, getAsText, getCorrespondingFileModel, getModelElementByOffset, getParent, getTextModelChildren
 
Methods inherited from interface org.ucworkbench.model.IUCElement
accept, childrenAccept, exists, getAncestor, getChildren, getCorrespondingResource, getElementName, getElementType, getPath, getUCProject, getUnderlyingResource
 
Methods inherited from interface org.ucworkbench.model.supporting.IRegion
getLength, getOffset
 
Methods inherited from interface org.ucworkbench.model.usecase.supporting.IScenarioable
setScenario
 
Methods inherited from interface org.ucworkbench.model.ITextModel
containsOffset, getAsText, getCorrespondingFileModel, getModelElementByOffset, getParent, getTextModelChildren
 
Methods inherited from interface org.ucworkbench.model.IUCElement
accept, childrenAccept, exists, getAncestor, getChildren, getCorrespondingResource, getElementName, getElementType, getPath, getUCProject, getUnderlyingResource
 
Methods inherited from interface org.ucworkbench.model.supporting.IRegion
getLength, getOffset
 
Methods inherited from interface org.ucworkbench.model.IIdentifiable
getID
 

Method Detail

getParentSteps

java.util.List<org.ucworkbench.model.usecase.impl.Step> getParentSteps()
Returns a list of steps the extension is assigned to (can be assigned to many steps. Currently extensions belong only to one step, so the list will have only 1 element.

Returns:

getTitle

org.ucworkbench.model.impl.TextWithReferences getTitle()
Specified by:
getTitle in interface ITitleable

getScenario

IScenario getScenario()
Specified by:
getScenario in interface IScenarioable

getWhitespaceBeforeNumber

IWhitespace getWhitespaceBeforeNumber()
Description copied from interface: IScenarioItem
Returns whitespace that occurs before number.

Specified by:
getWhitespaceBeforeNumber in interface IScenarioItem
Returns:

getParentStepSingle

IStep getParentStepSingle()
Returns the first step which the extension is connected to.

Returns: