Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Resize shape (only horizontal)
Resize shape (only horizontal) [message #900364] Mon, 06 August 2012 16:32 Go to next message
Thomas Zöchbauer is currently offline Thomas ZöchbauerFriend
Messages: 10
Registered: August 2012
Junior Member
Hi,

I have a problem resizing particular shapes.

Is it possible to resize shapes only horizontal?

How are about the handles which resizes the selected shape? Is it possible to "remove" the unused ones?

thanks,

Thomas
Re: Resize shape (only horizontal) [message #900730 is a reply to message #900364] Wed, 08 August 2012 10:35 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias GorningFriend
Messages: 81
Registered: April 2010
Location: Germany
Member
Your resize feature should provide it's own resize configuration.

Simply override the class DefaultResizeConfiguration and return an instance of your configuration in the method getResizeConfiguration() of your resize feature.

BR,
Matthias

Re: Resize shape (only horizontal) [message #903043 is a reply to message #900730] Tue, 21 August 2012 17:47 Go to previous message
Thomas Zöchbauer is currently offline Thomas ZöchbauerFriend
Messages: 10
Registered: August 2012
Junior Member
Hi, thank you, i hooked into this. I am gonna try this stuff with getResizeConfiguration().... Lets see if it is working Smile

best regards Thomas
Previous Topic:Editor is dirty when create method returns EMPTY
Next Topic:Custom properties sheet
Goto Forum:
  


Current Time: Thu Dec 18 21:48:04 GMT 2014

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

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