public class ProxyFolder extends Object implements Folder, FolderListener
Constructor and Description |
---|
ProxyFolder(FolderManager folderManager,
ProxyGroup proxyGroup,
Location location) |
Modifier and Type | Method and Description |
---|---|
void |
added()
Called when the folder was added to the browser space
|
void |
folderChanged(Collection<Entry> added,
Collection<String> removed,
boolean full)
Provide changes to the listener
|
Entry[] |
list(Stack<String> path) |
void |
removed()
Called when the folder was removed from the browser space
|
void |
subscribe(Stack<String> path,
FolderListener listener,
Object tag) |
void |
unsubscribe(Stack<String> path,
Object tag) |
public ProxyFolder(FolderManager folderManager, ProxyGroup proxyGroup, Location location)
folderManager
- proxyGroup
- location
- public void added()
Folder
public Entry[] list(Stack<String> path) throws NoSuchFolderException
list
in interface Folder
NoSuchFolderException
public void removed()
Folder
public void subscribe(Stack<String> path, FolderListener listener, Object tag) throws NoSuchFolderException
subscribe
in interface Folder
NoSuchFolderException
public void unsubscribe(Stack<String> path, Object tag) throws NoSuchFolderException
unsubscribe
in interface Folder
NoSuchFolderException
public void folderChanged(Collection<Entry> added, Collection<String> removed, boolean full)
FolderListener
If either no items were added or removed the corresponding list must still be not null. The lists may not be altered by the listener implementations and may by unmodifiable.
folderChanged
in interface FolderListener
added
- the folder entries that were addedremoved
- the folder entries that where removedfull
- true
if this is not a change but a full
transmission, in this case the removed
parameter
must be empty or null
.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.