com.ontimize.dms.client.gui.chooser
Class IMDocumentSelection
java.lang.Object
BasicInteractionManager
com.ontimize.dms.client.gui.chooser.IMDocumentSelection
- All Implemented Interfaces:
- DocumentSelection
public class IMDocumentSelection
- extends BasicInteractionManager
- implements DocumentSelection
Default interaction manager to select documents in the DMS component
(if avaliable in the related form).
- Since:
- 31/03/2009
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_KEY
protected static final java.lang.String COMPONENT_KEY
- See Also:
- Constant Field Values
CHECK_LINK_KEY
protected static final java.lang.String CHECK_LINK_KEY
- See Also:
- Constant Field Values
BUTTON_ACCEPT_KEY
protected static final java.lang.String BUTTON_ACCEPT_KEY
- See Also:
- Constant Field Values
BUTTON_CANCEL_KEY
protected static final java.lang.String BUTTON_CANCEL_KEY
- See Also:
- Constant Field Values
component
protected ODMSComponent component
check
protected CheckDataField check
accept
protected Button accept
cancel
protected Button cancel
selected
protected Document[] selected
type
protected int type
option
protected int option
IMDocumentSelection
public IMDocumentSelection()
registerInteractionManager
public void registerInteractionManager(Form f,
FormManager fm)
setInitialState
public void setInitialState()
init
protected void init()
isSelectionEmpty
public boolean isSelectionEmpty()
- Specified by:
isSelectionEmpty in interface DocumentSelection
getSelected
public java.lang.Object getSelected()
- Description copied from interface:
DocumentSelection
Returns the selected items in the viewer.
- Specified by:
getSelected in interface DocumentSelection
- Returns:
- Selected items.
getType
public int getType()
- Specified by:
getType in interface DocumentSelection
getOption
public int getOption()
- Specified by:
getOption in interface DocumentSelection