|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICodeSelectorTarget
An ICodeSelectorTarget can receive objects from CodeSelector lists when they are selected. GlobalEvents allows to register exactly one ICodeSelectorTarget at a time. This one receives the selected target. A ICodeSelectorTarget should register itself to GlobalEvents and then activate the appropriate view for code selection. It should unregister itself as soon as possible. Since the code selection itself is an asynchronous process, it's difficult to say which is the right place for this. A good idea would be when the view is hidden and when the view gets the focus.
Method Summary | |
---|---|
void |
codeSelected(IPersistentObject obj)
Callback to send the selected object to the ICodeSelectorTarget. |
java.lang.String |
getName()
Return a human readable name of the target, e. g. the name of a View. |
void |
registered(boolean registered)
Callback to tell the ICodeSelectorTarget that it has been registered or unregistered. |
Method Detail |
---|
java.lang.String getName()
void codeSelected(IPersistentObject obj)
obj
- the selected objectvoid registered(boolean registered)
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |