Results 1 to 2 of 2

Thread: Basic Questions Thread

  1. #1
    Join Date
    Aug 2004
    Posts
    18

    Default Basic Questions Thread

    If its OK with you all, I would like to use this thread to pose basic architectural/design questions about RCP. It will help me to (a) understand RCP better and (b) begin putting together a good documentation for my own and anyone else's use. Thanks in advance.

    Q1: The ApplicationDescriptor class. Is there any specific reason why this class is assigned only the two properties: version and buildID, as opposed to a map property that would allow a developer to assign any other properties that make sense for his/her application context? I know one could accomplish the same thing through a .properties file but I'm just curious why the strict contraint on the applicationdescriptor.

    Q2: Since RCP, by default, expects a startingView for each application, is my understanding correct that one could employ this startingView to make an RCP application behave as say, an MDI, or pageWithMultiView, etc type of application? For instance, if my startingView is a DesktopPane then I'm good for MDI, or if I start with say an InfoNode Rootwindow, then I'm good for a multi-View page application? If this is the case, does anyone see any drawback in using such a startingView as a frontController by making it implement any desired set of Listeners and making application-specific commands aware of this view so they can use it appropriately?

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

    Default

    Answer for Q2:

    the "startingPageId" property of the ApplicationLifecycleAdvisor can be one of two things:

    1. a View: this is currently used by the DefaultApplicationPage implementation
    2. a PageDescriptor: this can be used to create an ApplicationPage that supports multiple frames.
      See http://forum.springframework.org/showthread.php?t=11173 for more information about this. It describes an ApplicationPage with a backing JDesktopPane, but the same logic goes for infonode docking or flexdock framework.


    Also note that support for this is in progress.

    Hope this helps,

    Peter
    Last edited by robyn; May 19th, 2006 at 04:50 AM.

Similar Threads

  1. Replies: 3
    Last Post: May 16th, 2005, 07:04 AM
  2. Sessions closing after commit
    By bendg25 in forum Data
    Replies: 0
    Last Post: Mar 21st, 2005, 04:38 AM
  3. Replies: 3
    Last Post: Nov 19th, 2004, 07:16 PM
  4. Pessimistic locking, Spring, Hibernate
    By beryOli in forum Data
    Replies: 11
    Last Post: Sep 20th, 2004, 05:31 AM
  5. Transaction pb Hibernate/MySQL
    By syluser in forum Data
    Replies: 2
    Last Post: Aug 28th, 2004, 02:40 PM

Posting Permissions

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