|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.elementselection.ElementSelectionScope
public class ElementSelectionScope
Class for setting and testing flags used by the element selection service.
Field Summary | |
---|---|
static ElementSelectionScope |
BINARIES
Provide all types in binaries (if applicable). |
static ElementSelectionScope |
GLOBAL
Provide all types in the workspace and target environment (if applicable). |
static ElementSelectionScope |
PRIMITIVES
Provide all primities types in the sources (if applicable). |
static ElementSelectionScope |
SOURCES
Provide all types in the sources (if applicable). |
static ElementSelectionScope |
VISIBLE
The default option to provide all visible types based on the context. |
Constructor Summary | |
---|---|
ElementSelectionScope()
Constructor for IconOptions |
Method Summary | |
---|---|
int |
intValue()
Returns the scope as an integer bit flag |
static boolean |
isSet(int scope,
ElementSelectionScope option)
Tests if the specified option is set |
void |
set(ElementSelectionScope option)
Sets the specified option |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ElementSelectionScope VISIBLE
public static final ElementSelectionScope GLOBAL
public static final ElementSelectionScope BINARIES
public static final ElementSelectionScope SOURCES
public static final ElementSelectionScope PRIMITIVES
Constructor Detail |
---|
public ElementSelectionScope()
Method Detail |
---|
public int intValue()
public static boolean isSet(int scope, ElementSelectionScope option)
scope
- the scope as an integer bit flagoption
- the specified option
true
if this option is set, otherwise
false
public void set(ElementSelectionScope option)
option
- the specified option
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.