The Meta-Environment API

nl.cwi.sen1.visplugin.csvexport
Class CsvExportController

java.lang.Object
  extended by nl.cwi.sen1.gui.plugin.DefaultStudioPlugin
      extended by nl.cwi.sen1.visplugin.VisualizationPluginController
          extended by nl.cwi.sen1.visplugin.csvexport.CsvExportController
All Implemented Interfaces:
nl.cwi.sen1.gui.plugin.StudioPlugin, nl.cwi.sen1.visplugin.VisualizationPluginTif

public class CsvExportController
extends nl.cwi.sen1.visplugin.VisualizationPluginController

The CsvExportController class

Author:
Chris Woolderink, Antoine Savelkoul

Nested Class Summary
 
Nested classes/interfaces inherited from class nl.cwi.sen1.visplugin.VisualizationPluginController
nl.cwi.sen1.visplugin.VisualizationPluginController.requestType, nl.cwi.sen1.visplugin.VisualizationPluginController.WindowProperties
 
Field Summary
 
Fields inherited from class nl.cwi.sen1.visplugin.VisualizationPluginController
m_factory
 
Constructor Summary
CsvExportController()
          CONSTRUCTORS
 
Method Summary
 nl.cwi.sen1.visplugin.VisualizationPluginWindow createWindow()
          Return Table visualization window
 java.lang.String getPluginName()
          Gets the plugin name [Table Visualization Plugin]
 aterm.ATerm[] getSupportedTypes()
          Define the supported types.
private  boolean isComplexType(nl.cwi.sen1.relationstores.types.RType rtype)
           
protected  boolean isTypeSupported(aterm.ATerm type)
          Check if a type is supported
 
Methods inherited from class nl.cwi.sen1.visplugin.VisualizationPluginController
exportToClicked, getBridge, getName, getWindowById, getWindowExportRequestType, initPluginController, initStudioPlugin, openLocationInEditor, recAckEvent, recTerminate, vpFactOutOfDate, vpFileDialogCancel, vpFileDialogResult, vpGetName, vpIsTypeSupported, vpRstoreUnloaded, vpVisualizeFact
 
Methods inherited from class nl.cwi.sen1.gui.plugin.DefaultStudioPlugin
addStudioPluginListener, fireStudioPluginClosed, removeStudioPluginListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvExportController

public CsvExportController()
CONSTRUCTORS

Method Detail

createWindow

public nl.cwi.sen1.visplugin.VisualizationPluginWindow createWindow()
Return Table visualization window

Specified by:
createWindow in class nl.cwi.sen1.visplugin.VisualizationPluginController

getPluginName

public java.lang.String getPluginName()
Gets the plugin name [Table Visualization Plugin]

Specified by:
getPluginName in class nl.cwi.sen1.visplugin.VisualizationPluginController

getSupportedTypes

public aterm.ATerm[] getSupportedTypes()
Define the supported types. Not implemented because we override the isTypeSupported() function.

Specified by:
getSupportedTypes in class nl.cwi.sen1.visplugin.VisualizationPluginController

isTypeSupported

protected boolean isTypeSupported(aterm.ATerm type)
Check if a type is supported

Overrides:
isTypeSupported in class nl.cwi.sen1.visplugin.VisualizationPluginController
Parameters:
type - The type to check

isComplexType

private boolean isComplexType(nl.cwi.sen1.relationstores.types.RType rtype)
Parameters:
rtype - The RType to be evaluated
Returns:
true if the given RType represents a complex type (not int/string)

The Meta-Environment API