org.fopps.ui.feature
Class FeatureTreeController

java.lang.Object
  |
  +--org.fopps.ui.TreeController
        |
        +--org.fopps.ui.feature.FeatureTreeController
All Implemented Interfaces:
ContainerSelectable, Controller, java.util.EventListener, java.awt.ItemSelectable, java.awt.event.MouseListener, javax.swing.event.TreeModelListener, javax.swing.event.TreeSelectionListener

public class FeatureTreeController
extends TreeController

FeatureTreeController is a special controller for the feature tree. Besides the tree it controls also the attachments of a feature.


Field Summary
static java.lang.String ALTERNATIVE
           
static java.lang.String NO
           
static java.lang.String OPTIONAL
           
static java.lang.String RENAME
           
 
Constructor Summary
FeatureTreeController(EnhancedTree tree)
           
 
Method Summary
 AttachmentTableController getAttachmentController()
           
 AttachmentTableModel getAttachmentModel()
           
 javax.swing.JPanel getContentPane()
           
 void setAttachmentController(AttachmentTableController pAttachmentController)
           
 void setAttachmentModel(AttachmentTableModel pAttachmentModel)
           
 void setContainer(ProjectContainer pContainer)
          Sets the container
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           
 
Methods inherited from class org.fopps.ui.TreeController
addItemListener, getSelectedNode, getSelectedObjects, getTree, getViews, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, notifyListeners, removeAllItemListener, removeItemListener, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTIONAL

public static final java.lang.String OPTIONAL

NO

public static final java.lang.String NO

ALTERNATIVE

public static final java.lang.String ALTERNATIVE

RENAME

public static final java.lang.String RENAME
Constructor Detail

FeatureTreeController

public FeatureTreeController(EnhancedTree tree)
Method Detail

setContainer

public void setContainer(ProjectContainer pContainer)
Description copied from interface: ContainerSelectable
Sets the container

Specified by:
setContainer in interface ContainerSelectable
Specified by:
setContainer in class TreeController

getContentPane

public javax.swing.JPanel getContentPane()

getAttachmentModel

public AttachmentTableModel getAttachmentModel()

setAttachmentModel

public void setAttachmentModel(AttachmentTableModel pAttachmentModel)

getAttachmentController

public AttachmentTableController getAttachmentController()

setAttachmentController

public void setAttachmentController(AttachmentTableController pAttachmentController)

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener
Overrides:
valueChanged in class TreeController


Fopps 0.19 - Copyright © 2002 Oliver Wieland. All Rights Reserved.