org.xnap.plugin.bitzi
Class BitziPlugin

java.lang.Object
  extended by org.xnap.plugin.AbstractPlugin
      extended by org.xnap.plugin.bitzi.BitziPlugin
All Implemented Interfaces:
Viewer, Plugin, SearchResultActionProvider

public class BitziPlugin
extends AbstractPlugin
implements SearchResultActionProvider, Viewer

BitziPlugin


Nested Class Summary
 class BitziPlugin.LookupAction
           
 
Constructor Summary
BitziPlugin()
           
 
Method Summary
 void close()
          Invoked when the viewer is hidden.
 javax.swing.Action[] getActions(SearchResult[] results)
           
 javax.swing.JComponent getComponent()
          Hmm, that makes not much sense.
 javax.swing.Icon getIcon()
          Returns a 16x16 icon.
 java.lang.String getName()
          Returns the name of this viewer.
 void open(java.io.File file)
          Invoked when a file should be displayed.
 void start()
          Called each time the plugin is enabled.
 void startGUI()
          Called each time the gui part of the plugin is enabled.
 void stop()
          Called each time the plugin is disabled.
 void stopGUI()
          Called each time the gui part of the plugin is disabled.
 
Methods inherited from class org.xnap.plugin.AbstractPlugin
getInfo, setInfo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitziPlugin

public BitziPlugin()
Method Detail

start

public void start()
           throws java.lang.Exception
Description copied from interface: Plugin
Called each time the plugin is enabled.

Specified by:
start in interface Plugin
Throws:
java.lang.Exception
See Also:
Plugin.start()

startGUI

public void startGUI()
Description copied from interface: Plugin
Called each time the gui part of the plugin is enabled.

Specified by:
startGUI in interface Plugin
See Also:
Plugin.startGUI()

stop

public void stop()
Description copied from interface: Plugin
Called each time the plugin is disabled.

Specified by:
stop in interface Plugin
See Also:
Plugin.stop()

stopGUI

public void stopGUI()
Description copied from interface: Plugin
Called each time the gui part of the plugin is disabled.

Specified by:
stopGUI in interface Plugin
See Also:
Plugin.stopGUI()

getActions

public javax.swing.Action[] getActions(SearchResult[] results)
Specified by:
getActions in interface SearchResultActionProvider
See Also:
org.xnap.search.SearchResultActionProvider#getActions(org.xnap.search.SearchResult)

getIcon

public javax.swing.Icon getIcon()
Description copied from interface: Viewer
Returns a 16x16 icon.

Specified by:
getIcon in interface Viewer
See Also:
Viewer.getIcon()

getComponent

public javax.swing.JComponent getComponent()
Description copied from interface: Viewer
Hmm, that makes not much sense. We want to support threading.

Specified by:
getComponent in interface Viewer
See Also:
Viewer.getComponent()

getName

public java.lang.String getName()
Description copied from interface: Viewer
Returns the name of this viewer.

Specified by:
getName in interface Viewer
See Also:
Viewer.getName()

open

public void open(java.io.File file)
Description copied from interface: Viewer
Invoked when a file should be displayed.

Specified by:
open in interface Viewer
See Also:
Viewer.open(java.io.File)

close

public void close()
Description copied from interface: Viewer
Invoked when the viewer is hidden.

Specified by:
close in interface Viewer
See Also:
Viewer.close()


Copyright © 2001-2005 XNap Team. All Rights Reserved.