|
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.LineStylesPopup
public abstract class LineStylesPopup
The menu-like pop-up widget that allows the user to select a value for the line styles.
Field Summary | |
---|---|
protected java.util.Map |
imageMap
The map of items in the popup. |
protected java.lang.Object |
selectedItem
|
protected Shell |
shell
|
Constructor Summary | |
---|---|
LineStylesPopup(Shell parent)
Creates a LineStylesPopup below the specified shell. |
Method Summary | |
---|---|
java.lang.Object |
getSelectedItem()
Gets the item the user selected. |
protected abstract void |
initializeImageMap()
Initialize the image map by adding items and images to the imageMap. |
void |
open(Point location)
Open the popup, waits for an item to be selected and then closes popup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map imageMap
protected Shell shell
protected java.lang.Object selectedItem
Constructor Detail |
---|
public LineStylesPopup(Shell parent)
parent
- a widget which will be the parent of the new instance (cannot
be null)Method Detail |
---|
protected abstract void initializeImageMap()
public void open(Point location)
location
- the initial location of the popup; the popup will be
positioned so that it does not run off the screen and the
largest number of items are visiblepublic java.lang.Object getSelectedItem()
|
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.