Examples of decorateFormHeading()


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

        managedForm.setInput(model);

        FormToolkit tk = managedForm.getToolkit();
        ScrolledForm form = managedForm.getForm();
        form.setText("Workspace Config");
        tk.decorateFormHeading(form.getForm());
        form.getForm().addMessageHyperlinkListener(new MessageHyperlinkAdapter(getEditor()));

        // Create controls
        Composite body = form.getBody();
View Full Code Here

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

    mform = new ManagedForm(parent);
    FormToolkit toolkit = getFormToolkit(parent.getDisplay());

    sform = mform.getForm();
    sform.getForm().setText(Messages.COMMONTXT_APPLICATIONS);
    toolkit.decorateFormHeading(sform.getForm());

    cloudServer = (CloudFoundryServer) getServer().getOriginal().loadAdapter(CloudFoundryServer.class, null);

    masterDetailsBlock = new ApplicationMasterDetailsBlock(this, cloudServer);
    masterDetailsBlock.createContent(mform);
View Full Code Here

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

  @Override
  public void createPartControl(Composite parent) {
    FormToolkit toolkit = getFormToolkit(parent.getDisplay());
   
    ScrolledForm form = toolkit.createScrolledForm(parent);
    toolkit.decorateFormHeading(form.getForm());
    form.setText(Messages.ServerConfigurationEditorPart_FormTitle);
    /* TODO form.setImage(TomcatUIPlugin.getImage(TomcatUIPlugin.IMG_WEB_MODULE));*/
    GridLayout layout = new GridLayout();
    layout.marginTop = 6;
    layout.marginLeft = 6;
View Full Code Here

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

        managedForm.setInput(getEditorInput());

        FormToolkit toolkit = managedForm.getToolkit();
        ScrolledForm form = managedForm.getForm();
        form.setText("JAR File Viewer");
        toolkit.decorateFormHeading(form.getForm());

        titleImg = AbstractUIPlugin.imageDescriptorFromPlugin(PluginConstants.PLUGIN_ID, "/icons/jar_obj.gif").createImage(form.getDisplay());
        form.setImage(titleImg);

        // CREATE CONTROLS
View Full Code Here

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

  protected void createFormContent(IManagedForm managedForm) {
    FormToolkit toolkit = managedForm.getToolkit();
    managedForm.setInput(model);
   
    ScrolledForm scrolledForm = managedForm.getForm();
    toolkit.decorateFormHeading(scrolledForm.getForm());
    scrolledForm.setText("Tapestry 5 custom component packages list");
   
    Form form = scrolledForm.getForm();
        toolkit.decorateFormHeading(form);
        Composite body = form.getBody();
View Full Code Here

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

    ScrolledForm scrolledForm = managedForm.getForm();
    toolkit.decorateFormHeading(scrolledForm.getForm());
    scrolledForm.setText("Tapestry 5 custom component packages list");
   
    Form form = scrolledForm.getForm();
        toolkit.decorateFormHeading(form);
        Composite body = form.getBody();

        greyTitleBarColour = new Color(body.getDisplay(), 210, 245, 210);

        // Create controls
View Full Code Here

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

  protected void createFormContent(IManagedForm managedForm) {
    FormToolkit toolkit = managedForm.getToolkit();
    managedForm.setInput(model);
   
    ScrolledForm scrolledForm = managedForm.getForm();
    toolkit.decorateFormHeading(scrolledForm.getForm());
    scrolledForm.setText("Tapestry 5 custom component packages list");
   
    Form form = scrolledForm.getForm();
        toolkit.decorateFormHeading(form);
        Composite body = form.getBody();
View Full Code Here

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

    ScrolledForm scrolledForm = managedForm.getForm();
    toolkit.decorateFormHeading(scrolledForm.getForm());
    scrolledForm.setText("Tapestry 5 custom component packages list");
   
    Form form = scrolledForm.getForm();
        toolkit.decorateFormHeading(form);
        Composite body = form.getBody();

        // Create controls
        MDSashForm sashForm = new MDSashForm(body, SWT.HORIZONTAL, managedForm);
        sashForm.setSashWidth(6);
View Full Code Here

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

    //toolBarManager.add(launch);
    toolBarManager.add(debugMode);
    toolBarManager.update(true);
    Composite body = createForm.getBody();
    body.setLayout(new FillLayout());
    tk.decorateFormHeading(createForm);
    SashForm composite = new SashForm(body, SWT.NONE);
    super.createPartControl(composite);
    createForm.setLayoutData(GridDataFactory.fillDefaults()
        .grab(true, true).create());
    browser = new Browser(composite, SWT.NONE);
View Full Code Here

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

    FormToolkit toolkit = mform.getToolkit();
    Form form = mform.getForm().getForm();
    form.setMessage("Specify how the elements should be structured",
        IMessageProvider.INFORMATION);
    toolkit.decorateFormHeading(form);

    form.getBody().setLayout(new GridLayout());
    Section section = toolkit.createSection(form.getBody(), Section.TITLE_BAR);
    section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
    section.setText("Groups");
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.