Hi Elias, 
 
thanks - sometimes its easier then expected ;-) 
 
and yes, SWT.Sheet is mac special and will be ignored on other platforms 
http://inside-swt.blogspot.com/2009/04/eclipse-on-cocoa-now-full-of-sheet.html 
 
ekke 
 
Elias Volanakis schrieb:
  Hi ekke,
you do what you typically do when extending the JFace dialog: there is
the setShellStyle(int) method for the style and there is the protected
method initializeBounds() for the size & location:
	private static class HelloDialogView extends AbstractDialogView {
		public HelloDialogView(Shell shell) {
			super(shell);
			setShellStyle(SWT.SHEET);
		}
		@Override
		protected void initializeBounds() {
			super.initializeBounds();
			getShell().setBounds(0, 0, 200, 200);
		}
Not sure what SWT.SHEET does, I think it's mac only?
Hope this helps,
Elias.
On Sat, Oct 17, 2009 at 2:04 AM, ekke <ekke@xxxxxxxxxxxxxxxx> wrote:
  
  
    if using Dialogs extending Riena's AbstractDialogView whats the recommended
way
* to control position and size
* and styles like SWT.SHEET
do I have to provide an own RienaWindowRenderer ?
thx for some tips
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
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
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 
homepage (de): http://gentz-software.de 
blog (en): http://ekkes-corner.org 
twitter: @ekkescorner 
skype: ekkes-corner 
  Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID:
DE189929490 
   
 
 |