Examples of createControl()


Examples of org.eclipse.jface.action.ToolBarManager.createControl()

    Table table = new Table(tableArea, SWT.BORDER | SWT.SINGLE | SWT.CHECK);

    GridDataFactory.fillDefaults().grab(true, true).applyTo(table);

    ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
    ToolBar bar = toolBarManager.createControl(toolBarArea);
    GridDataFactory.fillDefaults().align(SWT.END, SWT.BEGINNING).grab(true, false).applyTo(bar);

    servicesViewer = new CheckboxTableViewer(table);

    servicesViewer.setContentProvider(new TreeContentProvider());
View Full Code Here

Examples of org.eclipse.jface.action.ToolBarManager.createControl()

  }

  protected ToolBarManager createToolBarManager(Composite parent) {
    ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
    ToolBar toolBar = toolBarManager.createControl(parent);

    // Adapt it to a form if a form tool kit is specified
    adaptControl(toolBar);

    GridDataFactory.fillDefaults().grab(false, false).align(SWT.BEGINNING, SWT.BEGINNING).applyTo(toolBar);
View Full Code Here

Examples of org.eclipse.jface.action.ToolBarManager.createControl()

    rowLayout.marginBottom = 0;
    headerComposite.setLayout(rowLayout);
    headerComposite.setBackground(null);

    ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
    toolBarManager.createControl(headerComposite);

    servicesViewer = new TableViewer(toolkit.createTable(client, SWT.MULTI));
    new ServiceViewerConfigurator().configureViewer(servicesViewer);

    servicesViewer.setContentProvider(new TreeContentProvider());
View Full Code Here

Examples of org.eclipse.jface.action.ToolBarManager.createControl()

    rowLayout.marginBottom = 0;
    headerComposite.setLayout(rowLayout);
    headerComposite.setBackground(null);

    ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
    toolBarManager.createControl(headerComposite);

    applicationsViewer = new TableViewer(toolkit.createTable(client, SWT.NONE));
    applicationsViewer.setContentProvider(new TreeContentProvider());
    applicationsViewer.setLabelProvider(new ServerLabelProvider() {
      @Override
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage.createControl()

   */
  public void createPageControls(Composite pageContainer) {
    // the default behavior is to create all the pages controls
    for (int i = 0; i < pages.size(); i++) {
      IWizardPage page = (IWizardPage) pages.get(i);
      page.createControl(pageContainer);
    }
  }

  /*
   * (non-Javadoc)
 
View Full Code Here

Examples of org.eclipse.mylyn.tasks.ui.editors.AbstractAttributeEditor.createControl()

   
    AbstractAttributeEditor editor = createAttributeEditor(getTaskData().getRoot().getMappedAttribute(TaskAttribute.USER_ASSIGNED));
    if (editor!=null) {
      editor.createLabelControl(composite, toolkit);
      editor.createControl(composite, toolkit);
      layoutHelper.setLayoutData(editor);
      getTaskEditorPage().getAttributeEditorToolkit().adapt(editor);
    }
   
    editor = createAttributeEditor(getTaskData().getRoot().getMappedAttribute(TaskAttribute.USER_REPORTER));
View Full Code Here

Examples of org.eclipse.php.ui.folding.IPHPFoldingPreferenceBlock.createControl()

      }
    }

    Control control = (Control) fProviderControls.get(id);
    if (control == null) {
      control = prefs.createControl(fGroup);
      if (control == null) {
        String message = PHPUIMessages.FoldingConfigurationBlock_info_no_preferences;
        control = new ErrorPreferences(message).createControl(fGroup);
      } else {
        fProviderControls.put(id, control);
View Full Code Here

Examples of org.eclipse.ui.internal.provisional.cheatsheets.TaskEditor.createControl()

        GridLayout layout = new GridLayout();
        layout.marginWidth = 0;
        layout.marginHeight = 0;
        editorPanel.setLayout(layout);
        mform.getToolkit().adapt(editorPanel);
        editor.createControl(editorPanel, mform.getToolkit());
        editable.setEditor(editor);
        GridData gridData = new GridData(GridData.FILL_BOTH);
        editor.getControl().setLayoutData(gridData);
      }
    }
View Full Code Here

Examples of org.eclipse.ui.internal.provisional.cheatsheets.TaskExplorer.createControl()

    // Load the explorer from an extension point

    TaskExplorerManager explorerManager = TaskExplorerManager.getInstance();
    explorer = explorerManager.getExplorer(id);
    if (explorer != null) {
      explorer.createControl(explorerContainer, mform.getToolkit());
      explorer.getControl().setData(ICompositeCheatsheetTags.EXPLORER, explorer);
      new TreeExplorerMenu(explorer);
    }
    return explorer;
  }
View Full Code Here

Examples of org.eclipse.ui.part.IPage.createControl()

            return rec;
        }
        setContributor(part);
        IPage page = (IPage) new FeaturePanelPage(this);
        initPage((IPageBookViewPage) page);
        page.createControl(getPageBook());
        return new PageRec(part, page);
    }

    @Override
    protected void doDestroyPage(IWorkbenchPart part, PageRec pageRecord) {
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.