Examples of decorateFormHeading()


Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

    if (value == null) {
      return;
    }
    if (booleanValue) {
      FormToolkit toolkit = ToolKitUtil.findToolkit(form);
      toolkit.decorateFormHeading(form);
    }
  }
}
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

  public void createPartControl(Composite parent) {
    ManagedForm managedForm = new ManagedForm(parent);
    setManagedForm(managedForm);
    ScrolledForm form = managedForm.getForm();
    FormToolkit toolkit = managedForm.getToolkit();
    toolkit.decorateFormHeading(form.getForm());
    form.setText("Karaf Server");
    form.setImage(ImageResource.getImage(ImageResource.IMG_SERVER));
    form.getBody().setLayout(new GridLayout());

    GridData layoutData = new GridData();
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

    Composite formBody = form.getBody();
    formBody.setLayout(new FillLayout());

    this.form.setText(Messages.MessageDetailFormTitle);
    toolkit.decorateFormHeading(this.form);

    this.sash = new SashForm(formBody, SWT.SMOOTH | SWT.VERTICAL);
    this.sash.setLayout(new FillLayout());

    // force columns to use all available space
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

        final ScrolledForm form = managedForm.getForm();
       
        try
        {
            FormToolkit toolkit = managedForm.getToolkit();
            toolkit.decorateFormHeading(managedForm.getForm().getForm());
           
            this.mainSection = new RootSection();
            this.mainSection.createContent( managedForm );
           
            final ISapphireDocumentation doc = getDefinition().getDocumentation().content();
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

    final ScrolledForm form = managedForm.getForm();
    final FormToolkit toolkit = managedForm.getToolkit();
    toolkit.getHyperlinkGroup().setHyperlinkUnderlineMode(
        HyperlinkSettings.UNDERLINE_HOVER);
    form.setText("Example with message handling");
    toolkit.decorateFormHeading(form.getForm());
    form.getForm().addMessageHyperlinkListener(new HyperlinkAdapter() {
      public void linkActivated(HyperlinkEvent e) {
        String title = e.getLabel();
        // String details = title;
        Object href = e.getHref();
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

  protected void createFormContent(IManagedForm managedForm) {
    final FormToolkit toolkit = managedForm.getToolkit();

    final ScrolledForm form = managedForm.getForm();
    form.setText(ExecutionDataEditorExecutedClassesPage_title);
    toolkit.decorateFormHeading(form.getForm());

    final Composite body = form.getBody();
    body.setLayout(new org.eclipse.swt.layout.GridLayout(1, true));

    filter = toolkit.createText(body, null, SWT.SINGLE | SWT.SEARCH
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

  protected void createFormContent(IManagedForm managedForm) {
    final FormToolkit toolkit = managedForm.getToolkit();

    final ScrolledForm form = managedForm.getForm();
    form.setText(ExecutionDataEditorSessionsPage_title);
    toolkit.decorateFormHeading(form.getForm());

    final Composite body = form.getBody();
    GridLayoutFactory.swtDefaults().applyTo(body);

    final Table sessionTable = toolkit.createTable(body, SWT.FULL_SELECTION
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

    form = managedForm.getForm();
    form.getForm().setSeparatorVisible(true);
    form.getForm().setText(getTitle());

    FormToolkit toolkit = managedForm.getToolkit();
    toolkit.decorateFormHeading(form.getForm());

    block.createContent(managedForm);
    getSite().setSelectionProvider(getMasterPart().getViewer());
    updateHeader();
  }
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.FormToolkit.decorateFormHeading()

    sform.getForm().setSeparatorVisible(true);
    sform.setText(Messages.getString("SpringConfigGraphPage.FORM_TITLE")); //$NON-NLS-1$
    updateHeader();

    FormToolkit toolkit = mform.getToolkit();
    toolkit.decorateFormHeading(sform.getForm());
    Composite body = sform.getBody();
    body.setLayout(new FillLayout());

    super.createPartControl(body);
  }
View Full Code Here

Examples of org.locationtech.udig.feature.panel.FeaturePanelWidgetFactory.decorateFormHeading()

    public void createPartControl( Composite parent ) {
        FeaturePanelWidgetFactory factory = getWidgetFactory();       
        this.scrolled = factory.createScrolledForm(parent);
        this.form = scrolled.getForm();
        form.setText( getTitle() );
        factory.decorateFormHeading( form );
       
        managedForm = new ManagedForm( factory, scrolled );
        messages = managedForm.getMessageManager();
        messages.setMessagePrefixProvider( new IMessagePrefixProvider(){           
            public String getPrefix( Control control ) {
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.