Results 1 to 2 of 2
  1. #1
    natelapp is offline Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    0

    Default multiple views in one folder tab in RCP app

    In my RCP application I am creating a folder in my layout which will eventually have multiple tabs. However, on one of the tabs I want to have two views. Here's the code I'm using so far.

    IFolderLayout folder = layout.createFolder("Folder", IPageLayout.LEFT, 0.5f, editorArea);
    folder.addView(View.ID);
    folder.addView(ComputerList.ID);

    However, this results in two separate tabs. I want to put both of those views on the same tab. Is this possible?

    Thanks in advance.

  2. #2
    vogella is offline Member
    Join Date
    Aug 2009
    Location
    Heidelberg
    Posts
    47
    Rep Power
    0

    Default

    Not sure what you mean with "in the same" tab. You can arrange views with the "relative" attribute in extension point org.eclipse.ui.perspectiveExtensions

Similar Threads

  1. Multiple views on user interface application
    By dand_dd in forum SWT / JFace
    Replies: 36
    Last Post: 04-24-2009, 10:05 AM
  2. Relation between 2 views
    By tojas in forum SWT / JFace
    Replies: 0
    Last Post: 04-19-2009, 04:22 AM
  3. List views, a type of object
    By Leprechaun in forum New To Java
    Replies: 2
    Last Post: 02-06-2008, 04:07 AM
  4. add password to folder
    By ismailsaleh in forum AWT / Swing
    Replies: 1
    Last Post: 01-08-2008, 06:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •