Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 21310 Details for
Bug 94419
[misc] menu actions disabled after rename and then dirtying editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
AbstractTextEditor patch
AbstractTextEditor.patch.94419 (text/plain), 1.37 KB, created by
Susan McCourt
on 2005-05-18 01:00:27 EDT
(
hide
)
Description:
AbstractTextEditor patch
Filename:
MIME Type:
Creator:
Susan McCourt
Created:
2005-05-18 01:00:27 EDT
Size:
1.37 KB
patch
obsolete
>Index: AbstractTextEditor.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java,v >retrieving revision 1.177 >diff -u -r1.177 AbstractTextEditor.java >--- AbstractTextEditor.java 9 May 2005 10:01:40 -0000 1.177 >+++ AbstractTextEditor.java 18 May 2005 04:42:52 -0000 >@@ -4200,12 +4200,20 @@ > OperationHistoryActionHandler action; > > // Create the undo action >+ IAction oldAction= getAction(ActionFactory.UNDO.getId()); >+ if (oldAction != null) { >+ ((OperationHistoryActionHandler)oldAction).dispose(); >+ } > action= new UndoActionHandler(getEditorSite(), undoContext); > PlatformUI.getWorkbench().getHelpSystem().setHelp(action, IAbstractTextEditorHelpContextIds.UNDO_ACTION); > action.setActionDefinitionId(IWorkbenchActionDefinitionIds.UNDO); > setAction(ActionFactory.UNDO.getId(), action); > > // Create the redo action. >+ oldAction= getAction(ActionFactory.REDO.getId()); >+ if (oldAction != null) { >+ ((OperationHistoryActionHandler)oldAction).dispose(); >+ } > action= new RedoActionHandler(getEditorSite(), undoContext); > PlatformUI.getWorkbench().getHelpSystem().setHelp(action, IAbstractTextEditorHelpContextIds.REDO_ACTION); > action.setActionDefinitionId(IWorkbenchActionDefinitionIds.REDO);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 94419
: 21310