project35.io
Class RecordModelViewCoordinator
java.lang.Object
project35.io.RecordModelViewCoordinator
public class RecordModelViewCoordinator
- extends java.lang.Object
This is used to generate nodes for a tree of record model constructs.
For example, when you decide to seed the Project35 window with a top level
record model, this class is used to create a tree of nodes for the
NavigationTree.
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordModelViewCoordinator
public RecordModelViewCoordinator()
getRoot
public NavigationTreeNode getRoot()
clearChangeListeners
public void clearChangeListeners(RecordNameProvider recordNameProvider)
assignChangeListeners
public void assignChangeListeners(RecordNameProvider recordNameProvider,
NavigationView navigationView)
- this method developed to only do assignment of change listeners
It is used in cases where the NavigationView isn't necessarily a tree
with nodes - eg.: RecordStack in TabletProject35
read
public void read(RecordModel recordModel,
NavigationView navigationView)
createNodesForModels
public void createNodesForModels(RecordNameProvider recordNameProvider,
NavigationTreeNode parentNode,
NavigationView navigationView)