@Override public void controlResized( ControlEvent arg0 ) { size_widget = widget.getBounds(); setBars(); } } );
private Rectangle getWidgetSize( GC gc ) { return widget.getBounds(); }
@Override public void paintControl( PaintEvent pe ) { Rectangle r = widget.getBounds(); if ( r.width > 0 && r.height > 0 ) { repaint( pe.gc, r.width, r.height ); } } } );
protected void setMiddle() { Rectangle screenSize = shell.getParent().getBounds(); Rectangle shellSize = shell.getBounds(); shell.setLocation(screenSize.x + screenSize.width / 2 - shellSize.width / 2, screenSize.y + screenSize.height / 2 - shellSize.height / 2); }
Rectangle bounds = wGeneralComp.getBounds();
Rectangle bounds = wErrorComp.getBounds();
Rectangle bounds = wInputComposite.getBounds();
Rectangle bounds = wErrorComp.getBounds();
Rectangle bounds = wInputComposite.getBounds();
Rectangle bounds = wContentComp.getBounds();
Rectangle bounds = comp.getBounds();
Rectangle bounds = wContentComp.getBounds();
Rectangle bounds = wInputComposite.getBounds();
Rectangle bounds = wFileComp.getBounds();
Rectangle bounds = wFileComp.getBounds();
Rectangle bounds = wOptionsComp.getBounds();
Rectangle bounds = wInputComposite.getBounds();
Rectangle bounds = wInjectComp.getBounds();
Rectangle bounds = wInputComposite.getBounds();
Rectangle bounds = wInputComposite.getBounds();