Results 1 to 3 of 3

Thread: Help on implementing gui idea

  1. #1
    Join Date
    Dec 2008
    Posts
    11

    Default Help on implementing gui idea

    Hi

    i'm pretty new to the Spring RCP theme.
    I wanted to implement a gui with the structure below.



    A Treeview as navigation and right of it master/detail view. for almost all functions in my application i will have master/detail on tghe right side.

    I looked over a few examples but could find any hint for implementing this gui.

    Is this right that I need to implement my own ApplicationWindowFactory providing a window with the treeview and space for the master/detail implementation? If yes how do i implement my own AppWindowFactory? Examples would be great.

    If there are any examples where such a view/window is implemented it would be nice if you post a link.

    Thanks for your help in advance
    greetz
    ccamr

  2. #2
    Join Date
    Sep 2004
    Location
    Ghent, Belgium
    Posts
    224

    Default

    create a new ApplicationPage implementation (subclass AbstractApplicationPage). It's control consists of a JSplitPane, containing a Tree on the left, and a JPanel on the right.

    Implement the doAddPageComponent and doRemovePageComponent methods so that they add/remove the View's control to the JPanel on the right.

    Then you also need an ApplicationPageFactory that creates new ApplicationPage instances.

    hope this helps,

    Peter

  3. #3
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    67

    Default

    with mydoggy [1] or swing docking [2] you (and all users) could arange every single window like you (they) want. simply with drag and drop.
    e.g. one window for the tree and one for the table.

    [1]
    http://java.dzone.com/articles/sprin...t-2?page=0%2C1
    http://jira.springframework.org/browse/RCP-564
    [2]
    http://sourceforge.net/projects/swingdocking
    http://jira.springframework.org/browse/RCP-561

Tags for this Thread

Posting Permissions

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