|
Knopflerfish OSGi 2.4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Model describing which bundles are selected.
Method Summary | |
void |
addBundleSelectionListener(BundleSelectionListener l)
Add a BundleSelectionListener to the set of listeners that gets notified at bundle selection changes. |
void |
clearSelection()
Clear the entire selection and notify all listeners. |
long |
getSelected()
Get selected bundle. |
int |
getSelectionCount()
Get the number of selected bundles. |
boolean |
isSelected(long bid)
Get selection status of a bundle Id. |
void |
removeBundleSelectionListener(BundleSelectionListener l)
Remove a BundleSelectionListener from the set of listeners that gets notified at bundle selection changes. |
void |
setSelected(long bid,
boolean bSelected)
Set selection status of a bundle id and notify all listeners. |
Method Detail |
public void clearSelection()
public int getSelectionCount()
public long getSelected()
public boolean isSelected(long bid)
bid
- Bundle Id to check.
public void setSelected(long bid, boolean bSelected)
bid
- Bundle Id to set selection status.bSelected
- new selection status of the bundle.public void addBundleSelectionListener(BundleSelectionListener l)
l
- listener to add.public void removeBundleSelectionListener(BundleSelectionListener l)
l
- listener to remove.
|
Knopflerfish OSGi 2.4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |