Examples of createControl()


Examples of org.eclipse.ui.themes.IThemePreview.createControl()

                    if (preview != null) {
                        previewControl = new Composite(previewComposite,
                                SWT.NONE);
                        previewControl.setLayout(new FillLayout());
                        ITheme theme = getCascadingTheme();
                        preview.createControl(previewControl, theme);
                        previewSet.add(preview);
                    }
                } catch (CoreException e) {
                    previewControl = new Composite(previewComposite, SWT.NONE);
                    previewControl.setLayout(new FillLayout());
View Full Code Here

Examples of org.eclipse.ui.views.contentoutline.IContentOutlinePage.createControl()

    if (control == null || control.isDisposed()) {
      if (page instanceof Page) {
        ((Page) page).init(this.getSite());
      }
      page.setActionBars(getActionBars());
      page.createControl(pagebook);
      control = page.getControl();
      if (page instanceof Page) {
        ((Page) page).makeContributions(menuManager, toolBarManager, statusLineManager);
      }
    }
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage.createControl()

      annotationsTable.setInput(matchingAnnotations);

      final Sash sash = new Sash(annotationsComposite, SWT.HORIZONTAL);

      final PropertySheetPage propertySheet = new PropertySheetPage();
      propertySheet.createControl(annotationsComposite);
      propertySheet.setPropertySourceProvider(new IPropertySourceProvider() {
        public IPropertySource getPropertySource(Object object) {
          if (object instanceof Annotation) {
            IPropertySource annotationPropertySource = new AnnotationPropertySource(((Annotation) object));
            return annotationPropertySource;
View Full Code Here

Examples of org.erlide.ui.editors.erl.folding.IErlangFoldingPreferenceBlock.createControl()

            }
        }

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

Examples of org.xhtmlrenderer.simple.xhtml.XhtmlForm.createControl()

            if (form == null) {
                form = nsh.createForm(parentForm);
                _forms.put(parentForm, form);
            }

            FormControl control = form.createControl(e);
            if (control == null) {
                // this is not a form control
                return null;
            }
            SWTFormControl swtControl = null;
View Full Code Here

Examples of util.SOfficeFactory.createControl()

        log.println("creating a test environment");
       
        // get a soffice factory object
        SOfficeFactory SOF = SOfficeFactory.getFactory(((XMultiServiceFactory) Param.getMSF()));
        String objName = "HiddenControl";
        XInterface ctrl = SOF.createControl(xDrawDoc, objName);
       
        try {
            XDrawPage oDP = DrawTools.getDrawPage(xDrawDoc, 0);
           
            XNameContainer nc = FormTools.getForms(oDP);
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.