Skip to content

User Story: Select and manipulate figures (Selection Tool) #12

Description

@AltanEsmer

As a person drawing a diagram,
I want to select a figure on the canvas and manipulate it,
so that I can move, resize and re-arrange the figures I have drawn.

This is the user story I picked for my individual portfolio. It covers the existing Selection Tool (org.jhotdraw.draw.tool.SelectionTool).

Acceptance criteria

  • Clicking a selectable figure selects it and lets me drag it.
  • Clicking an empty part of the canvas clears the current selection.
  • Clicking and dragging on an empty area draws a rubber-band selection rectangle.
  • Grabbing a figure handle lets me resize/transform it instead of moving it.
  • Holding Alt or Ctrl while clicking selects the figure behind the one on top.

Status: ✅ DONE — moved to the Done column on the project board (issue kept open for reference).

Notes

  • Author: Altan Esmer (@AltanEsmer)
  • Feature: Selection Tool — org.jhotdraw.draw.tool.SelectionTool (jhotdraw-core)
  • Branch: altan/develop
  • Pull request: altan/develop: Selection Tool: refactor, tests and lab portfolio #13Selection Tool: refactor, tests and lab portfolio
  • All five acceptance criteria above are implemented and covered by unit tests and BDD scenarios US1–US5.
  • Lab portfolio docs live under Labs/: concept location (L2), impact analysis (L3), refactoring (L4), actualization (L5), testing (L7), BDD (L8).

Metadata

Metadata

Assignees

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions