|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.window.ApplicationWindow
de.jaret.examples.timebars.hierarchy.swt.SwtHierachy
public class SwtHierachy
Simple hierarchical view, SWT version. Scaling, manipulating the intervals, tree structure. The sum interval is rendered by a specialized sum renderer. The arrows beetwenn the intervals are a demonstration of the relation renderer that in fact is a global assistance renderer. Context menus on scale and hierarchy. Hierarchy using label provider including icons.
The example also demonstrates the usage of a variable xaxis definition. To see that version set _variableXAxis to true.
| Nested Class Summary | |
|---|---|
class |
SwtHierachy.ClearRegionAction
Action that clears the region rect. |
class |
SwtHierachy.DummyAction
Simpled dummy action. |
class |
SwtHierachy.HCtxHandler
|
class |
SwtHierachy.LabelProvider
|
class |
SwtHierachy.ZoomAction
Action that zooms the timeline to the selection if present. |
| Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
|---|
org.eclipse.jface.window.Window.IExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.window.ApplicationWindow |
|---|
seperator1 |
| Fields inherited from class org.eclipse.jface.window.Window |
|---|
CANCEL, OK |
| Constructor Summary | |
|---|---|
SwtHierachy()
|
|
| Method Summary | |
|---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell)
|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent)
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class org.eclipse.jface.window.ApplicationWindow |
|---|
addCoolBar, addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, close, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createMenuManager, createStatusLine, createStatusLineManager, createToolBarControl, createToolBarManager, createToolBarManager2, createTrimWidgets, getCoolBarControl, getCoolBarManager, getCoolBarManager2, getFont, getLayout, getMenuBarManager, getSeperator1, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, getToolBarManager2, run, setStatus, showTopSeperator, toolBarChildrenExist |
| Methods inherited from class org.eclipse.jface.window.Window |
|---|
constrainShellSize, create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwtHierachy()
| Method Detail |
|---|
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents in class org.eclipse.jface.window.Windowprotected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell in class org.eclipse.jface.window.ApplicationWindowpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||