public class

Lookup

extends GlobalLookup
java.lang.Object
   ↳ vars.shared.ui.GlobalLookup
     ↳ vars.annotation.ui.Lookup

Summary

Constants
Object KEY_DISPATCHER_APPLICATION
Object KEY_DISPATCHER_APPLICATION_FRAME
Object KEY_DISPATCHER_CAMERA_DIRECTION
Object KEY_DISPATCHER_GUICE_INJECTOR
Object KEY_DISPATCHER_IMAGECAPTURESERVICE
Object KEY_DISPATCHER_LOGINCREDENTIAL
Object KEY_DISPATCHER_OBSERVATION_TABLE
Object KEY_DISPATCHER_PREFERENCES
Object KEY_DISPATCHER_SELECTED_OBSERVATIONS
Object KEY_DISPATCHER_VIDEOARCHIVE
Object KEY_DISPATCHER_VIDEOSERVICE
String RESOURCE_BUNDLE
String TOPIC_DATABASE_STATUS Subscribers to this topic will receive Boolean objects.
String TOPIC_DELETE_OBSERVATIONS Specifies Observations that are being deleted
String TOPIC_MERGE_OBSERVATIONS Specifies Observations that are being updated
String TOPIC_PERSIST_OBSERVATIONS Specifies Observations that are being deleted
String TOPIC_REFRESH Refresh the persisted objects (aka clear 2nd level cache).
String TOPIC_SELECT_CONCEPT Message is sent when a concept should be selected in the concept tree.
[Expand]
Inherited Constants
From class vars.shared.ui.GlobalLookup
Fields
public static Logger log
Public Constructors
Lookup()
Public Methods
static Dispatcher getApplicationDispatcher()
static Dispatcher getApplicationFrameDispatcher()
static Dispatcher getCameraDirectionDispatcher()
static Dispatcher getGuiceInjectorDispatcher()
static Dispatcher getImageCaptureServiceDispatcher()
static Dispatcher getObservationTableDispatcher()
Stores a reference to the ObservationTable so that other components can reference it as needed.
static Dispatcher getPreferencesDispatcher()
static PreferencesFactory getPreferencesFactory()
static Dispatcher getSelectedObservationsDispatcher()
static Dispatcher getVideoArchiveDispatcher()
static Dispatcher getVideoControlServiceDispatcher()
[Expand]
Inherited Methods
From class vars.shared.ui.GlobalLookup
From class java.lang.Object

Constants

protected static final Object KEY_DISPATCHER_APPLICATION

protected static final Object KEY_DISPATCHER_APPLICATION_FRAME

protected static final Object KEY_DISPATCHER_CAMERA_DIRECTION

protected static final Object KEY_DISPATCHER_GUICE_INJECTOR

protected static final Object KEY_DISPATCHER_IMAGECAPTURESERVICE

protected static final Object KEY_DISPATCHER_LOGINCREDENTIAL

protected static final Object KEY_DISPATCHER_OBSERVATION_TABLE

protected static final Object KEY_DISPATCHER_PREFERENCES

protected static final Object KEY_DISPATCHER_SELECTED_OBSERVATIONS

protected static final Object KEY_DISPATCHER_VIDEOARCHIVE

protected static final Object KEY_DISPATCHER_VIDEOSERVICE

public static final String RESOURCE_BUNDLE

Constant Value: "annotation-app"

public static final String TOPIC_DATABASE_STATUS

Subscribers to this topic will receive Boolean objects. True = status is OK, false = database problems

Constant Value: "vars.annotation.ui.Lookup-DatabaseStatus"

public static final String TOPIC_DELETE_OBSERVATIONS

Specifies Observations that are being deleted

Constant Value: "vars.annotation.ui.Lookup-DeleteObservations"

public static final String TOPIC_MERGE_OBSERVATIONS

Specifies Observations that are being updated

Constant Value: "vars.annotation.ui.Lookup-MergeObservations"

public static final String TOPIC_PERSIST_OBSERVATIONS

Specifies Observations that are being deleted

Constant Value: "vars.annotation.ui.Lookup-PersistObservations"

public static final String TOPIC_REFRESH

Refresh the persisted objects (aka clear 2nd level cache).

Constant Value: "vars.annotation.ui.Lookup-Refresh"

public static final String TOPIC_SELECT_CONCEPT

Message is sent when a concept should be selected in the concept tree. The data object is a String representing the concept name to select. The subscriber for the tree is in MiscTabsPanel

Constant Value: "vars-annotation.ui.Lookup-SelectedConcept"

Fields

public static Logger log

Public Constructors

public Lookup ()

Public Methods

public static Dispatcher getApplicationDispatcher ()

public static Dispatcher getApplicationFrameDispatcher ()

public static Dispatcher getCameraDirectionDispatcher ()

Returns

public static Dispatcher getGuiceInjectorDispatcher ()

public static Dispatcher getImageCaptureServiceDispatcher ()

public static Dispatcher getObservationTableDispatcher ()

Stores a reference to the ObservationTable so that other components can reference it as needed.

public static Dispatcher getPreferencesDispatcher ()

Returns
  • A Dispatcher that contains a Preferences object for the current UserAccount. This may be null

public static PreferencesFactory getPreferencesFactory ()

Returns
  • The PreferencesFactory object used to fetch preferences. The PreferencesFactory object should be configured in your Guice injector Module

public static Dispatcher getSelectedObservationsDispatcher ()

Returns
  • A Dispatcher that contains a Collection<Observaton> that have been selected in the Observation table. This should NEVER be null. if no rows are selected an empty list should be returned.

public static Dispatcher getVideoArchiveDispatcher ()

public static Dispatcher getVideoControlServiceDispatcher ()