project35.system
Class Project35DocumentContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by project35.system.Context
              extended by project35.system.Project35DocumentContext
All Implemented Interfaces:
Serializable, Cloneable, Map

public class Project35DocumentContext
extends Context

a HashMap that holds environment variables which have a document-wide scope of effect It will have a Project35FormContext object which describe properties of the current form


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
static String CURRENT_FIELD
          the name of the current field; often used in ontology service implementations that want to know what field called the service
static String CURRENT_RECORD_MODEL
          hash key for: project35.mda.model.RecordModel instance that is the currently displayed record
static String DOCUMENT_META_DATA
          hash key for: project35.metaData.DocumentMetaData, which holds all the meta data for the current data set
static String ID_GENERATOR_SERVICE
          hash key for: project35.soa.id.IDGeneratorService
static String MODEL_OBJECT_COMMENT_REGISTRY
          hash key for: project35.mda.model.ModelObjectCommentRegistry
static String NAVIGATION_VIEW
          hash key for some implementation of project35.desktopDeployment.NavigationView but will probably be either project35.desktopDeployment.NavigationTree or project35.tabletDeployment.RecordStack
static String PROJECT35_DIALOG
          hash key for: project35.desktopDeployment.Project35Dialog which is the main display window for Project35.
static String RECORD_VIEW
          hash key for: project35.desktopDeployment.RecordView
static String STATUS_BAR
          hash key for: project35.desktopDeployment.StatusBar - used to display messages at the bottom of a Project35 Dialog
static String TABLET_PROJECT35_DIALOG
          hash key for: project35.tabletDeployment.TabletProject35Dialog; only relevant in use cases that use the Tablet version of Project35
static String TABLET_WHEREAMI_NAVIGATION_TREE
          hash key for an instance of project35.desktopDeployment.NavigationTree; this is the tree that pops up in TabletProject35 when the end-user clicks on the "Where Am I" button
 
Constructor Summary
Project35DocumentContext()
           
 
Method Summary
 Project35ApplicationContext getApplicationContext()
           
 Object getApplicationProperty(String propertyName)
           
 Project35FormContext getFormContext()
           
 void setProject35ApplicationContext(Project35ApplicationContext project35ApplicationContext)
           
 
Methods inherited from class project35.system.Context
getProperty, getRegisteredPropertyNames, setProperty
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

ID_GENERATOR_SERVICE

public static final String ID_GENERATOR_SERVICE
hash key for: project35.soa.id.IDGeneratorService

See Also:
Constant Field Values

NAVIGATION_VIEW

public static final String NAVIGATION_VIEW
hash key for some implementation of project35.desktopDeployment.NavigationView but will probably be either project35.desktopDeployment.NavigationTree or project35.tabletDeployment.RecordStack

See Also:
Constant Field Values

TABLET_WHEREAMI_NAVIGATION_TREE

public static final String TABLET_WHEREAMI_NAVIGATION_TREE
hash key for an instance of project35.desktopDeployment.NavigationTree; this is the tree that pops up in TabletProject35 when the end-user clicks on the "Where Am I" button

See Also:
Constant Field Values

RECORD_VIEW

public static final String RECORD_VIEW
hash key for: project35.desktopDeployment.RecordView

See Also:
Constant Field Values

PROJECT35_DIALOG

public static final String PROJECT35_DIALOG
hash key for: project35.desktopDeployment.Project35Dialog which is the main display window for Project35.

See Also:
Constant Field Values

CURRENT_RECORD_MODEL

public static final String CURRENT_RECORD_MODEL
hash key for: project35.mda.model.RecordModel instance that is the currently displayed record

See Also:
Constant Field Values

CURRENT_FIELD

public static final String CURRENT_FIELD
the name of the current field; often used in ontology service implementations that want to know what field called the service

See Also:
Constant Field Values

TABLET_PROJECT35_DIALOG

public static final String TABLET_PROJECT35_DIALOG
hash key for: project35.tabletDeployment.TabletProject35Dialog; only relevant in use cases that use the Tablet version of Project35

See Also:
Constant Field Values

STATUS_BAR

public static final String STATUS_BAR
hash key for: project35.desktopDeployment.StatusBar - used to display messages at the bottom of a Project35 Dialog

See Also:
Constant Field Values

MODEL_OBJECT_COMMENT_REGISTRY

public static final String MODEL_OBJECT_COMMENT_REGISTRY
hash key for: project35.mda.model.ModelObjectCommentRegistry

See Also:
Constant Field Values

DOCUMENT_META_DATA

public static final String DOCUMENT_META_DATA
hash key for: project35.metaData.DocumentMetaData, which holds all the meta data for the current data set

See Also:
Constant Field Values
Constructor Detail

Project35DocumentContext

public Project35DocumentContext()
Method Detail

getFormContext

public Project35FormContext getFormContext()

getApplicationContext

public Project35ApplicationContext getApplicationContext()

getApplicationProperty

public Object getApplicationProperty(String propertyName)

setProject35ApplicationContext

public void setProject35ApplicationContext(Project35ApplicationContext project35ApplicationContext)