public class OMT
extends com.bbn.openmap.MapHandlerChild
Constructor and Description |
---|
OMT() |
Modifier and Type | Method and Description |
---|---|
static MapOb |
addMapOb(edu.stanford.smi.protege.model.Instance inst) |
static MapOb |
addMapOb(MapOb mo,
Playground pg) |
static void |
addTaskExecutor(TaskExecutor ta)
Registering new Task Executor
|
static void |
clearMapObs(java.util.Collection<edu.stanford.smi.protege.model.Instance> inss,
boolean kbdelete) |
static void |
clearTaskExecutors()
Remove all registered Task Executors atonce
|
void |
cmdAddObsToMap() |
static void |
cmdControlObject() |
void |
cmdMapBackObjects() |
void |
cmdRemObsFromMap() |
void |
cmdRemoveRepeatActions() |
void |
cmdStartRepeatActions() |
static void |
controlObject(edu.stanford.smi.protege.model.Instance inst) |
void |
findAndInit(java.lang.Object obj)
Standard Openmap method
|
void |
findAndUndo(java.lang.Object obj)
Standard Openmap method
|
static java.lang.String |
getCommand()
Return contains of slot scenario of picked by user Instanse
of class Command or its subclass that is a value of slot
commandSubclass of first instance of class RuNA in Protege
|
static MapOb |
getMapOb(edu.stanford.smi.protege.model.Instance inst) |
static MapOb |
getMapOb(java.lang.String label) |
static java.util.Collection<edu.stanford.smi.protege.model.Instance> |
getMapObInstances() |
static java.util.Collection<com.bbn.openmap.omGraphics.OMGraphic> |
getMapObs() |
static java.util.Collection<edu.stanford.smi.protege.model.Instance> |
getNavObInstances() |
static MapOb |
getOrAdd(edu.stanford.smi.protege.model.Instance inst) |
static Playground[] |
getPlaygrounds() |
static java.lang.String |
getScenario() |
static boolean |
isRunning() |
static void |
mapBackMapOb(edu.stanford.smi.protege.model.Instance inst) |
static void |
removeMapOb(edu.stanford.smi.protege.model.Instance inst,
boolean kbdelete) |
static void |
removeMapOb(MapOb mo,
boolean kbdelete) |
static void |
removeProtegeRepeatAction(edu.stanford.smi.protege.model.Instance inst)
Remove RepeatAction from Instance
return false if RA was not started
|
static void |
removeProtegeRepeatActions(java.util.Collection<edu.stanford.smi.protege.model.Instance> inss)
Remove RepeatActions from the collection of Instances
|
static void |
removeTaskExecutor(TaskExecutor ta)
Remove existing Task Executor
|
static void |
setTimerRunning(boolean timerRunning) |
static void |
setTimeScale(java.lang.String timeScale)
Set new time scale
|
static boolean |
startProtegeRepeatAction(edu.stanford.smi.protege.model.Instance inst)
Start RepeatAction from Instance
|
static void |
startProtegeRepeatActions(java.util.Collection<edu.stanford.smi.protege.model.Instance> inss)
Start RepeatActions from the collection of Instances
|
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
public static MapOb getMapOb(edu.stanford.smi.protege.model.Instance inst)
public static MapOb addMapOb(MapOb mo, Playground pg)
public static MapOb addMapOb(edu.stanford.smi.protege.model.Instance inst)
public static MapOb getOrAdd(edu.stanford.smi.protege.model.Instance inst)
public static void removeMapOb(edu.stanford.smi.protege.model.Instance inst, boolean kbdelete)
public static void removeMapOb(MapOb mo, boolean kbdelete)
public static void clearMapObs(java.util.Collection<edu.stanford.smi.protege.model.Instance> inss, boolean kbdelete)
public static java.util.Collection<edu.stanford.smi.protege.model.Instance> getMapObInstances()
public static java.util.Collection<com.bbn.openmap.omGraphics.OMGraphic> getMapObs()
public static java.util.Collection<edu.stanford.smi.protege.model.Instance> getNavObInstances()
public static MapOb getMapOb(java.lang.String label)
public static void controlObject(edu.stanford.smi.protege.model.Instance inst)
public static void mapBackMapOb(edu.stanford.smi.protege.model.Instance inst)
public void cmdAddObsToMap()
public void cmdRemObsFromMap()
public static void cmdControlObject()
public void cmdMapBackObjects()
public void cmdRemoveRepeatActions()
public void cmdStartRepeatActions()
public static void startProtegeRepeatActions(java.util.Collection<edu.stanford.smi.protege.model.Instance> inss)
inss
- - collection of Instances of class RepeatAction in Protegepublic static boolean startProtegeRepeatAction(edu.stanford.smi.protege.model.Instance inst)
inst
- - Intstance of class RepeatAction in Protegepublic static void removeProtegeRepeatAction(edu.stanford.smi.protege.model.Instance inst)
inst
- - Intstance of class RepeatAction in Protegepublic static void removeProtegeRepeatActions(java.util.Collection<edu.stanford.smi.protege.model.Instance> inss)
inss
- - collection of Instances of class RepeatAction in Protegepublic static void setTimeScale(java.lang.String timeScale)
timeScale
- - new time scalepublic static java.lang.String getCommand()
public static boolean isRunning()
public static void setTimerRunning(boolean timerRunning)
timerRunning
- The timerRunning to set.public static java.lang.String getScenario()
public void findAndInit(java.lang.Object obj)
findAndInit
in interface com.bbn.openmap.LightMapHandlerChild
findAndInit
in class com.bbn.openmap.MapHandlerChild
obj
- -public void findAndUndo(java.lang.Object obj)
findAndUndo
in interface com.bbn.openmap.LightMapHandlerChild
findAndUndo
in class com.bbn.openmap.MapHandlerChild
obj
- -public static void addTaskExecutor(TaskExecutor ta)
ta
- - program called on button Task on NavOb Form clickpublic static void removeTaskExecutor(TaskExecutor ta)
ta
- - program called on button Task on NavOb Form clickpublic static void clearTaskExecutors()
public static Playground[] getPlaygrounds()