Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[graphiti-dev] Not-movable shapes cannot be resized

Hi,

 

Shapes that cannot be moved (IMoveShapeFeature.canExecute returns false) can also not be resized (IResizeShapeFeature.canExecute is not called).

 

This happens because the Graphiti CommandContainer returns true in canExecute only if all involved inner commands return true. In this case there are two inner commands involved: #1 Move, #2 Resize, Move already returns false, so everything cancels.

 

Would it be possible to execute exactly those inner commands that return true on canExecute or would that have other side effects?

 

Michael

 

 


Back to the top