Examples of addExpansionListener()


Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

        toolkit.decorateFormHeading(form.getForm());

        final Section section = toolkit.createSection(form.getBody(), SECTION_STYLE);
        section.setText("Country Details");
        section.setDescription("Update country details below.");
        section.addExpansionListener(new ExpansionAdapter(){
            public void expansionStateChanged( ExpansionEvent e ) {
                // Nothing
            }
        });
        final Composite client = toolkit.createComposite(section, SWT.NONE);
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

        // Other sample section - to try out ColumnLayout
        final Section sectionOther = toolkit.createSection(form.getBody(), SECTION_STYLE);
        sectionOther.setText("Others");
        sectionOther
                .setDescription("Sample section to demo ColumnLayout, make the view width smaller to force it to relayout.");
        sectionOther.addExpansionListener(new ExpansionAdapter(){
            public void expansionStateChanged( ExpansionEvent e ) {
                // Nothing
            }
        });
        final Composite clientOther = toolkit.createComposite(sectionOther, SWT.NONE);
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

            Messages.DDE_OverviewPage_General_Section_Title,
            Messages.DDE_OverviewPage_General_Section_Description, 10, 3, TableWrapData.FILL_GRAB,
            TableWrapData.FILL_GRAB, 1, 1);

    section.setExpanded(true);
    section.addExpansionListener(new ExpansionAdapter() {
      public void expansionStateChanged(ExpansionEvent e) {
        form.reflow(true);
      }
    });
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

    Section section = FormSection.createTableWrapDataSection(toolkit, parent, Section.TREE_NODE
            | Section.DESCRIPTION, Messages.DDE_OverviewPage_Service_Section_Title,
            Messages.DDE_OverviewPage_Service_Section_Description, 10, 3, TableWrapData.FILL_GRAB,
            TableWrapData.FILL_GRAB, 1, 1);
    section.setExpanded(true);
    section.addExpansionListener(new ExpansionAdapter() {
      public void expansionStateChanged(ExpansionEvent e) {
        form.reflow(true);
      }
    });
    Composite sectionClient = toolkit.createComposite(section);
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

        data.grabHorizontal = true;
        section.setLayoutData(data);
        section.setBackground(null);
        section.setText(title);
        section.setDescription(description);
        section.addExpansionListener(new ExpansionAdapter() {
            public void expansionStateChanged(ExpansionEvent e) {
                _form.reflow(false);
            }
        });
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

      public void expansionStateChanging(ExpansionEvent e) {

      }

    };
    chartsSection.addExpansionListener(listener);
    createSection.addExpansionListener(listener);
    CTabFolder flt = new CTabFolder(chartsSection, SWT.BOTTOM);
    chartsSection.setClient(flt);
    createAnalisysParts(flt);
    overview.setLayout(new GridLayout(1, true));
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

            Messages.DDE_OverviewPage_General_Section_Title,
            Messages.DDE_OverviewPage_General_Section_Description, 10, 3, TableWrapData.FILL_GRAB,
            TableWrapData.FILL_GRAB, 1, 1);

    section.setExpanded(true);
    section.addExpansionListener(new ExpansionAdapter() {
      public void expansionStateChanged(ExpansionEvent e) {
        form.reflow(true);
      }
    });
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

    Section section = FormSection.createTableWrapDataSection(toolkit, parent, Section.TREE_NODE
            | Section.DESCRIPTION, Messages.DDE_OverviewPage_Service_Section_Title,
            Messages.DDE_OverviewPage_Service_Section_Description, 10, 3, TableWrapData.FILL_GRAB,
            TableWrapData.FILL_GRAB, 1, 1);
    section.setExpanded(true);
    section.addExpansionListener(new ExpansionAdapter() {
      public void expansionStateChanged(ExpansionEvent e) {
        form.reflow(true);
      }
    });
    Composite sectionClient = toolkit.createComposite(section);
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

            Messages.DDE_AEConfigPage_AEConfigTree_Section_Title,
            Messages.DDE_AEConfigPage_AEConfigTree_Section_Description, 10, 10, GridData.FILL_BOTH
                    | GridData.VERTICAL_ALIGN_BEGINNING, 1, 1);
    section.clientVerticalSpacing = 10;
    section.setExpanded(true);
    section.addExpansionListener(new ExpansionAdapter() {
      public void expansionStateChanged(ExpansionEvent e) {
        form.reflow(true);
      }
    });
    spart = new SectionPart(section);
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Section.addExpansionListener()

            Messages.DDE_OverviewPage_General_Section_Title,
            Messages.DDE_OverviewPage_General_Section_Description, 10, 3, TableWrapData.FILL_GRAB,
            TableWrapData.FILL_GRAB, 1, 1);

    section.setExpanded(true);
    section.addExpansionListener(new ExpansionAdapter() {
      public void expansionStateChanged(ExpansionEvent e) {
        form.reflow(true);
      }
    });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.