Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Runtime

org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance
Class ArrowTypePopup

java.lang.Object
  extended by 

org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.LineStylesPopup
      extended by 
org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ArrowTypePopup

public class ArrowTypePopup
extends LineStylesPopup

The menu-like pop-up widget that allows the user to select an arrow type.

Since:
2.1

Field Summary
 
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. LineStylesPopup
imageMap, selectedItem, shell
 
Constructor Summary
ArrowTypePopup ( Shell parent)
          Constructor for ArrowTypePopup.
 
Method Summary
  ArrowType getSelectedArrowTypeSource ()
          Gets the arrow decoration type for the source the user selected.
  ArrowType getSelectedArrowTypeTarget ()
          Gets the arrow decoration type for the target the user selected.
protected  void initializeImageMap ()
          Initialize the image map by adding items and images to the imageMap.
 
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. LineStylesPopup
getSelectedItem, open, open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrowTypePopup

public ArrowTypePopup(
Shell parent)
Constructor for ArrowTypePopup.

Parameters:
parent - the parent shell.
Method Detail

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

getSelectedArrowTypeSource

public 
ArrowType getSelectedArrowTypeSource()
Gets the arrow decoration type for the source the user selected. Could return null as the user may cancel the gesture.

Returns:
the selected arrow type or null.

getSelectedArrowTypeTarget

public 
ArrowType getSelectedArrowTypeTarget()
Gets the arrow decoration type for the target the user selected. Could return null as the user may cancel the gesture.

Returns:
the selected arrow type or null.

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire