|
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.ui.internal.AbstractPageSection
Abstract class to handle most of the functionality of a Page Section.
org.eclipse.tptp.wsdm.tooling.editor.capability.internal.pages.overview.DetailsSection,
org.eclipse.tptp.wsdm.tooling.editor.capability.internal.pages.property.CardinalitySection,
org.eclipse.tptp.wsdm.tooling.editor.capability.internal.pages.operation.ParamSection,
org.eclipse.tptp.wsdm.tooling.editor.capability.internal.pages.topic.ListSection| Field Summary | |
|---|---|
protected CapabilityEditor |
_editor
|
protected IUIPage |
_page
|
protected int |
LAYOUT_HORIZONTAL_SPACING
|
protected int |
LAYOUT_MARGIN_WIDTH
|
protected int |
LAYOUT_VERTICAL_SPACING
|
| Constructor Summary | |
|---|---|
AbstractPageSection(CapabilityEditor editor,
IUIPage page,
org.eclipse.ui.forms.widgets.ScrolledForm form,
org.eclipse.ui.forms.widgets.FormToolkit toolkit)
Creates a new object of this class. |
|
| Method Summary | |
|---|---|
abstract void |
create()
Creates the section. |
protected org.eclipse.swt.widgets.Button |
createPushButton(org.eclipse.swt.widgets.Composite panel,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
java.lang.String msg,
org.eclipse.swt.widgets.Listener listener)
Creats a new push button. |
org.eclipse.swt.widgets.Composite |
createSection(java.lang.String title,
java.lang.String descr)
Creates the section. |
org.eclipse.swt.widgets.Composite |
createSection(java.lang.String title,
java.lang.String descr,
int colspan,
int rowspan)
Creates the section. |
org.eclipse.ui.forms.widgets.ScrolledForm |
getForm()
Returns the ScrolledForm. |
IUIPage |
getPage()
Returns the UI page of this section. |
java.lang.String |
getTitle()
Returns the title of the form. |
org.eclipse.ui.forms.widgets.FormToolkit |
getToolkit()
Returns the FormToolkit. |
void |
pageChange(int newPageIndex)
Gives the indication of page change event. |
abstract void |
refresh()
Refreshes the section. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.tptp.wsdm.tooling.editor.ui.internal.IPageSection |
|---|
enable, hookAllListeners, selectionChanged, setSelectedObject |
| Field Detail |
protected final int LAYOUT_MARGIN_WIDTH
protected final int LAYOUT_VERTICAL_SPACING
protected final int LAYOUT_HORIZONTAL_SPACING
protected CapabilityEditor _editor
protected IUIPage _page
| Constructor Detail |
public AbstractPageSection(CapabilityEditor editor,
IUIPage page,
org.eclipse.ui.forms.widgets.ScrolledForm form,
org.eclipse.ui.forms.widgets.FormToolkit toolkit)
| Method Detail |
public org.eclipse.ui.forms.widgets.ScrolledForm getForm()
getForm in interface IPageSectionpublic java.lang.String getTitle()
getTitle in interface IPageSectionpublic org.eclipse.ui.forms.widgets.FormToolkit getToolkit()
getToolkit in interface IPageSectionpublic IUIPage getPage()
getPage in interface IPageSection
public org.eclipse.swt.widgets.Composite createSection(java.lang.String title,
java.lang.String descr)
createSection in interface IPageSection
public org.eclipse.swt.widgets.Composite createSection(java.lang.String title,
java.lang.String descr,
int colspan,
int rowspan)
createSection in interface IPageSection
protected org.eclipse.swt.widgets.Button createPushButton(org.eclipse.swt.widgets.Composite panel,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
java.lang.String msg,
org.eclipse.swt.widgets.Listener listener)
public abstract void create()
create in interface IPageSectionpublic abstract void refresh()
refresh in interface IPageSectionpublic void pageChange(int newPageIndex)
pageChange in interface IPageSection
|
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 | ||||||||||