|
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.icon.IconOptions
public final class IconOptions
Class for setting and testing flags used by the icon service
Field Summary | |
---|---|
static IconOptions |
GET_IMAGE_REPRESENTING_STEREOTYPE
set this if the image representing a stereotype is requested (use this to find the icon for a stereotype without an element). |
static IconOptions |
GET_STEREOTYPE_IMAGE_FOR_ELEMENT
set this if the stereotype image of an element's stereotype is requested |
static IconOptions |
NO_DEFAULT_STEREOTYPE_IMAGE
set this if no default image should be returned if the requested stereotype image is not found |
static IconOptions |
NONE
no option |
Constructor Summary | |
---|---|
IconOptions()
Constructor for IconOptions |
Method Summary | |
---|---|
int |
intValue()
Returns the flags as an integer bit flag |
static boolean |
isSet(int flags,
IconOptions option)
Tests if the specified option is set |
void |
set(IconOptions 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 IconOptions NONE
public static final IconOptions GET_STEREOTYPE_IMAGE_FOR_ELEMENT
public static final IconOptions NO_DEFAULT_STEREOTYPE_IMAGE
public static final IconOptions GET_IMAGE_REPRESENTING_STEREOTYPE
Constructor Detail |
---|
public IconOptions()
Method Detail |
---|
public int intValue()
public static boolean isSet(int flags, IconOptions option)
flags
- the flags as an integer bit flagoption
- the specified option
true
if this option is set, otherwise false
public void set(IconOptions 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.