|
||||||||||
| 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.URIServiceContext
org.xngr.context.FileContext
public class FileContext
The context for a File/URI object, containing the file-services and actions for the file-services.
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the most appropriate description for the context's URI. |
java.util.List<FileMarker> |
getFileMarkers()
|
java.util.List<FileService> |
getFileServices()
|
javax.swing.Icon |
getIcon()
Returns the most appropriate icon for the context's URI. |
java.util.List<Marker> |
getMarkers()
|
java.lang.String |
getName()
Returns the most appropriate name for the context's URI. |
java.util.List<Service> |
getServices()
|
void |
open(Action action)
Opens the supplied service using the action's service, the context's URI and the arguments defined in the action. |
void |
open(FileService service)
Opens the supplied service using the Context's URI and an empty HashMap as arguments. |
void |
open(FileService service,
java.util.Map<java.lang.String,java.lang.String> arguments)
Opens the supplied service using the Context's URI. |
| Methods inherited from class org.xngr.context.URIServiceContext |
|---|
dispose, getURI |
| Methods inherited from class org.xngr.context.ServiceContext |
|---|
addServiceContextListener, 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 java.util.List<FileService> getFileServices()
public java.util.List<FileMarker> getFileMarkers()
public java.util.List<Service> getServices()
getServices in class ServiceContextpublic void open(FileService service)
service - the file-service to open.public void open(Action action)
action - the action to open the service for.public javax.swing.Icon getIcon()
public java.lang.String getName()
public java.lang.String getDescription()
public void open(FileService service,
java.util.Map<java.lang.String,java.lang.String> arguments)
service - the document-service to open.arguments - the argumentspublic java.util.List<Marker> getMarkers()
getMarkers in class ServiceContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||