public abstract class AbstractFormSection extends java.lang.Object implements IFormSection
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected org.eclipse.swt.events.FocusListener |
focusListener |
protected AbstractFormPage |
formPage |
protected org.eclipse.ui.forms.widgets.Section |
section |
protected java.lang.Object |
sectionInput |
protected int |
style |
protected java.lang.String |
title |
Constructor and Description |
---|
AbstractFormSection(AbstractFormPage formPage,
java.lang.Object sectionInput) |
AbstractFormSection(AbstractFormPage formPage,
java.lang.Object sectionInput,
int style) |
Modifier and Type | Method and Description |
---|---|
protected void |
addFocusListener(org.eclipse.swt.widgets.Control control) |
void |
createContent(org.eclipse.ui.forms.IManagedForm managedForm,
org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.events.FocusListener |
createFocusListner() |
protected org.eclipse.swt.widgets.Composite |
createSectionClient(org.eclipse.ui.forms.IManagedForm managedForm,
org.eclipse.ui.forms.SectionPart sectionPart) |
protected abstract void |
createSectionClientContent(org.eclipse.ui.forms.IManagedForm managedForm,
org.eclipse.ui.forms.SectionPart sectionPart,
org.eclipse.swt.widgets.Composite sectionClient) |
protected org.eclipse.swt.widgets.Layout |
createSectionClientLayout() |
protected org.eclipse.ui.forms.SectionPart |
createSectionPart(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit) |
protected org.eclipse.jface.action.ToolBarManager |
createSectionToolbar(org.eclipse.ui.forms.widgets.Section section,
org.eclipse.ui.forms.widgets.FormToolkit toolkit) |
void |
dispose() |
protected org.eclipse.swt.widgets.Composite |
doCreateSectionClient(org.eclipse.ui.forms.IManagedForm managedForm,
org.eclipse.ui.forms.SectionPart sectionPart) |
protected void |
fillSectionToolBarActions(org.eclipse.jface.action.ToolBarManager toolBarManager)
Clients can override this methods to contribute actions to the tool bar of the section
|
protected void |
focusGained(org.eclipse.swt.events.FocusEvent e) |
protected void |
focusLost(org.eclipse.swt.events.FocusEvent e) |
protected int |
getDefaultSectionStyle() |
protected org.eclipse.swt.events.FocusListener |
getFocusListener() |
AbstractFormPage |
getFormPage() |
protected int |
getNumberOfColumns() |
java.lang.Object |
getSectionInput() |
protected java.lang.String |
getSectionInputName() |
protected java.lang.String |
getSectionInputTypeName() |
java.lang.String |
getTitle() |
protected boolean |
isControlAccessible(org.eclipse.swt.widgets.Control control) |
boolean |
isEmpty() |
void |
refreshMessages(org.eclipse.ui.forms.IMessageManager messageManager,
java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.util.Set<IFormMessage>> messages) |
void |
refreshSection() |
void |
setDescription(java.lang.String description) |
void |
setSectionInput(java.lang.Object sectionInput) |
void |
setTitle(java.lang.String title) |
protected AbstractFormPage formPage
protected java.lang.Object sectionInput
protected int style
protected java.lang.String title
protected java.lang.String description
protected org.eclipse.ui.forms.widgets.Section section
protected org.eclipse.swt.events.FocusListener focusListener
public AbstractFormSection(AbstractFormPage formPage, java.lang.Object sectionInput)
public AbstractFormSection(AbstractFormPage formPage, java.lang.Object sectionInput, int style)
public void setTitle(java.lang.String title)
setTitle
in interface IFormSection
public java.lang.String getTitle()
public void setDescription(java.lang.String description)
setDescription
in interface IFormSection
protected int getDefaultSectionStyle()
public void setSectionInput(java.lang.Object sectionInput)
setSectionInput
in interface IFormSection
public java.lang.Object getSectionInput()
protected java.lang.String getSectionInputName()
protected java.lang.String getSectionInputTypeName()
public void createContent(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent)
createContent
in interface IFormSection
protected org.eclipse.ui.forms.SectionPart createSectionPart(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit toolkit)
protected org.eclipse.swt.widgets.Composite createSectionClient(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.ui.forms.SectionPart sectionPart)
protected org.eclipse.swt.widgets.Composite doCreateSectionClient(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.ui.forms.SectionPart sectionPart)
protected org.eclipse.jface.action.ToolBarManager createSectionToolbar(org.eclipse.ui.forms.widgets.Section section, org.eclipse.ui.forms.widgets.FormToolkit toolkit)
protected void fillSectionToolBarActions(org.eclipse.jface.action.ToolBarManager toolBarManager)
toolBarManager
- protected org.eclipse.swt.widgets.Layout createSectionClientLayout()
protected int getNumberOfColumns()
protected abstract void createSectionClientContent(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.ui.forms.SectionPart sectionPart, org.eclipse.swt.widgets.Composite sectionClient)
protected boolean isControlAccessible(org.eclipse.swt.widgets.Control control)
protected org.eclipse.swt.events.FocusListener getFocusListener()
protected org.eclipse.swt.events.FocusListener createFocusListner()
protected void addFocusListener(org.eclipse.swt.widgets.Control control)
protected void focusLost(org.eclipse.swt.events.FocusEvent e)
protected void focusGained(org.eclipse.swt.events.FocusEvent e)
public AbstractFormPage getFormPage()
public void refreshSection()
refreshSection
in interface IFormSection
public void refreshMessages(org.eclipse.ui.forms.IMessageManager messageManager, java.util.Map<org.eclipse.emf.ecore.EStructuralFeature,java.util.Set<IFormMessage>> messages)
refreshMessages
in interface IFormSection
public boolean isEmpty()
public void dispose()