| Summary: | enhanced resize behavior for container shapes | ||
|---|---|---|---|
| Product: | [Modeling] Graphiti | Reporter: | Henrik Rentz-Reichert <hrr> |
| Component: | Core | Assignee: | Project Inbox <graphiti-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | matthias.gorning, michael.wenz |
| Version: | 0.8.0 | Flags: | michael.wenz:
juno+
|
| Target Milestone: | 0.9.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | Juno M3 theme_round_offs | ||
|
Description
Henrik Rentz-Reichert
Would like to target for Juno First part is done: commit e02b0d0139ac84b06424b1fef44200985ccceeb4 Author: mgorning <matthias.gorning@sap.com> 2011-10-21 14:01:04 Committer: mgorning <matthias.gorning@sap.com> 2011-10-21 14:01:04 Parent: c13737dbfa2bef30e8eb6f4f59676cf515b453d6 (Bug 342262 - enhanced resize behavior for container shapes / provide correct resize direction in the resize context) Branches: origin/master, master You can get the initial upper left corner coordinates of the container with:
@Override
public void resizeShape(IResizeShapeContext context) {
GraphicsAlgorithm ga = context.getShape().getGraphicsAlgorithm();
ga.getX();
ga.getY();
...
}
Bookkeeping: Set target release Part of Graphiti 0.9.0 (Eclipse Juno) |