Package org.eclipse.ui.forms.widgets

Examples of org.eclipse.ui.forms.widgets.TableWrapData


    // Import by Name or by Location
    toolkit.createLabel(topComposite, "", SWT.NONE);
    Composite nameOrLocation = toolkit.createComposite(topComposite, SWT.NONE);
    nameOrLocation.setLayout(new GridLayout(2, false));
    TableWrapData td = new TableWrapData();
    td.colspan = 1;
    td.grabHorizontal = true;
    td.indent = 0;
    nameOrLocation.setLayoutData(td);
    toolkit.paintBordersFor(nameOrLocation);   
View Full Code Here


        fullText.append("</span> ");
        fullText.append(msg);
        fullText.append("</p></form>");
        System.out.println("Text: " + fullText.toString());
        text.setText(fullText.toString(), true, false);
        text.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));
        historyForm.reflow(true);
        historyForm.setOrigin(0, text.getLocation().y);
      } else {
        if(styledTextHistory.getText().length() > 0) {
          styledTextHistory.append("\n");
View Full Code Here

//    text.setText(buf.toString(),true,true);
    text.setText(aboutText,true,true);
//    text.setImage("aboutImage",img);
//    text.setColor("header",tk.getColors().getColor(FormColors.TITLE));
//    text.setFont( "header",JFaceResources.getHeaderFont());
    TableWrapData tableWrapData = new TableWrapData(TableWrapData.FILL);
    text.setLayoutData(tableWrapData);
   
    text.addHyperlinkListener(new IHyperlinkListener(){
      public void linkEntered(HyperlinkEvent e) {
      }
View Full Code Here

     */
    protected Composite _createSection(String title, String description) {
        Section section = _toolkit.createSection(_form.getBody(),
                Section.DESCRIPTION | ExpandableComposite.TWISTIE
                        | ExpandableComposite.CLIENT_INDENT);
        TableWrapData data = new TableWrapData();
        data.grabHorizontal = true;
        section.setLayoutData(data);
        section.setBackground(null);
        section.setText(title);
        section.setDescription(description);
View Full Code Here

        Composite leftComposite = toolkit.createComposite( parent );
        GridLayout leftCompositeGridLayout = new GridLayout();
        leftCompositeGridLayout.marginHeight = leftCompositeGridLayout.marginWidth = 0;
        leftComposite.setLayout( leftCompositeGridLayout );
        TableWrapData leftCompositeTableWrapData = new TableWrapData( TableWrapData.FILL, TableWrapData.TOP );
        leftCompositeTableWrapData.grabHorizontal = true;
        leftComposite.setLayoutData( leftCompositeTableWrapData );

        createAdministratorSettingsSection( leftComposite, toolkit );
        createProtocolsSection( leftComposite, toolkit );
        createSupportedAuthenticationMechanismsSection( leftComposite, toolkit );

        Composite rightComposite = toolkit.createComposite( parent );
        GridLayout rightCompositeGridLayout = new GridLayout();
        rightCompositeGridLayout.marginHeight = rightCompositeGridLayout.marginWidth = 0;
        rightComposite.setLayout( rightCompositeGridLayout );
        TableWrapData rightCompositeTableWrapData = new TableWrapData( TableWrapData.FILL, TableWrapData.TOP );
        rightCompositeTableWrapData.grabHorizontal = true;
        rightComposite.setLayoutData( rightCompositeTableWrapData );

        createBinaryAttributesSection( rightComposite, toolkit );
        createLimitsSection( rightComposite, toolkit );
View Full Code Here

    {
        Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
        section.marginWidth = 10;
        section.setText( "Partition Details" ); //$NON-NLS-1$
        section.setDescription( "Set the properties of the partition." ); //$NON-NLS-1$
        TableWrapData td = new TableWrapData( TableWrapData.FILL, TableWrapData.TOP );
        td.grabHorizontal = true;
        section.setLayoutData( td );
        Composite client = toolkit.createComposite( section );
        toolkit.paintBordersFor( client );
        GridLayout glayout = new GridLayout( 3, false );
View Full Code Here

    {
        Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
        section.marginWidth = 10;
        section.setText( "Context Entry" ); //$NON-NLS-1$
        section.setDescription( "Set the attribute/value pairs for the Context Entry of the partition." ); //$NON-NLS-1$
        section.setLayoutData( new TableWrapData( TableWrapData.FILL ) );
        Composite client = toolkit.createComposite( section );
        toolkit.paintBordersFor( client );
        client.setLayout( new GridLayout( 2, false ) );
        section.setClient( client );
View Full Code Here

    {
        Section indexedAttributesSection = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
        indexedAttributesSection.marginWidth = 10;
        indexedAttributesSection.setText( "Indexed Attributes" ); //$NON-NLS-1$
        indexedAttributesSection.setDescription( "Set the indexed attributes of the partition." ); //$NON-NLS-1$
        indexedAttributesSection.setLayoutData( new TableWrapData( TableWrapData.FILL ) );
        Composite indexedAttributesClient = toolkit.createComposite( indexedAttributesSection );
        toolkit.paintBordersFor( indexedAttributesClient );
        indexedAttributesClient.setLayout( new GridLayout( 2, false ) );
        indexedAttributesSection.setClient( indexedAttributesClient );
View Full Code Here

    {
        Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
        section.marginWidth = 10;
        section.setText( "Partition Details" ); //$NON-NLS-1$
        section.setDescription( "Set the properties of the partition." ); //$NON-NLS-1$
        TableWrapData td = new TableWrapData( TableWrapData.FILL, TableWrapData.TOP );
        td.grabHorizontal = true;
        section.setLayoutData( td );
        Composite client = toolkit.createComposite( section );
        toolkit.paintBordersFor( client );
        GridLayout glayout = new GridLayout( 3, false );
View Full Code Here

    {
        Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
        section.marginWidth = 10;
        section.setText( "Context Entry" ); //$NON-NLS-1$
        section.setDescription( "Set the attribute/value pairs for the Context Entry of the partition." ); //$NON-NLS-1$
        section.setLayoutData( new TableWrapData( TableWrapData.FILL ) );
        Composite client = toolkit.createComposite( section );
        toolkit.paintBordersFor( client );
        client.setLayout( new GridLayout( 2, false ) );
        section.setClient( client );
View Full Code Here

TOP

Related Classes of org.eclipse.ui.forms.widgets.TableWrapData

Copyright © 2018 www.massapicom. 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.