edu.ucsb.nceas.morpho.query
Class QueryPlugin

java.lang.Object
  |
  +--edu.ucsb.nceas.morpho.query.QueryPlugin

public class QueryPlugin
extends java.lang.Object
implements PluginInterface, ConnectionListener


Constructor Summary
QueryPlugin()
          Construct the query plugin.
 
Method Summary
 void connectionChanged(boolean connected)
          Implement the ConnectionListener interface so we know when to refresh queries.
 void initialize(ClientFramework cf)
          The plugin must store a reference to the ClientFramework in order to be able to call the services available through the framework.
 void usernameChanged(java.lang.String newUsername)
          Implement the ConnectionListener interface so we know when to refresh queries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPlugin

public QueryPlugin()
Construct the query plugin. Initialize our one tab for the plugin plus any menus and toolbars.
Method Detail

initialize

public void initialize(ClientFramework cf)
The plugin must store a reference to the ClientFramework in order to be able to call the services available through the framework. This is also the time to register menus and toolbars with the framework.
Specified by:
initialize in interface PluginInterface

usernameChanged

public void usernameChanged(java.lang.String newUsername)
Implement the ConnectionListener interface so we know when to refresh queries.
Specified by:
usernameChanged in interface ConnectionListener
Tags copied from interface: ConnectionListener
Parameters:
username - the new username as it now has been set

connectionChanged

public void connectionChanged(boolean connected)
Implement the ConnectionListener interface so we know when to refresh queries.
Specified by:
connectionChanged in interface ConnectionListener
Tags copied from interface: ConnectionListener
Parameters:
isConnected - boolean true if the framework is now connected


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.