ch.medshare.ebm
Class SearchAction
java.lang.Object
Action
ch.medshare.ebm.SearchAction
- All Implemented Interfaces:
- IRangeHandler
public class SearchAction
- extends Action
- implements IRangeHandler
Field Summary |
static java.lang.String |
ID
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
SearchAction
public SearchAction()
attached
public java.lang.String attached(IRichTextDisplay tf)
- Specified by:
attached
in interface IRangeHandler
run
public void run()
dispose
public void dispose()
execute
public java.lang.Object execute(ExecutionEvent event)
throws ExecutionException
- Throws:
ExecutionException
removeHandlerListener
public void removeHandlerListener(IHandlerListener handlerListener)
addHandlerListener
public void addHandlerListener(IHandlerListener handlerListener)
canRender
public boolean canRender(java.lang.String rangeType,
IRangeHandler.OUTPUT outputType)
- Description copied from interface:
IRangeHandler
- Ask whether this IRangeRenderer can create output of a specific type
- Specified by:
canRender
in interface IRangeHandler
- Parameters:
rangeType
- the type of the Range to renderoutputType
- teh type of desired output
- Returns:
doRender
public java.lang.Object doRender(SSDRange range,
IRangeHandler.OUTPUT outputType,
IRichTextDisplay display)
throws ElexisException
- Description copied from interface:
IRangeHandler
- creaste a visual representation of a Range in a given type
- Specified by:
doRender
in interface IRangeHandler
- Parameters:
range
- the Range to renderoutputType
- the desired type of output
- Returns:
- an output specific result.
- Throws:
ElexisException
onSelection
public boolean onSelection(Composite comp,
SSDRange range)
- Description copied from interface:
IRangeHandler
- The user double-clicked or selected the specified range
- Specified by:
onSelection
in interface IRangeHandler
range
- the range that was selected by the user
- Returns:
inserted
public boolean inserted(SSDRange range,
IPersistentObject object,
java.lang.Object context)
- Description copied from interface:
IRangeHandler
- The user inserted an Object into a context (e.g. drag&drop)
- Specified by:
inserted
in interface IRangeHandler
- Parameters:
range
- the SSDRange describing the place of insertioncontext
- the context the range was inserted into
- Returns:
- if this handler consumed the object
removed
public void removed(SSDRange range,
java.lang.Object context)
- Description copied from interface:
IRangeHandler
- The user removed a Range from a context
- Specified by:
removed
in interface IRangeHandler
- Parameters:
range
- the range that was removedcontext
- the context it was removed from
Copyright 2005-2011 by Gerry Weirich, Elexis