This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
PasteAction is a callback action but it uses specific presenter to allow the "paste->submenu" if there are more components. This needs to be tested. It works as simple callback action with a key DefaultEditorKit.pasteAction so this needs to be tested. In addition to this the action checks for action.getValue ("delegates") that can return either array of PasteTypes or Actions. The test needs to check the correct work of the presenter as well as it updates and react to the changes of the delegates and enabled state.
subtask of issue 27868
Tests written to check value of "delegates" and also to react to changes in enabled state.