edu.ou.kmi.buddyspace.plugins.applauncher
Class BSAppLauncherPlugin

java.lang.Object
  |
  +--edu.ou.kmi.buddyspace.plugins.BSPlugin
        |
        +--edu.ou.kmi.buddyspace.plugins.applauncher.BSAppLauncherPlugin
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class BSAppLauncherPlugin
extends BSPlugin
implements java.awt.event.ActionListener

BSAppLauncherPlugin is provides launching of external applications.


Field Summary
 
Fields inherited from class edu.ou.kmi.buddyspace.plugins.BSPlugin
core, mainFrame, name, tabbedPane
 
Constructor Summary
BSAppLauncherPlugin(BSMainFrame mainFrame, javax.swing.JTabbedPane tabbedPane, BSCore core)
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Handles GUI controls actions
protected  void addGUIControls()
          Adds plugin GUI controls
protected  void connectBeans()
          Connects plugin to BuddySpace beans
 void connected()
          Handles connection change to connected
 void disconnected()
          Handles connection change to disconnected
 void getPreferencesTab(java.util.Vector components, java.util.Vector names)
          Returns components and their names for display in preferences dialog.
 void getSupportedNamespaces(java.util.Vector namespaces, java.util.Vector names)
          Adds supported namespaces and their names
protected  void initCore()
          Inits plugin core
protected  void initGUI()
          Inits plugin GUI
protected  void loadPreferences()
          Loads preferences.
 boolean performAction(JID jid, java.lang.String namespace)
          Performs action within given namespace for given JID.
 boolean storePreferences()
          Stores preferences from preferences tab.
 void updateLAF()
          Updates LAF of all plug-ins
 
Methods inherited from class edu.ou.kmi.buddyspace.plugins.BSPlugin
addOpenWindows, isNewMessage, openTheWindows, shutdownCorbaServer, startCorbaServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BSAppLauncherPlugin

public BSAppLauncherPlugin(BSMainFrame mainFrame,
                           javax.swing.JTabbedPane tabbedPane,
                           BSCore core)
Constructor

Method Detail

initCore

protected void initCore()
Inits plugin core

Specified by:
initCore in class BSPlugin

initGUI

protected void initGUI()
Inits plugin GUI

Specified by:
initGUI in class BSPlugin

addGUIControls

protected void addGUIControls()
Adds plugin GUI controls

Specified by:
addGUIControls in class BSPlugin

connectBeans

protected void connectBeans()
Connects plugin to BuddySpace beans

Specified by:
connectBeans in class BSPlugin

connected

public void connected()
Handles connection change to connected

Overrides:
connected in class BSPlugin

disconnected

public void disconnected()
Handles connection change to disconnected

Specified by:
disconnected in class BSPlugin

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Handles GUI controls actions

Specified by:
actionPerformed in interface java.awt.event.ActionListener

loadPreferences

protected void loadPreferences()
Loads preferences.

Specified by:
loadPreferences in class BSPlugin

getPreferencesTab

public void getPreferencesTab(java.util.Vector components,
                              java.util.Vector names)
Returns components and their names for display in preferences dialog. Empty implementation - returns null.

Specified by:
getPreferencesTab in class BSPlugin

storePreferences

public boolean storePreferences()
Stores preferences from preferences tab. Empty implementation.

Specified by:
storePreferences in class BSPlugin

performAction

public boolean performAction(JID jid,
                             java.lang.String namespace)
Performs action within given namespace for given JID. Returns if action was performed.

Overrides:
performAction in class BSPlugin

getSupportedNamespaces

public void getSupportedNamespaces(java.util.Vector namespaces,
                                   java.util.Vector names)
Adds supported namespaces and their names

Specified by:
getSupportedNamespaces in class BSPlugin

updateLAF

public void updateLAF()
Updates LAF of all plug-ins

Specified by:
updateLAF in class BSPlugin