|
TPTP 4.3.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.wsdm.tooling.editor.mrt.internal.GridFormGenerator
Base class for form-generators. Rather than subclassing ScrolledForm in JFace we subclass this. ScrolledForm is not designed for extension. Note: to use FormToolkit, org.eclipse.ui.forms must be an explicit plug-in dependency.
See http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-ui-home/working/EclipseForms/EclipseForms.html for info on writing forms.
| Constructor Summary | |
|---|---|
protected |
GridFormGenerator(org.eclipse.swt.widgets.Composite parent,
java.lang.String name)
Creates a scrolledform with 2 colums for layouting purpose. |
| Method Summary | |
|---|---|
protected org.eclipse.swt.widgets.Composite |
createSection(java.lang.String title,
java.lang.String descr)
Create an Eclipse-looking form section, with twistie rollup feature. |
protected org.eclipse.swt.widgets.Composite |
createSection(java.lang.String title,
java.lang.String descr,
int colspan,
int rowspan)
|
org.eclipse.ui.forms.widgets.ScrolledForm |
getForm()
|
java.lang.String |
getTitle()
|
protected org.eclipse.ui.forms.widgets.FormToolkit |
getToolkit()
|
protected boolean |
showOkDialog(java.lang.String title,
java.lang.String msg,
int dlgType)
Shows the message dialog and an OK button |
protected void |
showUnimplementedDialog()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected GridFormGenerator(org.eclipse.swt.widgets.Composite parent,
java.lang.String name)
parent - - The composite which should be used for drawing the formname - - name of the form| Method Detail |
public org.eclipse.ui.forms.widgets.ScrolledForm getForm()
public java.lang.String getTitle()
protected org.eclipse.ui.forms.widgets.FormToolkit getToolkit()
protected org.eclipse.swt.widgets.Composite createSection(java.lang.String title,
java.lang.String descr)
protected org.eclipse.swt.widgets.Composite createSection(java.lang.String title,
java.lang.String descr,
int colspan,
int rowspan)
protected void showUnimplementedDialog()
protected boolean showOkDialog(java.lang.String title,
java.lang.String msg,
int dlgType)
title - - Title of the dialogmsg - - Message to be displayeddlgType - - Whether info/warning/error, etc.
|
TPTP 4.3.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||