Community
Participate
Working Groups
Currently PasteTemplateAction updates when selection or active workbench part changes. However, it's not possible to detect all actions that can cause the action to change enablement. For instance, if you copy something to the clipboard from a palette in a different workbench window, paste should become enabled in the original workbench window. This doesn't happen. So, paste should always be enabled. This is how other applications (like Word, WordPad) handle this problem too.
I retract my original statement. Word is enabling/disabling the Paste Action as expected. If SWT supported clipboard-change notification (Bug# 39369), we'd be able to do the same. If not, then PasteTemplateAction should probably be enabled at all times.
While we wait for Bug 39369, I've changed PasteTemplateAction so that its calculateEnabled() method always returns true. Marking as Resolved - Remind.
LATER and REMIND resolutions will be going away with the upgrade of Bugzilla to the latest Bugzilla 3.4. They are no longer part of the default Bugzilla installation. See http://dev.eclipse.org/mhonarc/lists/eclipse.org-committers/msg00778.html for the announcement. As a result RESOLVED + REMIND OR LATER will be changed to RESOLVED + WONTFIX This unfortunately also means I need to REOPEN and then RESOLVE as WONTFIX Sorry for the inconvenience.