Package org.eclipse.graphiti.util
Interface IPredefinedRenderingStyle
- All Known Implementing Classes:
PredefinedColoredAreas
public interface IPredefinedRenderingStyle
This interface defines the IDs of the predefined rendering styles for
gradients, and constants for style adaptations of gradients. Each
(predefined) ID for a rendering style of an gradient corresponds to an
AdaptedGradientColoredAreas
defined in PredefinedColoredAreas
. Clients should extend this interface with an ID for each definition of an
own AdaptedGradientColoredAreas
. Clients can define their own
gradient adaptations by extending PredefinedColoredAreas
. A gradient
can be set by
IGaService.setRenderingStyle(AbstractStyle, AdaptedGradientColoredAreas)
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The ID for a blue-to-white gradient with a gloss-effect.static final String
The ID for a blue-to-white gradient.static final String
The ID for a copper-to-white gradient with a gloss-effect.static final String
The ID for a light gray color.static final String
The ID for a light yellow color.static final String
The ID for a silver-to-white gradient with a gloss-effect.static final int
The style-adaptation to use to indicate that an action is allowed.static final int
The style-adaptation to use to indicate that an action is forbidden.static final int
The style-adaptation to use for default, element is not selected.static final int
The style-adaptation to use for primary selected elements.static final int
The style-adaptation to use for secondary selected elements.
-
Field Details
-
BLUE_WHITE_GLOSS_ID
The ID for a blue-to-white gradient with a gloss-effect.- See Also:
-
BLUE_WHITE_ID
The ID for a blue-to-white gradient.- See Also:
-
LIGHT_YELLOW_ID
The ID for a light yellow color.- See Also:
-
LIGHT_GRAY_ID
The ID for a light gray color.- See Also:
-
COPPER_WHITE_GLOSS_ID
The ID for a copper-to-white gradient with a gloss-effect.- See Also:
-
SILVER_WHITE_GLOSS_ID
The ID for a silver-to-white gradient with a gloss-effect.- See Also:
-
STYLE_ADAPTATION_DEFAULT
static final int STYLE_ADAPTATION_DEFAULTThe style-adaptation to use for default, element is not selected.- See Also:
-
STYLE_ADAPTATION_PRIMARY_SELECTED
static final int STYLE_ADAPTATION_PRIMARY_SELECTEDThe style-adaptation to use for primary selected elements.- See Also:
-
STYLE_ADAPTATION_SECONDARY_SELECTED
static final int STYLE_ADAPTATION_SECONDARY_SELECTEDThe style-adaptation to use for secondary selected elements.- See Also:
-
STYLE_ADAPTATION_ACTION_ALLOWED
static final int STYLE_ADAPTATION_ACTION_ALLOWEDThe style-adaptation to use to indicate that an action is allowed.- See Also:
-
STYLE_ADAPTATION_ACTION_FORBIDDEN
static final int STYLE_ADAPTATION_ACTION_FORBIDDENThe style-adaptation to use to indicate that an action is forbidden.- See Also:
-