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:
java.io.Serializable, java.lang.Cloneable, java.util.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 java.lang.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 java.lang.String CURRENT_RECORD_MODEL
          hash key for: project35.mda.model.RecordModel instance that is the currently displayed record
static java.lang.String DOCUMENT_META_DATA
          hash key for: project35.metaData.DocumentMetaData, which holds all the meta data for the current data set
static java.lang.String ID_GENERATOR_SERVICE
          hash key for: project35.soa.id.IDGeneratorService
static java.lang.String MODEL_OBJECT_COMMENT_REGISTRY
          hash key for: project35.mda.model.ModelObjectCommentRegistry
static java.lang.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 java.lang.String PROJECT35_DIALOG
          hash key for: project35.desktopDeployment.Project35Dialog which is the main display window for Project35.
static java.lang.String RECORD_VIEW
          hash key for: project35.desktopDeployment.RecordView
static java.lang.String STATUS_BAR
          hash key for: project35.desktopDeployment.StatusBar - used to display messages at the bottom of a Project35 Dialog
static java.lang.String TABLET_PROJECT35_DIALOG
          hash key for: project35.tabletDeployment.TabletProject35Dialog; only relevant in use cases that use the Tablet version of Project35
static java.lang.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()
           
 java.lang.Object getApplicationProperty(java.lang.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 java.lang.String ID_GENERATOR_SERVICE
hash key for: project35.soa.id.IDGeneratorService

See Also:
Constant Field Values

NAVIGATION_VIEW

public static final java.lang.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 java.lang.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 java.lang.String RECORD_VIEW
hash key for: project35.desktopDeployment.RecordView

See Also:
Constant Field Values

PROJECT35_DIALOG

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String MODEL_OBJECT_COMMENT_REGISTRY
hash key for: project35.mda.model.ModelObjectCommentRegistry

See Also:
Constant Field Values

DOCUMENT_META_DATA

public static final java.lang.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 java.lang.Object getApplicationProperty(java.lang.String propertyName)

setProject35ApplicationContext

public void setProject35ApplicationContext(Project35ApplicationContext project35ApplicationContext)