Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Request for new Global Action on the Edit menu

In my application, the user can go to the PropertySheet and select an Entry
in the TableTree, and restore the default value for that entry.

So, I think a "Restore Default Value" global action should be added to the
Edit menu.  Then, my PropertySheetPage will plug into that global action
and implement the proper Action.  The action will be disabled in views that
don't want to provide a "Restore Default Value" action.


Clearly there is something wrong in this logic.  The real problem is that a
View cannot add to the Edit menu or any other menu.  Yet, the latest menu
re-org has done exactly what I've requested, except it did it for the
Resource Navigator and Java Packages Views.  "Move..." and "Rename..." make
no sense in most Views.  Actually, they don't even make sense in most
editors, and the Workbench is pretty Editor-centric.  "Add Bookmark..." is
the same.  Why should that be on the Edit menu when I am in the Console
View?  Or the PropertySheet?  Or a Team View?

The Workbench is making exceptions for itself and the JDT.  If I can't get
"Restore Default Value" on the Edit menu when the PropertySheet View has
focus, the Java Packages Views shouldn't be able to have "Rename..." on the
Edit menu.



Back to the top