ter.SDK.view
Class AbstractView

java.lang.Object
  |
  +--ter.SDK.view.AbstractView
All Implemented Interfaces:
Plugin, View
Direct Known Subclasses:
CompositionView, DetailView, HeritageView, SearchView

public abstract class AbstractView
extends java.lang.Object
implements View

Title: Class AbstractView

Description: This class implements the View interface. This class needed to extended in order to build an heritage view.

Company: UNSA

Version:
1.0
Author:
Jerôme GAHIDE - Lucas CHARBIT - Gabriel ZERBIB - Xavier GALBOIS

Constructor Summary
AbstractView()
          The default controler
 
Method Summary
static View create(java.lang.Class theView, ClassifierAnalyser ca)
          Create a new view, with the specficied view class ans the specified classifierAnalyser
 ClassifierAnalyser getClassifierAnalyser()
          retun the classifierAnalyser related to this view
 void setClassifierAnalyser(ClassifierAnalyser ca)
          Set the current classifierAnalsyer of this view
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ter.SDK.view.View
getViewContainer
 
Methods inherited from interface ter.SDK.Plugin
getName, getType
 

Constructor Detail

AbstractView

public AbstractView()
The default controler

Method Detail

getClassifierAnalyser

public ClassifierAnalyser getClassifierAnalyser()
retun the classifierAnalyser related to this view

Specified by:
getClassifierAnalyser in interface View
Returns:
: a classifierAnalsyer

setClassifierAnalyser

public void setClassifierAnalyser(ClassifierAnalyser ca)
Set the current classifierAnalsyer of this view

Specified by:
setClassifierAnalyser in interface View
Parameters:
ca - : the new classifierAnalsyer

create

public static View create(java.lang.Class theView,
                          ClassifierAnalyser ca)
Create a new view, with the specficied view class ans the specified classifierAnalyser

Parameters:
theView - : the plugin view class selected
ca - : the classifierAnalyser
Returns:
: a new View