de.grogra.imp.edit
public final class ViewSelection extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewSelection.Entry |
| Modifier and Type | Field and Description |
|---|---|
static int |
MOUSE_OVER
Bit mask indicating that the mouse pointer is over an object
in a view.
|
static int |
MOUSE_OVER_SELECTED
Bit mask indicating the single object under the mouse pointer which
the user has selected out of the list of objects under the mouse pointer.
|
static UIProperty |
PROPERTY |
static int |
SELECTED
Bit mask indicating that an object is selected.
|
| Modifier and Type | Method and Description |
|---|---|
int |
add(int type,
Path path) |
int |
count(int type) |
static void |
create(View view) |
static ViewSelection |
get(Context ctx) |
int |
get(java.lang.Object object,
boolean asNode) |
int |
get(Path path) |
ViewSelection.Entry[] |
getAll(int type) |
static int |
getColor(int baseColor,
int state,
boolean showSel) |
ViewSelection.Entry |
getEntry(Path path) |
ViewSelection.Entry |
getFirstEntry(java.lang.Object object,
boolean asNode) |
Path |
getFirstPath(int type) |
void |
graphModified(GraphState gs) |
boolean |
isSelected(java.lang.Object object,
boolean asNode) |
void |
remove(int type,
Path path) |
int |
removeAndAdd(int remove,
int add,
Path path) |
Path[] |
set(int type,
Path[] paths,
boolean updateWorkbenchSelection) |
void |
set(Selection sel,
boolean updateWorkbenchSelection) |
int |
toggle(int type,
Path path) |
public static final int MOUSE_OVER
public static final int MOUSE_OVER_SELECTED
public static final UIProperty PROPERTY
public static final int SELECTED
public int add(int type,
Path path)
public int count(int type)
public static void create(View view)
public static ViewSelection get(Context ctx)
public int get(java.lang.Object object,
boolean asNode)
public int get(Path path)
public ViewSelection.Entry[] getAll(int type)
public static int getColor(int baseColor,
int state,
boolean showSel)
public ViewSelection.Entry getEntry(Path path)
public ViewSelection.Entry getFirstEntry(java.lang.Object object, boolean asNode)
public Path getFirstPath(int type)
public void graphModified(GraphState gs)
public boolean isSelected(java.lang.Object object,
boolean asNode)
public void remove(int type,
Path path)
public int removeAndAdd(int remove,
int add,
Path path)
public void set(Selection sel, boolean updateWorkbenchSelection)
public int toggle(int type,
Path path)