com.swfm.mica.view
Class MiGraphicsTreeViewManager

java.lang.Object
  extended bycom.swfm.mica.model.MiModelEntity
      extended bycom.swfm.mica.view.MiViewManager
          extended bycom.swfm.mica.view.MiGraphicsBaseViewManager
              extended bycom.swfm.mica.view.MiGraphicsTreeViewManager
All Implemented Interfaces:
MiiActionHandler, MiiActionTypes, MiiCommandNames, MiiModelEntity, MiiModelTypes, MiiNames, MiiPropertyTypes, MiiTypes, MiiViewManager

public class MiGraphicsTreeViewManager
extends MiGraphicsBaseViewManager
implements MiiViewManager, MiiTypes

This class provides a simple look and feel manager for basic tree hierarchy diagrams.

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
               
Constructor Summary
MiGraphicsTreeViewManager()
          Constructs a new MiGraphicsTreeViewManager.
 
Method Summary
 MiiModelEntity getModel()
          Converts the graphics found in the target container to a MiiModelDocument.
 void setModel(MiiModelEntity document)
          Loads the target container with graphics as specified in the given document.
 
Methods inherited from class com.swfm.mica.view.MiGraphicsBaseViewManager
getPostGraphicsCreationHandler, getView, processAction, setPostGraphicsCreationHandler, setView
 
Methods inherited from class com.swfm.mica.view.MiViewManager
getHasChanged, getWarningMessagesEnabled, isViewOnly, setHasChanged, setViewOnly, setWarningMessagesEnabled
 
Methods inherited from class com.swfm.mica.model.MiModelEntity
appendModelChangeHandler, appendModelEntity, appendModelRelation, appendPropertyChangeHandler, copy, copy, createModelEntity, createModelRelation, deepCopy, deepCopy, deleteSelf, dispatchModelChangeEvent, dispatchPropertyChange, dispatchPropertyChangeEvent, dump, dump, equals, equalsProperties, getChild, getChildren, getDefaultPropertyValue, getEditingPermissions, getIgnoreCase, getIndexOfModelEntity, getLocation, getModelChangeHandler, getModelEntities, getModelEntity, getModelEntity, getModelRelations, getName, getNumberOfModelChangeHandlers, getNumberOfModelEntities, getNumberOfPropertyChangeHandlers, getParent, getPropertiesAreOrdered, getPropertyChangeHandler, getPropertyDescriptions, getPropertyNames, getPropertyValue, getTitle, getType, getUserData, hasUserData, insertModelEntity, insertModelRelation, isObservedProperty, isToCopyEntitysRelationsWhenDeepCopyEntity, removeAllModelEntities, removeAllModelRelations, removeAllProperties, removeModelChangeHandler, removeModelEntity, removeModelRelation, removeProperty, removePropertyChangeHandler, removeSelf, replaceSelf, setIgnoreCase, setLocation, setModelChangeEventDispatchingEnabled, setName, setParent, setPropertiesAreOrdered, setPropertiesToDefaultValues, setPropertyChangeEventDispatchingEnabled, setPropertyDescriptions, setPropertyValue, setTitle, setToCopyEntitysRelationsWhenDeepCopyEntity, setType, toString, toString, validateModelEntity, validateModelRelation, validatePropertyValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.swfm.mica.view.MiiViewManager
getView, setView
 
Methods inherited from interface com.swfm.mica.model.MiiModelEntity
appendModelChangeHandler, appendModelEntity, appendModelRelation, appendPropertyChangeHandler, copy, copy, createModelEntity, createModelRelation, deepCopy, deepCopy, deleteSelf, equals, equalsProperties, getChild, getChildren, getEditingPermissions, getIgnoreCase, getIndexOfModelEntity, getLocation, getModelChangeHandler, getModelEntities, getModelEntity, getModelEntity, getModelRelations, getName, getNumberOfModelChangeHandlers, getNumberOfModelEntities, getNumberOfPropertyChangeHandlers, getParent, getPropertiesAreOrdered, getPropertyChangeHandler, getPropertyDescriptions, getPropertyNames, getPropertyValue, getTitle, getType, getUserData, hasUserData, insertModelEntity, insertModelRelation, removeAllModelEntities, removeAllModelRelations, removeAllProperties, removeModelChangeHandler, removeModelEntity, removeModelRelation, removeProperty, removePropertyChangeHandler, removeSelf, replaceSelf, setIgnoreCase, setLocation, setModelChangeEventDispatchingEnabled, setName, setParent, setPropertiesAreOrdered, setPropertyChangeEventDispatchingEnabled, setPropertyDescriptions, setPropertyValue, setTitle, setType, validateModelEntity, validateModelRelation, validatePropertyValue
 

Constructor Detail

MiGraphicsTreeViewManager

public MiGraphicsTreeViewManager()
Constructs a new MiGraphicsTreeViewManager.

Method Detail

setModel

public void setModel(MiiModelEntity document)
Loads the target container with graphics as specified in the given document.

Specified by:
setModel in interface MiiViewManager
Parameters:
document - the document
See Also:
MiGraphicsBaseViewManager.setView(com.swfm.mica.core.MiPart)

getModel

public MiiModelEntity getModel()
Converts the graphics found in the target container to a MiiModelDocument. This creates entities in the given document from the graphics in the target.

Specified by:
getModel in interface MiiViewManager
Overrides:
getModel in class MiGraphicsBaseViewManager
Returns:
the document
See Also:
MiGraphicsBaseViewManager.setView(com.swfm.mica.core.MiPart)