uk.ac.ic.doc.automed.p2p.editor
Class SMRTool
java.lang.Object
uk.ac.ic.doc.automed.p2p.editor.SMRTool
public class SMRTool
- extends java.lang.Object
An interface class with the AutoMed editors
- Version:
- 1.0 Department of Computing, Imperial College
- Author:
- Duc M Le dmle@doc.ic.ac.uk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emulatorDHT
private static ow.dht.DHT emulatorDHT
SMRTool
public SMRTool()
indexSchema
public static UserActionResult indexSchema(Gui g,
java.lang.Object[] objs)
throws AutoMedException
- Index a schema and its transformation pathway in the SMR overlay network
This method is invoked by the Schema Network GUI (see the
developer_actions.cfg file for more details)
- Parameters:
objs
-
- Returns:
-
- Throws:
AutoMedException
queryExtent
public static UserActionResult queryExtent(Gui g,
java.lang.Object[] selected)
- Query extent of a schema object on the Gui editor
wrapSMRSchema
public static UserActionResult wrapSMRSchema(java.lang.Object[] objs)
throws AutoMedException
- Connect (if not already) to the SMR overlay network
- Parameters:
objs
-
- Returns:
-
- Throws:
AutoMedException
wrapSMRSchema
public static Schema wrapSMRSchema(java.lang.String smrSchemaName,
ow.dht.DHT dht)
throws AutoMedException
- Throws:
AutoMedException
wrapSMRSchema
public static Schema wrapSMRSchema(java.lang.String smrSchemaName)
throws AutoMedException
- Throws:
AutoMedException