|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.swt.widgets.Decorations
org.eclipse.swt.widgets.Shell
ee.quest.shell.BaseShell
public class BaseShell
| Field Summary | |
|---|---|
protected org.springframework.beans.factory.BeanFactory |
beanFactory
|
protected Callback<?> |
callback
|
protected org.eclipse.swt.widgets.Display |
display
|
protected MenuContext |
menuContext
|
protected org.springframework.context.MessageSource |
messageSource
|
protected boolean |
open
|
| Fields inherited from class org.eclipse.swt.widgets.Composite |
|---|
embeddedHandle |
| Fields inherited from class org.eclipse.swt.widgets.Widget |
|---|
handle |
| Constructor Summary | |
|---|---|
BaseShell()
|
|
BaseShell(org.eclipse.swt.widgets.Shell shell)
|
|
BaseShell(org.eclipse.swt.widgets.Shell shell,
int style)
|
|
| Method Summary | |
|---|---|
protected void |
afterOpen()
Things todo after shell is layed out |
void |
afterPropertiesSet()
|
protected void |
checkSubclass()
Decoration method to enable subclassing |
protected void |
handleCriticalException(Exception e)
|
protected void |
init()
Method for overriding by subclass. |
protected void |
initMenuContext()
Initializes menu context. |
boolean |
isRunning()
|
void |
open()
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
void |
setCallback(Callback<?> callback)
|
void |
setOpen(boolean open)
|
void |
start()
|
void |
stop()
|
protected String |
t(String label)
|
protected String |
t(String label,
Object o)
|
protected String |
t(String label,
Object[] o)
|
protected String |
t(String label,
Object[] o,
Locale locale)
|
| Methods inherited from class org.eclipse.swt.widgets.Shell |
|---|
addShellListener, close, computeTrim, dispose, forceActive, getAlpha, getBounds, getFullScreen, getImeInputMode, getLocation, getMaximized, getMinimumSize, getModified, getRegion, getShells, getSize, getToolBar, getVisible, gtk_new, internal_new, isEnabled, isVisible, print, removeShellListener, setActive, setAlpha, setEnabled, setFullScreen, setImeInputMode, setMaximized, setMenuBar, setMinimized, setMinimumSize, setMinimumSize, setModified, setRegion, setText, setVisible |
| Methods inherited from class org.eclipse.swt.widgets.Decorations |
|---|
getDefaultButton, getImage, getImages, getMenuBar, getMinimized, getText, isReparentable, setDefaultButton, setImage, setImages |
| Methods inherited from class org.eclipse.swt.widgets.Canvas |
|---|
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
|---|
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
getBorderWidth, getHorizontalBar, getScrollbarsMode, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
|---|
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getMenu, getMonitor, getOrientation, getParent, getShell, getToolTipText, getTouchEnabled, internal_dispose_GC, internal_new_GC, isFocusControl, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setSize, setSize, setToolTipText, setTouchEnabled, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected MenuContext menuContext
protected Callback<?> callback
protected org.springframework.beans.factory.BeanFactory beanFactory
protected org.springframework.context.MessageSource messageSource
protected boolean open
protected final org.eclipse.swt.widgets.Display display
| Constructor Detail |
|---|
public BaseShell(org.eclipse.swt.widgets.Shell shell,
int style)
public BaseShell(org.eclipse.swt.widgets.Shell shell)
public BaseShell()
| Method Detail |
|---|
public void setOpen(boolean open)
public void open()
open in class org.eclipse.swt.widgets.Shell
protected void afterOpen()
throws Exception
Exceptionprotected void handleCriticalException(Exception e)
public void setCallback(Callback<?> callback)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionprotected void checkSubclass()
checkSubclass in class org.eclipse.swt.widgets.Decorations
protected void init()
throws Exception
Exceptionprotected void initMenuContext()
protected String t(String label)
protected String t(String label,
Object o)
protected String t(String label,
Object[] o)
protected String t(String label,
Object[] o,
Locale locale)
public final void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||