ch.elexis.images
Class XChangeContributor
java.lang.Object
ch.elexis.images.XChangeContributor
- All Implemented Interfaces:
- IExchangeContributor
public class XChangeContributor
- extends java.lang.Object
- implements IExchangeContributor
Field Summary |
static java.lang.String |
PLUGIN_ID
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
- See Also:
- Constant Field Values
XChangeContributor
public XChangeContributor()
exportHook
public void exportHook(MedicalElement me)
- Description copied from interface:
IExchangeContributor
- An Element is to be exported. The method can contribute its own data
- Specified by:
exportHook
in interface IExchangeContributor
importHook
public void importHook(XChangeContainer container,
PersistentObject context)
- Description copied from interface:
IExchangeContributor
- An Element ist to be imported. The method can fetch data it can handle
- Specified by:
importHook
in interface IExchangeContributor
- Parameters:
container
- the source container
setInitializationData
public void setInitializationData(IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
throws CoreException
- Throws:
CoreException
init
public boolean init(MedicalElement me,
boolean bExport)
- Description copied from interface:
IExchangeContributor
- Perform any needed initialization before the first call
- Specified by:
init
in interface IExchangeContributor
- Parameters:
me
- : The Medical into/from wich the transfer will happenbExport
- : true: export is about to begin. False: import is about to begin
- Returns:
- false: skip me. True: ok, go on
Copyright 2005-2011 by Gerry Weirich, Elexis