|
||||||||||
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
Fields inherited from interface edu.ucsb.nceas.morpho.framework.QueryRefreshInterface |
OPEN_DATAPACKAGE_COMMAND,
SEARCH_COMMAND |
Constructor Summary | |
QueryPlugin()
Construct the query plugin. |
Method Summary | |
void |
connectionChanged(boolean connected)
Implement the ConnectionListener interface so we know when to refresh queries. |
Command |
getCommandObject(int commandIdentifier)
return an instance of a Command object, identified by one of the integer constants defined above |
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)
public void usernameChanged(java.lang.String newUsername)
username
- the new username as it now has been setpublic void connectionChanged(boolean connected)
isConnected
- boolean true if the framework is now connectedpublic void refresh()
public void updateSavedQueryMenuItems(Morpho newMorpho)
newMorpho
- new Morpho object after switch profilepublic Command getCommandObject(int commandIdentifier) throws java.lang.ClassNotFoundException
commandIdentifier
- integer constant identifying the command
Options include:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |