|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ucsb.nceas.morpho.query.QueryPlugin
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(Morpho morpho)
The plugin must store a reference to the Morpho in order to be able to call the services available through the framework. |
void |
refresh()
This method is called to refresh a query when a change is made that should be propogated to the query result screens. |
void |
updateSavedQueryMenuItems(Morpho newMorpho)
This method implements from QueryRefreshInterface. |
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 |
public QueryPlugin()
Method Detail |
public void initialize(Morpho morpho)
initialize
in interface PluginInterface
public void usernameChanged(java.lang.String newUsername)
usernameChanged
in interface ConnectionListener
edu.ucsb.nceas.morpho.framework.ConnectionListener
username
- the new username as it now has been setpublic void connectionChanged(boolean connected)
connectionChanged
in interface ConnectionListener
edu.ucsb.nceas.morpho.framework.ConnectionListener
isConnected
- boolean true if the framework is now connectedpublic void refresh()
refresh
in interface QueryRefreshInterface
public void updateSavedQueryMenuItems(Morpho newMorpho)
updateSavedQueryMenuItems
in interface QueryRefreshInterface
newMorpho
- new Morpho object after switch profile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |