org.scohen.juploadr.ui
Class PopupHandler

java.lang.Object
  extended byorg.scohen.juploadr.ui.PopupHandler
Direct Known Subclasses:
JUploadrPopupHandler, TrayPopupHandler, UploadThumbnailPopupHandler, UploadThumbnailPopupHandler, ZooomrPopupHandler

public abstract class PopupHandler
extends java.lang.Object

Author:
steve TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
protected  SelectionListener listener
           
protected static int MAX_SUBMENU_SIZE
           
protected  java.util.List options
           
protected  Decorations parent
           
protected  Menu popupMenu
           
protected static java.lang.String SEPARATOR
           
protected  java.lang.Object target
           
 
Constructor Summary
protected PopupHandler(Decorations parent)
           
 
Method Summary
protected  void initUI()
           
protected abstract  void regenerateOptions()
           
protected  void show()
           
protected  void widgetDefaultSelected(SelectionEvent event)
           
protected abstract  void widgetSelected(SelectionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR

protected static final java.lang.String SEPARATOR
See Also:
Constant Field Values

MAX_SUBMENU_SIZE

protected static final int MAX_SUBMENU_SIZE
See Also:
Constant Field Values

options

protected java.util.List options

popupMenu

protected Menu popupMenu

parent

protected Decorations parent

target

protected java.lang.Object target

listener

protected SelectionListener listener
Constructor Detail

PopupHandler

protected PopupHandler(Decorations parent)
Method Detail

regenerateOptions

protected abstract void regenerateOptions()

widgetSelected

protected abstract void widgetSelected(SelectionEvent event)

widgetDefaultSelected

protected void widgetDefaultSelected(SelectionEvent event)

initUI

protected void initUI()

show

protected void show()