cz.cuni.amis.pogamut.episodic.schemas
Class SchemaBag.SchemaMessageCommand
java.lang.Object
cz.cuni.amis.pogamut.episodic.schemas.SchemaBag.SchemaMessageCommand
- All Implemented Interfaces:
- ISchemaMessageCommand, Serializable
- Enclosing class:
- SchemaBag
public class SchemaBag.SchemaMessageCommand
- extends Object
- implements ISchemaMessageCommand, Serializable
Because counters in the schemabag are updated more often than
the individual nodes, it is convenient not to redraw all whole
schemabag visualization each time they are increased. But still,
the detailed information that is invoded when the count number is
requested by the user needs to be up to date. Therefore the reference
to SchemaMessageCommand class is passed to the
visualizer and it is used to receive latest count number each time
it is requested by the user via visualizer window.
- See Also:
- Serialized Form
|
Method Summary |
String |
getSchemaMessage(Collection<Integer> picked)
Once reference to SchemaMesssageCommand is set
in visualizer, this method can be used to retrieve up to date
count number of currently selected set of schema nodes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaBag.SchemaMessageCommand
public SchemaBag.SchemaMessageCommand()
getSchemaMessage
public String getSchemaMessage(Collection<Integer> picked)
- Once reference to
SchemaMesssageCommand is set
in visualizer, this method can be used to retrieve up to date
count number of currently selected set of schema nodes.
- Specified by:
getSchemaMessage in interface ISchemaMessageCommand
- Parameters:
picked - Collection of IDs of schema episode nodes and
schema object nodes that are selected in the visualizer and should
form the set of nodes representing wanted counter.
- Returns:
- The string message to be displayed to the user. If count
for selected set of nodes existed in
SchemaBag it
should contain the count number of this set of nodes.
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.