Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to minimize a ViewPart on startup?
How to minimize a ViewPart on startup? [message #79877] Fri, 28 March 2008 12:11 Go to next message
Eclipse UserFriend
Hi,

I am trying to minimize a view at RAP startup time via a
perspectiveExtension like this one (plugin.xml):

<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<view
id="ca.dictio.nnaire.rap.ve.views.ResultsView"
minimized="true"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.TaskList">
</view>
</perspectiveExtension>
</extension>

My view is never minimized (nor maximized). Am I doing something wrong?

Is it possible to achieve the same result via Java code? I tried to use
the Shell.setMinimized(true) but the all workbench is minimized, not
just my view...

I would appreciate your help!

Thank you very much in advance.

Benoit
Re: How to minimize a ViewPart on startup? [message #79928 is a reply to message #79877] Fri, 28 March 2008 12:19 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

I never used this feature by myself. So if it works with RCP and not
with RAP this is probably a bug and you can feel free to file a new
bugzilla entry. Thanks!


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Benoit Mercier [mailto:benoit.mercier@usherbrooke.ca]
Bereitgestellt: Freitag, 28. März 2008 17:12
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: How to minimize a ViewPart on startup?
Betreff: How to minimize a ViewPart on startup?


Hi,

I am trying to minimize a view at RAP startup time via a
perspectiveExtension like this one (plugin.xml):

<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<view
id="ca.dictio.nnaire.rap.ve.views.ResultsView"
minimized="true"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.TaskList">
</view>
</perspectiveExtension>
</extension>

My view is never minimized (nor maximized). Am I doing something wrong?

Is it possible to achieve the same result via Java code? I tried to use
the Shell.setMinimized(true) but the all workbench is minimized, not
just my view...

I would appreciate your help!

Thank you very much in advance.

Benoit
Previous Topic:RAP running in JSP
Next Topic:WG: gsoc product file info
Goto Forum:
  


Current Time: Wed Jul 23 08:14:39 EDT 2025

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

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

Back to the top