org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance
Class LineTypePopup
java.lang.Object
org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.LineStylesPopup
org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.LineTypePopup
-
public class LineTypePopup
- extends
LineStylesPopup
The menu-like pop-up widget that allows the user to select a line type.
-
Since:
- 2.1
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
LineTypePopup
public LineTypePopup(
Shell parent)
- Constructor for LineTypePopup.
-
Parameters:
-
parent
- the parent shell.
initializeImageMap
protected void initializeImageMap()
-
Description copied from class:
LineStylesPopup
- Initialize the image map by adding items and images to the imageMap.
-
-
Specified by:
-
initializeImageMap
in class
LineStylesPopup
-
getSelectedLineType
public
LineType getSelectedLineType()
- Gets the line type the user selected. Could return null as the user may
cancel the gesture.
-
-
Returns:
- the selected line type or null.
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.