public abstract class AbstractClientSystemTagManager extends java.lang.Object implements ClientSubManager
TagManagerBase.CollisionPolicy
Modifier and Type | Field and Description |
---|---|
protected VisionClientContext |
context |
protected java.lang.String |
name |
protected java.util.Map<TagPath,ClientTag> |
tagMap |
Modifier | Constructor and Description |
---|---|
protected |
AbstractClientSystemTagManager(VisionClientContext context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTag(ClientTag tag,
TagPath context) |
void |
addTags(TagPath parentFolder,
java.util.List<TagNode> tag,
TagManagerBase.CollisionPolicy policy)
Adds the given tags into the parent folder.
|
java.util.List<Tag> |
browse(TagPath root)
Provides the tags located beneath the specified path.
|
void |
editTags(java.util.List<TagPath> paths,
TagDiff tag)
Applies the given TagDiff edit to the paths indicated
|
ClientTag |
getTag(TagPath path)
Returns the tag located at a specific path.
|
TagDiagnostics |
getTagDiagnostics(TagPath path)
Returns the current diagnostic information for a given path.
|
java.util.List<Tag> |
getTags(java.util.List<TagPath> paths) |
protected java.lang.String |
getTooltip(TagPath path) |
protected abstract void |
initTags(SystemTagFolder root)
This is where you create your system tags - add them to this root folder
|
java.util.List<QualifiedValue> |
read(java.util.List<TagPath> paths)
Reads the values of the given tag paths.
|
void |
removeTags(java.util.List<TagPath> tagPaths)
Removes the tags at the given tag paths.
|
void |
shutdown() |
void |
startup() |
void |
subscribe(java.util.List<TagPath> paths,
java.util.List<TagChangeListener> listeners)
Subscribes to multiple paths at once, in order to be more efficient.
|
void |
subscribe(TagPath path,
TagChangeListener listener)
Subscribes to the given tag path/property.
|
void |
unsubscribe(java.util.List<TagPath> paths,
java.util.List<TagChangeListener> listeners)
Unsubscribes from multiple paths at once, in order to be more efficient.
|
void |
unsubscribe(TagPath path,
TagChangeListener listener)
Unsubscribes from the given tag path/property.
|
WriteOperation |
write(TagPath path,
java.lang.Object value) |
protected final VisionClientContext context
protected final java.lang.String name
protected AbstractClientSystemTagManager(VisionClientContext context, java.lang.String name)
protected abstract void initTags(SystemTagFolder root)
protected java.lang.String getTooltip(TagPath path)
public void removeTags(java.util.List<TagPath> tagPaths)
TagManagerBase
removeTags
in interface TagManagerBase
public void addTags(TagPath parentFolder, java.util.List<TagNode> tag, TagManagerBase.CollisionPolicy policy)
TagManagerBase
addTags
in interface TagManagerBase
public void editTags(java.util.List<TagPath> paths, TagDiff tag)
TagManagerBase
editTags
in interface TagManagerBase
public ClientTag getTag(TagPath path)
TagCollection
getTag
in interface TagCollection
public java.util.List<Tag> getTags(java.util.List<TagPath> paths)
getTags
in interface ClientSubManager
public TagDiagnostics getTagDiagnostics(TagPath path)
TagManagerBase
getTagDiagnostics
in interface TagManagerBase
public void subscribe(TagPath path, TagChangeListener listener)
TagSubscriptionManager
subscribe
in interface TagSubscriptionManager
public void subscribe(java.util.List<TagPath> paths, java.util.List<TagChangeListener> listeners)
TagSubscriptionManager
subscribe
in interface TagSubscriptionManager
public void unsubscribe(java.util.List<TagPath> paths, java.util.List<TagChangeListener> listeners)
TagSubscriptionManager
unsubscribe
in interface TagSubscriptionManager
public void unsubscribe(TagPath path, TagChangeListener listener)
TagSubscriptionManager
unsubscribe
in interface TagSubscriptionManager
public void shutdown()
shutdown
in interface ClientSubManager
public void startup()
startup
in interface ClientSubManager
public java.util.List<QualifiedValue> read(java.util.List<TagPath> paths)
TagSubscriptionManager
read
in interface TagSubscriptionManager
public WriteOperation write(TagPath path, java.lang.Object value)
write
in interface ClientSubManager
public java.util.List<Tag> browse(TagPath root)
TagCollection
browse
in interface TagCollection