|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xngr.context.ServiceContext
org.xngr.context.NodeContext
public class NodeContext
The context for a Node object, containing the node-services and actions for the node-services.
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the 'most appropriate' description for the context's Node. |
javax.swing.Icon |
getIcon()
Returns the 'most appropriate' icon for the context's Node. |
java.util.List<Marker> |
getMarkers()
|
java.lang.String |
getName()
Returns the 'most appropriate' name for the context's Node. |
org.w3c.dom.Node |
getNode()
|
java.util.List<NodeMarker> |
getNodeMarkers()
|
java.util.List<NodeService> |
getNodeServices()
|
java.util.List<Service> |
getServices()
|
void |
open(Action action)
Opens the supplied service using the action's service, the context's Node and the arguments defined in the action. |
void |
open(NodeService service)
Opens the supplied service using a newly created version of the Context's Node and an empty HashMap as arguments. |
void |
open(NodeService service,
java.util.Map<java.lang.String,java.lang.String> arguments)
Opens the supplied service using the Context's Node. |
| Methods inherited from class org.xngr.context.ServiceContext |
|---|
addServiceContextListener, dispose, fireActionsChanged, fireMarkersChanged, fireServicesChanged, getActions, removeServiceContextListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public org.w3c.dom.Node getNode()
public java.util.List<NodeService> getNodeServices()
public java.util.List<NodeMarker> getNodeMarkers()
public java.util.List<Service> getServices()
getServices in class ServiceContextpublic java.util.List<Marker> getMarkers()
getMarkers in class ServiceContextpublic void open(NodeService service)
service - the node-service to open.public void open(Action action)
action - the action to open the service for.
public void open(NodeService service,
java.util.Map<java.lang.String,java.lang.String> arguments)
service - the document-service to open.arguments - the argumentspublic javax.swing.Icon getIcon()
public java.lang.String getName()
public java.lang.String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||