public class EnvironmentSelection
extends org.openide.util.lookup.AbstractLookup
| Modifier and Type | Field and Description |
|---|---|
protected org.openide.util.lookup.InstanceContent |
content |
| Modifier | Constructor and Description |
|---|---|
protected |
EnvironmentSelection(org.openide.util.lookup.InstanceContent content) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelected(Object selected)
Add passed object to selected object of the environment
|
void |
changeSelected(Object singleSelection)
Remove all selected objects of the same class as has the passed paramater
and set it as the single selected object for the class.
|
void |
clearSelection()
Clear all selections in the environment
|
void |
removeSelected(Object unselected)
Remove object from the selected objects of the environment
|
protected EnvironmentSelection(org.openide.util.lookup.InstanceContent content)
public void addSelected(Object selected)
selected - public void removeSelected(Object unselected)
unselected - public void changeSelected(Object singleSelection)
singleSelection, - can be nullpublic void clearSelection()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.