uci.uml.ui.nav
Interface TreeModelPrereqs

All Known Implementing Classes:
GoAssocRoleMessages, GoClassToAggrClass, GoClassToCompositeClass, GoCollaborationDiagram, GoDiagramToNode, GoElementToReqElement, GoGenElementToDerived, GoMachineToStartState, GoMachineToState, GoModelToDiagram, GoModelToElements, GoProjectDiagram, GoStateToDownstream, GoStateToInternalTrans, GoTransToTargetState, GoStateToIncomingTrans, GoProjectModel, GoMachineToTrans, GoClassToNavigableClass, GoModelToUseCase, GoElement2DependentElement, GoClassifierToBeh, GoModelToBaseElements, GoProjectCollaboration, GoFilteredChildren, GoElementToMachine, GoStateToUpstream, GoInteractionMessages, GoMachineDiagram, GoProjectMachine, GoClassifierToStr, GoStateToOutgoingTrans, GoModelToClass, GoDiagramToEdge, GoCollaborationInteraction, GoClassToAssocdClass, GoModelToAssociation, GoStateToSubstate, GoModelToActor, GoAssocToSource, GoTransToSourceState, GoAssocToTarget, GoListToPriorityToItem, GoListToOffenderToItem, GoListToTypeToItem, GoListToDecisionsToItems, GoListToGoalsToItems, GoListToPosterToItem

public abstract interface TreeModelPrereqs
extends TreeModel

This is a kind of TreeModel that is intended to be used as a sub-part of a TreeModelComposite, and it also has information about what type of object must be available in the tree before this class can be applied, and what objects might be in the tree afterwards. The goal is to gray-out some of the rules in the NavigatorConfigDialog dialog box that would have no effect unless other rules are added first.

See Also:
TreeModelComposite, NavigatorConfigDialog

Method Summary
 Vector getPrereqs()
          Some TreeModel's should be used in TreeModelComposite unless other TreeModel's have already added that will provide them with the kinds of objects that they can use a parents.
 Vector getProvidedTypes()
          Return the Vector of Classes of possible children.
 
Methods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged
 

Method Detail

getPrereqs

public Vector getPrereqs()
Some TreeModel's should be used in TreeModelComposite unless other TreeModel's have already added that will provide them with the kinds of objects that they can use a parents. This method should return a Vector of Class objects indicating which class of objects are needed before this TreeModelPrereqs can do any useful work.

getProvidedTypes

public Vector getProvidedTypes()
Return the Vector of Classes of possible children.