Ontimize Document Management 0.035EN

com.ontimize.dms.client.gui.chooser
Class IMDocumentSelection

java.lang.Object
  extended by BasicInteractionManager
      extended by 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

Field Summary
protected  Button accept
           
protected static java.lang.String BUTTON_ACCEPT_KEY
           
protected static java.lang.String BUTTON_CANCEL_KEY
           
protected  Button cancel
           
protected  CheckDataField check
           
protected static java.lang.String CHECK_LINK_KEY
           
protected  ODMSComponent component
           
protected static java.lang.String COMPONENT_KEY
           
protected  int option
           
protected  Document[] selected
           
protected  int type
           
 
Fields inherited from interface com.ontimize.dms.client.gui.chooser.DocumentSelection
TYPE_FILE, TYPE_LINK, TYPE_NULL
 
Constructor Summary
IMDocumentSelection()
           
 
Method Summary
 int getOption()
           
 java.lang.Object getSelected()
          Returns the selected items in the viewer.
 int getType()
           
protected  void init()
           
 boolean isSelectionEmpty()
           
 void registerInteractionManager(Form f, FormManager fm)
           
 void setInitialState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

IMDocumentSelection

public IMDocumentSelection()
Method Detail

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

Ontimize Document Management