|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.llrp.commander.views.ReaderExplorerViewContentProvider
public class ReaderExplorerViewContentProvider
This class perform as Content Provider for RFID Reader's View. It implements Eclipse's IStructuredContentProvider and ITreeContentProvider. The Reader lists would load from ResourceCenter.
| Constructor Summary | |
|---|---|
ReaderExplorerViewContentProvider()
|
|
| Method Summary | |
|---|---|
void |
dispose()
Dispose resources in the tree. |
java.lang.Object[] |
getChildren(java.lang.Object parent)
Retrieve all the child nodes. |
java.lang.Object[] |
getElements(java.lang.Object parent)
Retrieve all the child nodes. |
java.lang.Object |
getParent(java.lang.Object child)
Get the parent node. |
boolean |
hasChildren(java.lang.Object parent)
Judge whether the tree node has children. |
void |
inputChanged(org.eclipse.jface.viewers.Viewer v,
java.lang.Object oldInput,
java.lang.Object newInput)
The handler to process content change. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReaderExplorerViewContentProvider()
| Method Detail |
|---|
public java.lang.Object[] getElements(java.lang.Object parent)
getElements in interface org.eclipse.jface.viewers.IStructuredContentProviderpublic java.lang.Object getParent(java.lang.Object child)
getParent in interface org.eclipse.jface.viewers.ITreeContentProviderpublic java.lang.Object[] getChildren(java.lang.Object parent)
getChildren in interface org.eclipse.jface.viewers.ITreeContentProviderpublic boolean hasChildren(java.lang.Object parent)
hasChildren in interface org.eclipse.jface.viewers.ITreeContentProvider
public void inputChanged(org.eclipse.jface.viewers.Viewer v,
java.lang.Object oldInput,
java.lang.Object newInput)
inputChanged in interface org.eclipse.jface.viewers.IContentProviderpublic void dispose()
dispose in interface org.eclipse.jface.viewers.IContentProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||