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 12:32 Go to next message
Thomas Zöchbauer is currently offline Thomas Zöchbauer
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 06:35 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 80
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 13:47 Go to previous message
Thomas Zöchbauer is currently offline Thomas Zöchbauer
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: Sun Apr 20 09:22:35 EDT 2014

Powered by FUDForum. Page generated in 0.01425 seconds