Search in sources :

Example 71 with Section

use of org.eclipse.ui.forms.widgets.Section in project InformationSystem by ObeoNetwork.

the class BindingPropertiesEditionPartForm method createPropertiesGroup.

/**
 */
protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
    Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
    propertiesSection.setText(SoaMessages.BindingPropertiesEditionPart_PropertiesGroupLabel);
    GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
    propertiesSectionData.horizontalSpan = 3;
    propertiesSection.setLayoutData(propertiesSectionData);
    Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
    GridLayout propertiesGroupLayout = new GridLayout();
    propertiesGroupLayout.numColumns = 3;
    propertiesGroup.setLayout(propertiesGroupLayout);
    propertiesSection.setClient(propertiesGroup);
    return propertiesGroup;
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) ISection(org.eclipse.ui.views.properties.tabbed.ISection) Section(org.eclipse.ui.forms.widgets.Section)

Example 72 with Section

use of org.eclipse.ui.forms.widgets.Section in project InformationSystem by ObeoNetwork.

the class Interface_PropertiesEditionPartForm method createPropertiesGroup.

/**
 */
protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
    Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
    propertiesSection.setText(SoaMessages.Interface_PropertiesEditionPart_PropertiesGroupLabel);
    GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
    propertiesSectionData.horizontalSpan = 3;
    propertiesSection.setLayoutData(propertiesSectionData);
    Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
    GridLayout propertiesGroupLayout = new GridLayout();
    propertiesGroupLayout.numColumns = 3;
    propertiesGroup.setLayout(propertiesGroupLayout);
    propertiesSection.setClient(propertiesGroup);
    return propertiesGroup;
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) ISection(org.eclipse.ui.views.properties.tabbed.ISection) Section(org.eclipse.ui.forms.widgets.Section)

Example 73 with Section

use of org.eclipse.ui.forms.widgets.Section in project InformationSystem by ObeoNetwork.

the class ParameterPropertiesEditionPartForm method createPropertiesGroup.

/**
 */
protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
    Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
    propertiesSection.setText(SoaMessages.ParameterPropertiesEditionPart_PropertiesGroupLabel);
    GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
    propertiesSectionData.horizontalSpan = 3;
    propertiesSection.setLayoutData(propertiesSectionData);
    Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
    GridLayout propertiesGroupLayout = new GridLayout();
    propertiesGroupLayout.numColumns = 3;
    propertiesGroup.setLayout(propertiesGroupLayout);
    propertiesSection.setClient(propertiesGroup);
    return propertiesGroup;
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) ISection(org.eclipse.ui.views.properties.tabbed.ISection) Section(org.eclipse.ui.forms.widgets.Section)

Example 74 with Section

use of org.eclipse.ui.forms.widgets.Section in project InformationSystem by ObeoNetwork.

the class RiskPropertiesEditionPartForm method createPropertiesGroup.

/**
 */
protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
    Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
    propertiesSection.setText(GraalextensionsMessages.RiskPropertiesEditionPart_PropertiesGroupLabel);
    GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
    propertiesSectionData.horizontalSpan = 3;
    propertiesSection.setLayoutData(propertiesSectionData);
    Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
    GridLayout propertiesGroupLayout = new GridLayout();
    propertiesGroupLayout.numColumns = 3;
    propertiesGroup.setLayout(propertiesGroupLayout);
    propertiesSection.setClient(propertiesGroup);
    return propertiesGroup;
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) ISection(org.eclipse.ui.views.properties.tabbed.ISection) Section(org.eclipse.ui.forms.widgets.Section)

Example 75 with Section

use of org.eclipse.ui.forms.widgets.Section in project InformationSystem by ObeoNetwork.

the class FlowPropertiesEditionPartForm method createPropertiesGroup.

/**
 */
protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
    Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
    propertiesSection.setText(FlowMessages.FlowPropertiesEditionPart_PropertiesGroupLabel);
    GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
    propertiesSectionData.horizontalSpan = 3;
    propertiesSection.setLayoutData(propertiesSectionData);
    Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
    GridLayout propertiesGroupLayout = new GridLayout();
    propertiesGroupLayout.numColumns = 3;
    propertiesGroup.setLayout(propertiesGroupLayout);
    propertiesSection.setClient(propertiesGroup);
    return propertiesGroup;
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) ISection(org.eclipse.ui.views.properties.tabbed.ISection) Section(org.eclipse.ui.forms.widgets.Section)

Aggregations

Section (org.eclipse.ui.forms.widgets.Section)260 Composite (org.eclipse.swt.widgets.Composite)229 GridLayout (org.eclipse.swt.layout.GridLayout)216 GridData (org.eclipse.swt.layout.GridData)215 ISection (org.eclipse.ui.views.properties.tabbed.ISection)103 ExpandableComposite (org.eclipse.ui.forms.widgets.ExpandableComposite)70 TableViewer (org.eclipse.jface.viewers.TableViewer)33 FormToolkit (org.eclipse.ui.forms.widgets.FormToolkit)32 ExpansionEvent (org.eclipse.ui.forms.events.ExpansionEvent)30 TableWrapData (org.eclipse.ui.forms.widgets.TableWrapData)29 ExpansionAdapter (org.eclipse.ui.forms.events.ExpansionAdapter)28 SelectionEvent (org.eclipse.swt.events.SelectionEvent)25 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)19 Group (org.eclipse.swt.widgets.Group)19 EJFrameworkExtensionProperties (org.entirej.framework.core.properties.definitions.interfaces.EJFrameworkExtensionProperties)19 ISelectionChangedListener (org.eclipse.jface.viewers.ISelectionChangedListener)17 SelectionChangedEvent (org.eclipse.jface.viewers.SelectionChangedEvent)17 HyperlinkEvent (org.eclipse.ui.forms.events.HyperlinkEvent)17 FillLayout (org.eclipse.swt.layout.FillLayout)16 HyperlinkAdapter (org.eclipse.ui.forms.events.HyperlinkAdapter)16