gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Coder actions should be defined like the inspector actions

Open girba opened this issue 3 years ago • 4 comments

Right now, Coder class actions are defined with a gtCoderAction: pragma.

An inspector action is defined with a unary gtAction.

We should transform the Coder actions to use the same mechanism and not put the priority in the selector.

girba avatar Jul 24 '22 12:07 girba

Just to be clear: would you like the actions to be gtActions?

hellerve avatar Jul 24 '22 16:07 hellerve

Yes. Much like how a gtCoderView is just a gtView. We basically should be able to have all buttons from Coder in the inspector.

girba avatar Jul 24 '22 20:07 girba

All buttons in the toolbar are now regular gtActions. Right now, the actions are defined in the coder toolbar element, but they should probably move into the coder instead.

hellerve avatar Jul 26 '22 10:07 hellerve

The actions should be defined in Behavior and subclasses.

girba avatar Aug 28 '22 10:08 girba

Those last three commits were meant to reference #2103 instead 🤦

hellerve avatar Nov 24 '22 14:11 hellerve

BildschirmĀ­foto 2022-12-01 um 14 29 21

This is what coder actions look like now.

hellerve avatar Dec 01 '22 13:12 hellerve