|
Elexis API documentation as of September 4 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRangeHandler
An IRangeHandler can add, display and act upon clicking on SSDRanges. It registers itself for one ore more types of SSDRanges It can display supported SSDRanges on zero or more output types An IRangeHandler is connected to the framework with the ExtensionPoint ch.elexis.ServiceRegistry as a Service with the name "TextContentsExtension".
Nested Class Summary | |
---|---|
static class |
IRangeHandler.OUTPUT
|
Method Summary | |
---|---|
boolean |
canRender(java.lang.String rangeType,
IRangeHandler.OUTPUT outputType)
Ask whether this IRangeRenderer can create output of a specific type |
java.lang.Object |
doRender(SSDRange range,
IRangeHandler.OUTPUT outputType,
IRichTextDisplay display)
creaste a visual representation of a Range in a given type |
IAction[] |
getActions(java.lang.String rangeType)
return an array of actions that are possible on these ranges |
void |
inserted(SSDRange range,
java.lang.Object context)
The user inserted a Range into a context (e.g. drag&drop) |
boolean |
onSelection(SSDRange range)
The user double-clicked or selected the specified range |
void |
removed(SSDRange range,
java.lang.Object context)
The user removed a Range from a context |
Method Detail |
---|
boolean canRender(java.lang.String rangeType, IRangeHandler.OUTPUT outputType)
rangeType
- the type of the Range to renderoutputType
- teh type of desired output
java.lang.Object doRender(SSDRange range, IRangeHandler.OUTPUT outputType, IRichTextDisplay display) throws ElexisException
range
- the Range to renderoutputType
- the desired type of output
ElexisException
IAction[] getActions(java.lang.String rangeType)
rangeType
- the type of ranges in question
boolean onSelection(SSDRange range)
range
- the range that was selected by the user
void inserted(SSDRange range, java.lang.Object context)
range
- the SSDRange that was insertedcontext
- the context the range was inserted intovoid removed(SSDRange range, java.lang.Object context)
range
- the range that was removedcontext
- the context it was removed from
|
Elexis API documentation as of September 4 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |