Skip to main content



      Home
Home » Eclipse Projects » GEF » Force showing properties view
Force showing properties view [message #125300] Thu, 01 April 2004 05:37 Go to next message
Eclipse UserFriend
Originally posted by: kylee.cecid.hku.hk

Hi all,

Is there any way which could force eclipse to open the Properties View? I've
tried using perspective, however I don't know the "view id" of the
properties view (which is required in addView). Is there other way which
could programmatically open the view, once I start my editor?

Thanks in advance!

Simon
Re: Force showing properties view [message #125525 is a reply to message #125300] Fri, 02 April 2004 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Look at IPageLayout.


"Simon Lee" <kylee@cecid.hku.hk> wrote in message
news:c4gr2p$sac$1@eclipse.org...
> Hi all,
>
> Is there any way which could force eclipse to open the Properties View?
I've
> tried using perspective, however I don't know the "view id" of the
> properties view (which is required in addView). Is there other way which
> could programmatically open the view, once I start my editor?
>
> Thanks in advance!
>
> Simon
>
>
Re: Force showing properties view [message #125774 is a reply to message #125300] Mon, 05 April 2004 07:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.gmx.net

Hi Lee!

Try this:

IViewPart propSheet =
getWorkbenchPart().getSite().getPage().findView(IPageLayout. ID_PROP_SHEET);

if (propSheet != null)

{

getWorkbenchPart().getSite().getPage().bringToTop(propSheet) ;

}



HTH, Ingo



"Simon Lee" <kylee@cecid.hku.hk> wrote in message
news:c4gr2p$sac$1@eclipse.org...
> Hi all,
>
> Is there any way which could force eclipse to open the Properties View?
I've
> tried using perspective, however I don't know the "view id" of the
> properties view (which is required in addView). Is there other way which
> could programmatically open the view, once I start my editor?
>
> Thanks in advance!
>
> Simon
>
>
Re: Force showing properties view [message #125915 is a reply to message #125774] Mon, 05 April 2004 21:29 Go to previous message
Eclipse UserFriend
Originally posted by: kylee.cecid.hku.hk

Million thanks for all your help!

"Ingo Koch" <nospam@gmx.net> wrote in message
news:c4rhbl$cke$1@eclipse.org...
> Hi Lee!
>
> Try this:
>
> IViewPart propSheet =
>
getWorkbenchPart().getSite().getPage().findView(IPageLayout. ID_PROP_SHEET);
>
> if (propSheet != null)
>
> {
>
> getWorkbenchPart().getSite().getPage().bringToTop(propSheet) ;
>
> }
>
>
>
> HTH, Ingo
>
>
>
> "Simon Lee" <kylee@cecid.hku.hk> wrote in message
> news:c4gr2p$sac$1@eclipse.org...
> > Hi all,
> >
> > Is there any way which could force eclipse to open the Properties View?
> I've
> > tried using perspective, however I don't know the "view id" of the
> > properties view (which is required in addView). Is there other way which
> > could programmatically open the view, once I start my editor?
> >
> > Thanks in advance!
> >
> > Simon
> >
> >
>
>
Previous Topic:can someone explain what the weight property used for at RelativeBendpoint?
Next Topic:ToolTip duration
Goto Forum:
  


Current Time: Sat Jun 07 11:40:01 EDT 2025

Powered by FUDForum. Page generated in 0.19550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top