JRubik v0.6

es.aeat.eett.jRubik.plugins
Class PluginImpl

java.lang.Object
  extended byes.aeat.eett.jRubik.plugins.PluginImpl
All Implemented Interfaces:
Plugin
Direct Known Subclasses:
Action_basicStat, Action_showChart, ActionConfiPdf, ActionToClipboard, ActionToHssf, ActionToPdf, Bar_Component, Bar_Export, Bar_NaviPlugin, BarPrinter, Chart_Plugin, ChartJobPlugin, ConfiPdfPlugin, ConfiXmlPlugin, DeployPlugin, GeneralPlugin, HelpBar, IndexPlugin, JobPlugin, JScrollNaviPlugin, JScrolltableDrillThrough, LeafPlugin, Map_Plugin, MapJobPlugin, Mdx_Frame, MdxMenu_BarBookmark, MdxMenu_BarMenu, MdxMenu_Base, MdxMenu_ScrollBookmark, MdxMenu_ScrollMenu, MemoryPlugin, MemoryShowPlugin, ReportPlugin, ScrollPlugin, ShowInfo, ShowSum, TableJobPlugin, TableRubikPlugin

public abstract class PluginImpl
extends java.lang.Object
implements Plugin

Author:
f00992

en: Abstract implementation of the Plugin interface. This is the base class for all plugin classes.

Una implemtacion abstracta de Plugin. Clase base para crear nuevos plugins.


Field Summary
protected  boolean autoUpdate
           
protected  java.util.ArrayList controladores
           
 
Constructor Summary
PluginImpl()
           
 
Method Summary
 void addPluginListener(PluginListener listener)
           
 java.util.List fireGetInfoPlugins(int typePlugin)
           en: Returns a complete Infoplugin List availables es: Devuelve una lista completa de Infoplugin de los plugin disponibles
 java.lang.Object fireGetPluginObject(java.lang.String namePlugin)
           en: Gets the main plugin object from the plugin called namePlugin, it returns null if the plugin is missing.
 void firePluginHide(java.awt.Component component)
           en: Request to the application controller to hide a component in the main application view.
 void firePluginSetFocus(java.awt.Component component)
           en: Request to the application controller to show a component.
 boolean isAutoUpdate()
           
 void removePluginListener(PluginListener listener)
           
 void setAutoUpdate(boolean autoUpdate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface es.aeat.eett.jRubik.plugins.Plugin
getPluginObject
 

Field Detail

autoUpdate

protected boolean autoUpdate

controladores

protected java.util.ArrayList controladores
Constructor Detail

PluginImpl

public PluginImpl()
Method Detail

addPluginListener

public void addPluginListener(PluginListener listener)
Specified by:
addPluginListener in interface Plugin

removePluginListener

public void removePluginListener(PluginListener listener)
Specified by:
removePluginListener in interface Plugin

isAutoUpdate

public boolean isAutoUpdate()
Specified by:
isAutoUpdate in interface Plugin
Returns:
Returns the autoUpdate.

setAutoUpdate

public void setAutoUpdate(boolean autoUpdate)
Specified by:
setAutoUpdate in interface Plugin
Parameters:
autoUpdate - The autoUpdate to set.

fireGetPluginObject

public java.lang.Object fireGetPluginObject(java.lang.String namePlugin)

en: Gets the main plugin object from the plugin called namePlugin, it returns null if the plugin is missing. It calls the application controller to obtain the plugin.

es: Obtiene el objeto principal del plugin llamado namePlugin, devuelve un nulo en caso de error o no encontrar el plugin. Llama al controlador de la aplicación para solicitar el plugin.

Specified by:
fireGetPluginObject in interface Plugin

firePluginSetFocus

public void firePluginSetFocus(java.awt.Component component)

en: Request to the application controller to show a component.

es: Solicita al controlador de la aplicación que muestre el componete component.

Specified by:
firePluginSetFocus in interface Plugin

firePluginHide

public void firePluginHide(java.awt.Component component)

en: Request to the application controller to hide a component in the main application view.

es: Solicita al controlador de la aplicación que oculte el componete component en la vista principal de la aplicacion.

Specified by:
firePluginHide in interface Plugin

fireGetInfoPlugins

public java.util.List fireGetInfoPlugins(int typePlugin)

en: Returns a complete Infoplugin List availables

es: Devuelve una lista completa de Infoplugin de los plugin disponibles

Specified by:
fireGetInfoPlugins in interface Plugin

JRubik v0.6

JRubik v0.6