Package org.eclipse.ui.forms

Examples of org.eclipse.ui.forms.ManagedForm


  private final int MAX_ERROR_MESSAGE = 100;

  @Override
  public void createPartControl(Composite parent) {
    mform = new ManagedForm(parent);
    FormToolkit toolkit = getFormToolkit(parent.getDisplay());

    sform = mform.getForm();
    sform.getForm().setText(Messages.COMMONTXT_APPLICATIONS);
    toolkit.decorateFormHeading(sform.getForm());
View Full Code Here


    public ResolveVisualizerForm(Composite parent, FormToolkit toolkit, ResolveVisualizerView view) {
        this.toolkit = toolkit;
        this.view = view;
        form = this.toolkit.createScrolledForm(parent);
        managedForm = new ManagedForm(this.toolkit, this.form);
        createHeaderRegion(form);
        FillLayout layout = new FillLayout();
        layout.marginHeight = 10;
        layout.marginWidth = 4;
        form.getBody().setLayout(layout);
View Full Code Here

        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 ) {
                if( control instanceof Label){
                    return ((Label)control).getText();
View Full Code Here

     * Creates the SWT controls for this workbench part.
     *
     * @param parent the parent control
     */
    public final void createPartControl(final Composite parent) {
        managedForm = new ManagedForm(parent);
        setManagedForm(managedForm);
        ScrolledForm form = managedForm.getForm();
        FormToolkit toolkit = managedForm.getToolkit();
        toolkit.decorateFormHeading(form.getForm());
        form.setText(Messages.plugin);
View Full Code Here

  public KarafEditorPart() {
  }

  @Override
  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());
View Full Code Here

    form.getForm().setTextBackground(new Color[]{bg, gbg}, new int [] {100}, true);
    form.getForm().setSeparatorColor(colors.getColor(FormColors.TB_BORDER));
    form.getForm().setSeparatorVisible(true);
    */
    toolkit.decorateFormHeading(form.getForm());
    mform = new ManagedForm(toolkit, form);
    GridLayout glayout = new GridLayout();
    glayout.marginHeight = 0;
    glayout.marginWidth = 0;
    form.getBody().setLayout(glayout);
    final SashForm sash = new SashForm(form.getBody(), SWT.NULL);
View Full Code Here

  }

  @Override
  public void createPartControl(Composite parent) {
    if (mform == null) {
      mform = new ManagedForm(parent);
    }

    sform = mform.getForm();
    sform.getForm().setSeparatorVisible(true);
    sform.setText(Messages.getString("SpringConfigGraphPage.FORM_TITLE")); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of org.eclipse.ui.forms.ManagedForm

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.