Results 1 to 5 of 5

Thread: How to remove View's Title

  1. #1
    Join Date
    Nov 2004
    Location
    Ridgewood, New York
    Posts
    3

    Default How to remove View's Title

    Hi, how can I remove the view's title?. No the frame's title that can be removed using the ApplicationAdvisor.

    Thanks.

  2. #2
    Join Date
    Dec 2004
    Posts
    2

    Default How to remove View's Title

    What I did was extend DefaultApplicationPage, override the createPageComponent() method, and create my own subclass of PageComponentPane.

  3. #3
    Join Date
    Nov 2004
    Location
    Ridgewood, New York
    Posts
    3

    Default

    Thanks, I will try that.

  4. #4
    Join Date
    May 2005
    Posts
    8

    Default Re: How to remove View's Title

    Quote Originally Posted by cyu
    What I did was extend DefaultApplicationPage, override the createPageComponent() method, and create my own subclass of PageComponentPane.
    I have the same desire and this approach certainly works. I think the PageComponentPane though wasn't designed by the spring-rich developers to be pluggable or extendable since it is not declared as a bean or contains an interface; but perhaps it should be, since I can imagine many developers wanting a different outer panel that the SimpleInternalFrame implementation that is provided by the PageComponentPane.

    While this approach works, perhaps at least the PageComponent property in the PageComponentPane should be made protected so as to make overriding createControl method less awkward. Minor details, but a thought.

    Of course, I am very new to Spring-rich so perhaps there is a better way to do this that the Spring-rich developers can share.


    --Tom

  5. #5
    Join Date
    Aug 2004
    Location
    Columbus, OH
    Posts
    65

    Default

    Also, I describe a very trivial change to the framework in the JIRA log. (http://opensource.atlassian.com/proj...browse/RCP-130)

Similar Threads

  1. Complex views
    By neunistivlija in forum Swing
    Replies: 0
    Last Post: Oct 17th, 2005, 03:27 AM
  2. AbstractWizardController views
    By avp12 in forum Web
    Replies: 0
    Last Post: Mar 30th, 2005, 04:51 PM
  3. Multiple views and pages question
    By jwray in forum Swing
    Replies: 3
    Last Post: Feb 19th, 2005, 09:22 AM
  4. Newbie question on Pages and Views
    By ragnarwestad in forum Swing
    Replies: 8
    Last Post: Dec 13th, 2004, 10:47 PM
  5. How to map views
    By pak in forum Web
    Replies: 4
    Last Post: Sep 8th, 2004, 02:26 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
  •