|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.resources.SystemRemoteMarkerManager
This singleton class manages all remote markers.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
void |
add(ISystemRemoteResource resource,
SystemRemoteMarkerInfo[] newMarkers)
Adds the given markers to the given resource. |
ISystemRemoteMarker |
findMarker(ISystemRemoteResource resource,
long id)
Returns the marker with the given id or null if none is found. |
SystemRemoteMarkerInfo |
findMarkerInfo(ISystemRemoteResource resource,
long id)
Finds a marker info given a resource, and the marker id. |
ISystemRemoteMarker[] |
findMarkers(ISystemRemoteResource resource,
String type,
boolean includeSubtypes)
Returns all markers of the specified type on the given target, and optionally the subtypes as well. |
SystemRemoteMarkerTypeDefinitionCache |
getCache()
Get the cache. |
static SystemRemoteMarkerManager |
getInstance()
Get the singleton instance. |
long |
getNextMarkerId()
Get the next marker id. |
boolean |
isPersistent(ISystemRemoteMarker marker)
Returns whether given marker is persistent. |
boolean |
isPersistent(SystemRemoteMarkerInfo info)
Returns whether marker info is persistent. |
boolean |
isPersistent(SystemRemoteMarkerInfo[] infos)
Returns whether any of the marker infos are persistent. |
void |
removeMarker(ISystemRemoteResource resource,
long id)
Removes a marker. |
void |
removeMarkers(ISystemRemoteResource resource,
String type,
boolean includeSubtypes)
Removes markers of the given type, and optionally all the subtypes, from the given resource. |
void |
shutdown(IProgressMonitor monitor)
This method is called during plugin shutdown. |
void |
startup(IProgressMonitor monitor)
This method is called during plugin startup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Method Detail |
public static SystemRemoteMarkerManager getInstance()
public SystemRemoteMarkerTypeDefinitionCache getCache()
public long getNextMarkerId()
public void add(ISystemRemoteResource resource, SystemRemoteMarkerInfo[] newMarkers)
public void removeMarker(ISystemRemoteResource resource, long id)
public SystemRemoteMarkerInfo findMarkerInfo(ISystemRemoteResource resource, long id)
public void removeMarkers(ISystemRemoteResource resource, String type, boolean includeSubtypes)
public ISystemRemoteMarker findMarker(ISystemRemoteResource resource, long id)
null
if none is found.
null
if none s found.public ISystemRemoteMarker[] findMarkers(ISystemRemoteResource resource, String type, boolean includeSubtypes)
null
for the type specifies a matching target for all types.
public boolean isPersistent(SystemRemoteMarkerInfo info)
public boolean isPersistent(ISystemRemoteMarker marker)
public boolean isPersistent(SystemRemoteMarkerInfo[] infos)
public void startup(IProgressMonitor monitor)
ISystemRemoteManager
startup
in interface ISystemRemoteManager
ISystemRemoteManager.startup(IProgressMonitor)
public void shutdown(IProgressMonitor monitor)
ISystemRemoteManager
shutdown
in interface ISystemRemoteManager
ISystemRemoteManager.shutdown(IProgressMonitor)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |