Expand/Collapse all/children

Got a good idea? You can suggest new features here.
Post Reply
User avatar
topix
Experienced User
Posts: 413
Joined: Sat May 05, 2007 3:43 pm
Location: Germany
Contact:

Expand/Collapse all/children

Post by topix » Wed Dec 27, 2017 6:40 pm

expand-collapse.png
Is it okay to have those menus in a submenu, or should they be right in the context menu? (Wouldn't it get to big?)

Anyone who has better icons or can draw something more distinguishable?

User avatar
kgschlosser
Site Admin
Posts: 4023
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Expand/Collapse all/children

Post by kgschlosser » Thu Dec 28, 2017 10:54 pm

I think that we need to refine the context menu more. it needs to display the correct options when clicking on the various elements.


here are the current menu items

Undo
Redo
---------------
Cut
Copy
Copy as Python
Paste
Delete
---------------
Add Plugin
Add Folder
Add Macro
Add Event
Add Action
----------------
Configure Item
Rename Item
Execute Item
Disable Item


This is what i think should take place..

right click on Folder.

Undo
Redo
---------------
Cut
Copy
Paste
Delete
---------------
Add Folder
Add Macro
----------------
Rename Item
Disable Item



Right click on macro
Undo
Redo
---------------
Cut
Copy
Paste
Delete
---------------
Add Event
Add Action
----------------
Rename Item
Execute Item
Disable Item

Right click on Action

Undo
Redo
---------------
Cut
Copy
Copy as Python
Paste
Delete

Configure Item
Rename Item
Execute Item
Disable Item

Right click on Event
Undo
Redo
---------------
Cut
Copy
Paste
Delete
----------------
Configure Item
Rename Item
Disable Item

Right click on AutoStart
Undo
Redo
---------------
Paste
---------------
Add Plugin
Add Action

Right click on the root
Undo
Redo
---------------
Paste
---------------
Add Plugin
Add Folder
Add Macro

Add the expand all children and collapse all children to the folder items.
Add the expand all and collapse all to the root item

If the option is not available for a specific item then remove it from the menu. if it is available but unusable, examples are undo and redo or delete if a dialog for an item is open. then gray it out.

This is how most software works and EG should function the same way as well.right now it is set up to display a message dialog if ya do something you shouldn't be. if there is no option to do something they shouldn't be no need for the dialog. This can be done very simply by adding a CreateContextMenu method to each of the specific items. and have the item handle what it is supposed to display.
If you like the work I have been doing then feel free to Image

Post Reply