Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Resize a figure (How could resize a figure by animation)  () 1 Vote
Resize a figure [message #493239] Fri, 23 October 2009 19:12
Mostafa Barmshory is currently offline Mostafa BarmshoryFriend
Messages: 2
Registered: October 2009
Junior Member
I`m new in GEF, and I could not resize figure. I`m trying to change size of figure then add new item as follow:

//create new figure
GridData data = new GridData();
this.setBound(new Rectangle(getBound()).resize(100,100)));
} else{
this.setBound(new Rectangle(getBound()).resize(-100,-100)));

but it dose not work. I mean size of figure dose not change
Previous Topic:Highlighted border width
Next Topic:Is it possible to mix code and graphical widgets in GEF?
Goto Forum:

Current Time: Mon May 28 08:11:40 GMT 2018

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

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

Back to the top