Elias Volanakis schrieb:
Unfortunately setting / storing the window size and location can be
done in RCP but _not_ with Riena because of the way we start-up the
application. I added more comments to the bug. From my POV this would
be something worth addressing in the future.
Elias.
elias,
thanks for your investigations. your proposed 1st step to setup x - y -
coordinates using parameters would help.
but in the future this must be more flexible:
a business user - in most cases - works from the same desktop with same
monitor size.
then he/she expects after restart opening the app at the same position
and same size as he(she leaves it.
I store positions / sizes in the server-side database per user,
then in the start-up-process I get position and size from server,
check if it fits into current monitor size:
if yes open as last time
if not open with defaults
I noticed another thing while starting a riena app with custom LnF:
there's a noticeable delay refreshing the subapplication switcher tabs:
at first all are same size, then the active becomes larger.
this doesnt look good
I would normaly - if the first rendering of the whole window needs some
time -
opening the window outside the visible area - then after rendering is
done -
position the window at normal position. in the meantime the splash with
progressbar
is visible and all gives a better feeling
I'll open a bug for this
ekke
On Wed, Jun 3, 2009 at 12:24 AM, ekke <ekke@xxxxxxxxxxxxxxxx> wrote:
Elias Volanakis schrieb:
Ekke,
I believe both a + b can be done with standard Eclipse APIs. I'll
post a snippet towards the end of the week.
great :-)
I opened bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=278905
ekke
Elias.
On Tue, Jun 2, 2009 at 10:39 PM, ekke <ekke@xxxxxxxxxxxxxxxx> wrote:
Christian Campo schrieb:
we currently dont have a parameter or API for that......
thanks for the info.
I think, there are two important things:
a) if user quits the app: store the size and position
and an api would be great to make it possible to store it
user-specific at server-site
b) at start open saved size and position if available -
if not start with default width, height and position (top left,
centered...)
perhaps this should be part of login dialog - process ?
then user-preferences from server can get read, tested if they fit
into current monitor sizes and opened there - if not fit opened with
defaults
I'll open a bugzilla for this
Is there maybe a way for a regular RCP application that also works for Riena
???
a workaround like the one elias found out for the Help action would be great
I have not spend so much time yesterday - ...am working on the demo at
galileo democamp in munich today (and also again spent some time on 35
bugzillas
in the area of target platforms ;-)
ekke
christian
Am 03.06.2009 um 01:37 schrieb ekke:
hi rienaers,
I have found that I can enter the width and height as arguments,
and this works well.
But I also want to open the Riena SWT Application in the center of the main
screen -
is it possible to configure this ?
thx
ekke
--
ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@xxxxxxxxxxxxxxxx
homepages (de): http://ekkehard.org || http://gentz-software.de
blog (en): http://ekkes-corner.org
blog (de): http://ekkes-ecke.org
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev
--
ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@xxxxxxxxxxxxxxxx
homepages (de): http://ekkehard.org || http://gentz-software.de
blog (en): http://ekkes-corner.org
blog (de): http://ekkes-ecke.org
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev
|