Examples of PageBook


Examples of org.eclipse.ui.part.PageBook

     * Creates the table control.
     *
     * @param parent The to be parent of the control.
     */
    public void createTableControl( Composite parent ) {
        book = new PageBook(parent, SWT.NONE);
        message = new Text(book, SWT.WRAP);
        messageBackground = message.getBackground();
        messageForeground = message.getForeground();
        createTableViewer(book);
    }
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

        super();
    }

    @Override
    public void createPartControl( Composite parent ) {
        book = new PageBook(parent, SWT.NONE);

        information = new Text(book, SWT.WRAP);
        information.setText(Messages.MosaicInfoView_DefaultViewText);
        book.showPage(information);
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

  }

  @Override
  public void createPartControl(Composite parent) {
    // the PageBook allows simple switching between two viewers
    pagebook = new PageBook(parent, SWT.NONE);

    tableviewer = new TableViewer(pagebook, SWT.NONE);
    tableviewer.setLabelProvider(new WorkbenchLabelProvider());
    tableviewer.setContentProvider(new ArrayContentProvider());
    tableviewer.setSelection(null);
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

    }
  }
 
  @Override
  public void createControl(Composite parent) {
    book = new PageBook(parent, SWT.NONE);
   
    messageText = new Text(book, SWT.WRAP | SWT.READ_ONLY);
    messageText.setBackground(parent.getShell().getBackground());
    messageText.setText(notAvailableMessage);
   
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

        super.init(site);
        this.pageSite = new PageSite( site );
    }
   
    public void createPartControl( Composite parent ) {
        book = new PageBook( parent, SWT.NONE );
        messagePage = new MessagePage();
        messagePage.setMessage("Please select a feature with the edit geometry tool");
        messagePage.init( pageSite );
        messagePage.createControl(book);
       
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

        layout = new FormData();
        layout.top = new FormAttachment(null, 0);
        layout.left = new FormAttachment(null, 1);
        layout.width = 200;

        book = new PageBook(parent, SWT.NONE);
        layout = new FormData();
        layout.top = new FormAttachment(0);
        layout.left = new FormAttachment(0);
        layout.right = new FormAttachment(100);
        layout.bottom = new FormAttachment(100);
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

     * creates a <code>PageBook</code> control with its default page showing. Subclasses may extend.
     */
    public void createPartControl( Composite parent ) {

        // Create the page book.
        book = new PageBook(parent, SWT.NONE);

        // Create the default page rec.
        IPage defaultPage = createDefaultPage(book);
        defaultPageRec = new PageRec<K>(null, defaultPage);
        preparePage(defaultPageRec);
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

        }
        this.editor = editor;
    }

    public void createControl( Composite parent ) {
        pagebook = new PageBook(parent, SWT.NONE);
        Control outline = getViewer().createControl(pagebook);
        getViewer().setEditDomain(editor.getEditDomain());
        getViewer().setEditPartFactory(new TreePartFactory());
        // getViewer().setKeyHandler(editor.getCommonKeyHandler());
View Full Code Here

Examples of org.eclipse.ui.part.PageBook

     *
     * @see org.locationtech.udig.style.IStyleConfigurator#createControl(org.eclipse.swt.widgets.Composite)
     */
    public void createControl( Composite parent ) {
        createToolbarItems(); // now we have toolbar items
        editorBook = new PageBook(parent, SWT.NONE);
        editorBook.setVisible(true);

        blank = new Composite(editorBook, SWT.NONE);
        editorBook.showPage(blank);

View Full Code Here

Examples of org.eclipse.ui.part.PageBook

     *
     * @param parent The to be parent of the control.
     * @see Composite
     */
    public void createTableControl( Composite parent ) {
        control = new PageBook(parent, SWT.NONE);
        createTableViewer(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.