package org.graphstream.gama.extension;

import msi.gama.common.interfaces.IKeyword;

public class IKeywordGSAdditional implements IKeyword {
	// New commands
	
	public static final String ADD_EDGE = "gs_add_edge";
	public static final String ADD_EDGE_ATTRIBUTE = "gs_add_edge_attribute";
	public static final String ADD_GRAPH_ATTRIBUTE = "gs_add_graph_attribute";
	public static final String ADD_NODE = "gs_add_node";
	public static final String ADD_NODE_ATTRIBUTE = "gs_add_node_attribute";
	public static final String ADD_SENDER = "gs_add_sender";
	public static final String CLEAR = "gs_clear";
	public static final String CLEAR_SENDERS = "gs_clear_senders";
	public static final String CLOSE = "gs_close";
	public static final String REMOVE_EDGE = "gs_remove_edge";
	public static final String REMOVE_EDGE_ATTRIBUTE = "gs_remove_edge_attribute";
	public static final String REMOVE_GRAPH_ATTRIBUTE = "gs_remove_graph_attribute";
	public static final String REMOVE_NODE = "gs_remove_node";
	public static final String REMOVE_NODE_ATTRIBUTE = "gs_remove_node_attribute";
	public static final String STEP = "gs_step";
	
	// Facets associated to a command
	
	public static final String ATTRIBUTE_NAME = "gs_attribute_name";
	public static final String ATTRIBUTE_VALUE = "gs_attribute_value";
	public static final String EDGE_ID = "gs_edge_id";
	public static final String HOST = "gs_host";
	public static final String IS_DIRECTED = "gs_is_directed";
	public static final String NODE_ID = "gs_node_id";
	public static final String NODE_ID_FROM = "gs_node_id_from";
	public static final String NODE_ID_TO = "gs_node_id_to";
	public static final String PORT = "gs_port";
	public static final String SENDERID = "gs_sender_id";
	public static final String STEP_NUMBER = "gs_step_number";
	
}

@@ -153,16 +153,34 @@
 mmands%0A%09
+%09// Sender command
 %0A%09public
@@ -1131,16 +1131,364 @@
 step%22;%0A%09
+%09//Receiver command%0A%09public static final String GET_EDGE_ATTRIBUTE = %22gs_get_edge_attribute%22;%0A%09public static final String GET_NODE_ATTRIBUTE = %22gs_get_node_attribute%22;%0A%09public static final String GET_GRAPH_ATTRIBUTE = %22gs_get_graph_attribute%22;%0A%09public static final String WAIT_STEP = %22gs_wait_step%22;%0A%09public static final String FLUSH = %22gs_flush%22;%0A
 %0A%09// Fac
@@ -1515,18 +1515,16 @@
 command%0A
-%09%0A
 %09public 
@@ -2021,24 +2021,83 @@
  %22gs_port%22;%0A
+%09public static final String RECEIVERID = %22gs_receiver_id%22;%0A
 %09public stat
@@ -2203,8 +2203,6 @@
 r%22;%0A
-%09%0A
 %7D%0A

Add new commands/facets for receiver