com.swfm.mica.view
Class MiGraphicsViewManager

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.MiGraphicsViewManager
All Implemented Interfaces:
MiiActionHandler, MiiActionTypes, MiiCommandNames, MiiModelEntity, MiiModelTypes, MiiNames, MiiPropertyTypes, MiiTypes, MiiViewManager

public class MiGraphicsViewManager
extends MiGraphicsBaseViewManager
implements MiiViewManager, MiiTypes, MiiCommandNames, MiiActionHandler, MiiActionTypes

This class implements the MiiViewManager interface and supports the loading and saving of graphics editors to and from MiiModelDocuments. The target must be an instance of MiEditor.

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

Field Summary
               
Constructor Summary
MiGraphicsViewManager()
          Constructs a new MiGraphicsViewManager.
 
Method Summary
 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
getModel, 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
getModel, 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
 
Methods inherited from interface com.swfm.mica.core.MiiActionHandler
processAction
 

Constructor Detail

MiGraphicsViewManager

public MiGraphicsViewManager()
Constructs a new MiGraphicsViewManager.

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)