com.openindex.openestate.tool.utils.engine
Class Plugin

java.lang.Object
  extended by com.openindex.openestate.tool.utils.engine.Plugin
All Implemented Interfaces:
Pluggable

public abstract class Plugin
extends Object
implements Pluggable

define a plugin for a program.
This is a partial implementation of pluggable, with no icon, description or options.
$Id: Plugin.java 856 2011-04-29 22:30:40Z andy $

Author:
Christophe Le Besnerais, Andreas Rudolph

Constructor Summary
Plugin()
           
 
Method Summary
 void destroy()
          do nothing
 String getDescription()
           
protected  File getDirectory()
           
 BufferedImage getIcon()
           
 int getMinimalVersion()
           
 boolean hasOptions()
           
 void openOptions()
          do nothing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.openindex.openestate.tool.utils.engine.Pluggable
getName, getURI, getVersion, init
 

Constructor Detail

Plugin

public Plugin()
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in interface Pluggable
Returns:
null

getIcon

public BufferedImage getIcon()
Specified by:
getIcon in interface Pluggable
Returns:
null

hasOptions

public boolean hasOptions()
Specified by:
hasOptions in interface Pluggable
Returns:
false

openOptions

public void openOptions()
do nothing

Specified by:
openOptions in interface Pluggable

getMinimalVersion

public int getMinimalVersion()
Specified by:
getMinimalVersion in interface Pluggable
Returns:
0

destroy

public void destroy()
do nothing

Specified by:
destroy in interface Pluggable

getDirectory

protected File getDirectory()
Returns:
the directory in which the files of this plugin are storred


Copyright © 2012 OpenEstate. All Rights Reserved.