| java.lang.Object org.jdesktop.j3dfly.plugins.J3dFlyPlugin
All known Subclasses: org.jdesktop.j3dfly.plugins.StereoControlPlugin, org.jdesktop.j3dfly.plugins.FileHandlerPlugin, org.jdesktop.j3dfly.utils.internalplugins.BenchmarkPlugin, org.jdesktop.j3dfly.plugins.AppearanceAttributesPlugin, org.jdesktop.j3dfly.plugins.PluginControlMenuPlugin, org.jdesktop.j3dfly.plugins.PluginTemplate, org.jdesktop.j3dfly.plugins.ViewingPlatformControlPlugin, org.jdesktop.j3dfly.plugins.VPBehaviorPlugin, org.jdesktop.j3dfly.plugins.HelpSystemPlugin, org.jdesktop.j3dfly.plugins.ViewControlPlugin, org.jdesktop.j3dfly.plugins.WonderlandPlugin, org.jdesktop.j3dfly.plugins.DefaultLightingPlugin, org.jdesktop.j3dfly.plugins.FollowViewPlugin, org.jdesktop.j3dfly.experimental.J3dSkyPlugin, org.jdesktop.j3dfly.plugins.ViewingPlatformWarpPlugin, org.jdesktop.j3dfly.plugins.StatisticsPlugin,
J3dFlyPlugin | abstract public class J3dFlyPlugin (Code) | | The interface for all J3dFly PlugIn's
author: Paul Byrne version: $Revision: 1.1 $ |
Constructor Summary | |
public | J3dFlyPlugin() Create a new instance of the plugin. |
J3dFlyPlugin | public J3dFlyPlugin()(Code) | | Create a new instance of the plugin.
Once the Plugin is create it must be installed by calling
installPlugin
|
getControlPanel | abstract public javax.swing.JPanel getControlPanel()(Code) | | Returns the control panel for this plugin, or null if there
is no control panel
|
getJ3dFlyContext | public J3dFlyContext getJ3dFlyContext()(Code) | | Returns the J3dFlyContext in which this plugin is installed
|
getMenu | protected JMenu getMenu(String menuName)(Code) | | Return the named menu from the J3dFly main Menu bar. If the menu
does not exist it will be created.
Using this mechanism Plugin's can add menu items to existing Menus
in the MenuBar. See for a list of default menu names
|
getPluginPreference | public PluginPreference getPluginPreference()(Code) | | Return the preference object for this plugin
|
getPluginPreferenceClass | abstract public Class getPluginPreferenceClass()(Code) | | Returns the class of the plugin preference used for the Tool wide
preferences.
Plugins that require more preference information should provide a
subclass of PluginPrefernece that contains all the extra preference
data. This class must be Serializable.
|
installPlugin | public void installPlugin(PluginPreference pluginPref, J3dFlyContext j3dflyContext)(Code) | | Install the plugin into j3dfly with the supplied preferences
Access this functionality through the preference object for this
plugin
|
isEnabled | protected boolean isEnabled()(Code) | | Return true if the plugin is enabled
Access this functionality through the preference object for this
plugin
|
setEnabled | protected void setEnabled(boolean enable)(Code) | | Enable/disable the plugin
Access this functionality through the preference object for this
plugin
|
showControls | protected void showControls()(Code) | | Show the controls for this plugin in a non-modal dialog
|
uninstallPlugin | public void uninstallPlugin()(Code) | | Uninstall the plugin
Access this functionality through the preference object for this
plugin
|
|
|