public static enum SnapApp.SelectionSourceHint extends Enum<SnapApp.SelectionSourceHint>
SnapApp.getSelectedProduct(SelectionSourceHint)
} which selection provider should be used as primary selection sourceEnum Constant and Description |
---|
AUTO
The primary selection source is automatically detected.
|
EXPLORER
The product explorer shall be preferred as selection source.
|
VIEW
The scene view shall be preferred as selection source.
|
Modifier and Type | Method and Description |
---|---|
static SnapApp.SelectionSourceHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapApp.SelectionSourceHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapApp.SelectionSourceHint VIEW
public static final SnapApp.SelectionSourceHint EXPLORER
public static final SnapApp.SelectionSourceHint AUTO
public static SnapApp.SelectionSourceHint[] values()
for (SnapApp.SelectionSourceHint c : SnapApp.SelectionSourceHint.values()) System.out.println(c);
public static SnapApp.SelectionSourceHint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.