Skip to content

[GEF] Remove state duplication in Tool class#1559

Open
ptziegler wants to merge 1 commit into
eclipse-windowbuilder:masterfrom
ptziegler:gef-tool-state
Open

[GEF] Remove state duplication in Tool class#1559
ptziegler wants to merge 1 commit into
eclipse-windowbuilder:masterfrom
ptziegler:gef-tool-state

Conversation

@ptziegler

Copy link
Copy Markdown
Contributor

This removes the m_state field of our Tool class and redirects access to the isInState(...) and setState(...) methods, which interact with the private field of the AbstractTool class.

@ptziegler ptziegler added this to the 1.25.0 milestone Jul 15, 2026
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown

Test Results

     4 files  ±0       4 suites  ±0   2h 21m 21s ⏱️ + 3m 34s
 7 023 tests ±0   6 990 ✅  - 2  31 💤 ±0  1 ❌ +1  1 🔥 +1 
23 696 runs  ±0  23 595 ✅  - 3  98 💤 ±0  2 ❌ +2  1 🔥 +1 

For more details on these failures and errors, see this check.

Results for commit 8c35c80. ± Comparison against base commit b8750d6.

♻️ This comment has been updated with latest results.

@ptziegler ptziegler force-pushed the gef-tool-state branch 5 times, most recently from aa12ab3 to 8c35c80 Compare July 15, 2026 20:59
The same functionality provided by our ´Tool´ class can be gained by
extending the `AbstractTool` class directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant