org.freehep.jas.plugin.pluginmanager
Class PluginManager

java.lang.Object
  extended by org.freehep.application.studio.Plugin
      extended by org.freehep.application.studio.pluginmanager.PluginManager
          extended by org.freehep.jas.plugin.pluginmanager.PluginManager
All Implemented Interfaces:
Runnable, PreferencesTopic

public class PluginManager
extends org.freehep.application.studio.pluginmanager.PluginManager
implements PreferencesTopic

A Plugin which provides a Plugin Manager.

Version:
$Id: PluginManager.java 14547 2013-04-19 19:55:23Z onoprien $
Author:
tonyj

Field Summary
 
Fields inherited from class org.freehep.application.studio.pluginmanager.PluginManager
availablePlugins, dialogVisible, installablePlugins, masterMap, pluginListHandler, pluginListIsReady, pluginListReaderThread, updatablePlugins, updateMap
 
Constructor Summary
PluginManager()
           
 
Method Summary
 boolean apply(JComponent panel)
          Called when the user pushes the apply button in the preferences dialog.
 JComponent component()
          Get the component to display in the preferences dialog
protected  void init()
           
 String[] path()
          Specifies where in the preferences tree this item should appear.
 
Methods inherited from class org.freehep.application.studio.pluginmanager.PluginManager
applicationVisible, cleanup, getAvailablePlugins, getCheckURL, getPluginMap, getPlugins, install, isCheckAtStart, isPluginListIsReady, isRemoveAppIncompatible, isRemoveJavaIncompatible, offerUpdate, processAvailablePlugins, run, setCheckAtStart, setCheckURL, setPluginListHandler, setRemoveAppIncompatible, setRemoveJavaIncompatible, showPluginManager, startPluginListDownload, uninstall, update, updateInstalledPlugins
 
Methods inherited from class org.freehep.application.studio.Plugin
addMenu, canBeShutDown, getApplication, postInit, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager

public PluginManager()
Method Detail

init

protected void init()
             throws SAXException,
                    IOException
Overrides:
init in class org.freehep.application.studio.pluginmanager.PluginManager
Throws:
SAXException
IOException

apply

public boolean apply(JComponent panel)
Description copied from interface: PreferencesTopic
Called when the user pushes the apply button in the preferences dialog. This is also called if the user changes to another preferences topic, or if the user hits OK to dismiss the preferences dialog.

Specified by:
apply in interface PreferencesTopic
Parameters:
panel - The component currently being displayed
Returns:
true if success, false if an error occured (invalid input)
See Also:
PreferencesTopic.component()

component

public JComponent component()
Description copied from interface: PreferencesTopic
Get the component to display in the preferences dialog

Specified by:
component in interface PreferencesTopic
Returns:
The component to be used.

path

public String[] path()
Description copied from interface: PreferencesTopic
Specifies where in the preferences tree this item should appear.

Specified by:
path in interface PreferencesTopic
Returns:
The path under which this topic should be displayed in the preferences dialog.


Copyright © 2013. All Rights Reserved.