Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Different resizing scenario
Different resizing scenario [message #205586] Tue, 17 April 2007 23:42 Go to next message
Eclipse UserFriend
Originally posted by: ramapra.gmail.com

For my view based plugin I have implemented a handler for sizing events

like

View code

CreatePartControl( Composite parent)
{
// Create controls
...

parent.GetShell().addControlListener(new ControlAdapter() {

public void controlResized(ControlEvent e)
{

// Resize inner components
}
}
}



However , this handler is not called when the view size is changed by
dragging the top line of the container that houses this view .


What type of handler should i implment to get notified of this change ?

Help is appreciated
Re: Different resizing scenario [message #206089 is a reply to message #205586] Thu, 19 April 2007 14:08 Go to previous message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Hi,

Are you resizing the Shell or just the view? The Shell is the outside
window and this code seems to be listening to shell resize events.

Cheers,
ian

mnm wrote:
> For my view based plugin I have implemented a handler for sizing events
> like
> View code
> CreatePartControl( Composite parent)
> {
> // Create controls ...
>
> parent.GetShell().addControlListener(new ControlAdapter() {
>
> public void controlResized(ControlEvent e)
> {
>
> // Resize inner components }
> }
> }
>
>
>
> However , this handler is not called when the view size is changed by
> dragging the top line of the container that houses this view .
>
> What type of handler should i implment to get notified of this change ?
> Help is appreciated
Previous Topic:Determining the dependency tree for a given jar?
Next Topic:Why UML (class diagram) so spread out, taking a lot of space between them?
Goto Forum:
  


Current Time: Tue Apr 16 15:24:12 GMT 2024

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

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

Back to the top