Commit 23cc5980 authored by Thibaut Démare's avatar Thibaut Démare

Some javadoc

parent 875742ed
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_add_edge_attribute} command.
*
* <pre>
* gs_add_edge_attribute gs_sender_id:senderId gs_edge_id:edgeId gs_attribute_name:name gs_attribute_value:value;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.ADD_EDGE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.ADD_EDGE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,6 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,6 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_add_edge} command.
*
* <pre>
* gs_add_edge gs_sender_id:senderId gs_edge_id:edgeId gs_node_id_from:nodeId gs_node_id_to:nodeId gs_is_directed:dir;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.ADD_EDGE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.ADD_EDGE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_add_graph_attribute} command.
*
* <pre>
* gs_add_graph_attribute gs_sender_id:senderId gs_attribute_name:name gs_attribute_value:value;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.ADD_GRAPH_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.ADD_GRAPH_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_add_node_attribute} command.
*
* <pre>
* gs_add_node_attribute gs_sender_id:senderId gs_node_id:nodeId gs_attribute_name:name gs_attribute_value:value;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.ADD_NODE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.ADD_NODE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,6 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,6 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_add_node} command.
*
* <pre>
* gs_add_node gs_sender_id:senderId gs_node_id:nodeId;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.ADD_NODE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.ADD_NODE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,6 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,6 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_add_sender} command.
*
* <pre>
* gs_add_sender gs_sender_id:senderId gs_nhost:host gs_port:port;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.ADD_SENDER, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.ADD_SENDER, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -12,6 +12,15 @@ import msi.gaml.statements.IStatement; ...@@ -12,6 +12,15 @@ import msi.gaml.statements.IStatement;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_clear_senders} command.
*
* <pre>
* gs_clear_senders;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.CLEAR_SENDERS, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.CLEAR_SENDERS, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
public class ClearSendersStatement extends AbstractStatement implements IStatement{ public class ClearSendersStatement extends AbstractStatement implements IStatement{
......
...@@ -16,8 +16,15 @@ import msi.gaml.statements.AbstractStatement; ...@@ -16,8 +16,15 @@ import msi.gaml.statements.AbstractStatement;
import msi.gaml.statements.IStatement; import msi.gaml.statements.IStatement;
import msi.gaml.types.IType; import msi.gaml.types.IType;
/**
* Implements the {@code gs_clear} command.
*
* <pre>
* gs_clear gs_sender_id:senderId;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.CLEAR, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.CLEAR, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false) }) @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false) })
......
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_close} command.
*
* <pre>
* gs_close gs_sender_id:senderId;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.CLOSE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.CLOSE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false)}) @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false)})
......
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_remove_edge_attribute} command.
*
* <pre>
* gs_remove_edge_attribute gs_sender_id:senderId gs_edge_id:nodeId;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.REMOVE_EDGE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.REMOVE_EDGE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,6 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,6 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_remove_edge} command.
*
* <pre>
* gs_remove_edge gs_sender_id:senderId gs_edge_id:edgeId;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.REMOVE_EDGE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.REMOVE_EDGE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_remove_graph_attribute} command.
*
* <pre>
* gs_remove_graph_attribute gs_sender_id:senderId gs_attribute_name:name;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.REMOVE_GRAPH_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.REMOVE_GRAPH_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_remove_node_attribute} command.
*
* <pre>
* gs_remove_node_attribute gs_sender_id:senderId gs_node_id:nodeId gs_attribute_name:name;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.REMOVE_NODE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.REMOVE_NODE_ATTRIBUTE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,6 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,6 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_remove_node} command.
*
* <pre>
* gs_remove_node gs_sender_id:senderId gs_node_id:nodeId;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.REMOVE_NODE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.REMOVE_NODE, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
...@@ -16,7 +16,15 @@ import msi.gaml.types.IType; ...@@ -16,7 +16,15 @@ import msi.gaml.types.IType;
import org.graphstream.gama.extension.GSManager; import org.graphstream.gama.extension.GSManager;
import org.graphstream.gama.extension.IKeywordGSAdditional; import org.graphstream.gama.extension.IKeywordGSAdditional;
/**
* Implements the {@code gs_step} command.
*
* <pre>
* gs_step gs_sender_id:senderId gs_step_number:number;
* </pre>
* @author Thibaut Dmare
*
*/
@symbol(name = IKeywordGSAdditional.STEP, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false) @symbol(name = IKeywordGSAdditional.STEP, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)
@inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER }) @inside(kinds = { ISymbolKind.BEHAVIOR, ISymbolKind.SEQUENCE_STATEMENT, ISymbolKind.LAYER })
@facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false), @facets(value = { @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment