|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ColorPalettePopup
| Field Summary | |
static Point |
ICON_SIZE
default color icon width |
| Constructor Summary | |
ColorPalettePopup(Shell parent,
int rowHeight)
Creates a PopupList above the specified shell. |
|
ColorPalettePopup(Shell parent,
java.lang.String preferenceId,
int rowHeight)
Deprecated. Use the other constructor. This one does not retrieve the default value from the correct preference store. |
|
| Method Summary | |
RGB |
getSelectedColor()
Gets the color the user selected. |
RGB |
open(Point location)
Launches the Popup List, waits for an item to be selected and then closes PopupList. |
boolean |
useDefaultColor()
Returns true if the user selected to use the default color |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Point ICON_SIZE
| Constructor Detail |
public ColorPalettePopup(Shell parent,
java.lang.String preferenceId,
int rowHeight)
parent - a Shell control which will be the parent of the new instance
(cannot be null)
public ColorPalettePopup(Shell parent,
int rowHeight)
parent - a widget which will be the parent of the new instance (cannot
be null)| Method Detail |
public RGB open(Point location)
public RGB getSelectedColor()
ColorPalettePopup.useDefaultColor().
public boolean useDefaultColor()
|
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.