ter.SDK.manager
Class TabbedPaneHeritageManager

java.lang.Object
  |
  +--ter.SDK.manager.AbstractManager
        |
        +--ter.SDK.manager.TabbedPaneHeritageManager
All Implemented Interfaces:
Controler, Manager, Plugin, View

public class TabbedPaneHeritageManager
extends AbstractManager

Title: Class JTabbedPaneHeritageManager

Description: This class implements AbstractManager. This manager show his views in a JTabbedPane.

Company: UNSA

Version:
1.0
Author:
Charbit Lucas - Gahide Jérome - Galbois Xavier - Zerbib Gabriel

Constructor Summary
TabbedPaneHeritageManager(Manager topManager)
          The constructor.
 
Method Summary
 void addHeritageView(ClassifierAnalyser ca)
          This function create a new HeritageView for the selected ClassifierAnalyser.
 java.lang.String getName()
          This function comes from the AbstractManager interface.
 java.awt.Container getViewContainer()
          This function comes from the View interface.
 
Methods inherited from class ter.SDK.manager.AbstractManager
addCompositionView, addDetailView, addSearchView, getClassifierAnalyser, getDefaultView, getInspector, getPlugin, getTopManager, getType, getView, isControlable, listenToView, setClassifierAnalyser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabbedPaneHeritageManager

public TabbedPaneHeritageManager(Manager topManager)
The constructor.

Parameters:
topManager - : the father manager of this manager, very important to allow delegation.
Method Detail

getName

public java.lang.String getName()
This function comes from the AbstractManager interface.

Returns:
: a string containing the name of this class.

getViewContainer

public java.awt.Container getViewContainer()
This function comes from the View interface.

Returns:
: the container where the future graphic objects will be placed.

addHeritageView

public void addHeritageView(ClassifierAnalyser ca)
This function create a new HeritageView for the selected ClassifierAnalyser. As the view and controler setted by he user are some plugins, we need to get the name of their classes. After, a new view and a new controler are instancied using the create method of the abstract classes.

Specified by:
addHeritageView in interface Manager
Overrides:
addHeritageView in class AbstractManager
Parameters:
ca -