Bug 102465 - Menu based on RetargetTextEditorAction isn't enabled
Summary: Menu based on RetargetTextEditorAction isn't enabled
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.2   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2005-07-01 08:01 EDT by Hirotaka Matsumoto CLA
Modified: 2006-01-05 20:32 EST (History)
1 user (show)

See Also:


Attachments
test case (60.00 KB, application/octet-stream)
2005-07-01 08:03 EDT, Hirotaka Matsumoto CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hirotaka Matsumoto CLA 2005-07-01 08:01:44 EDT
Menus which are based on RetargetTextEditorAction aren't enabled when
the editor is up. Once other view/editor is clicked and the editor is
clicked again, the menus are enabled. Here are how to:

- Install attached plugin(mpe)
- Create a project
- Create two html files
- Click an html file, open its context menu, Open With >
  Sample Multi-page Editor
- Meke sure that Edit > my submenu : XMLEditor > Action1 : XMLEditor
  and Action2 : XMLEditor are enabled
- Click another html file, open its context menu, Open With > 
  Sample Multi-page Editor

In this timing, Edit > my submenu : XMLEditor > Action1 : XMLEditor
and Action2 : XMLEditor are disabled. They should be enabled.
Comment 1 Hirotaka Matsumoto CLA 2005-07-01 08:03:33 EDT
Created attachment 24260 [details]
test case

test case
Comment 2 Rafael Chaves CLA 2005-07-01 15:17:08 EDT
This does not belong here. What plug-in provides this class?
Comment 3 Hirotaka Matsumoto CLA 2005-07-05 21:08:13 EDT
What would you be asking ?? 
Comment 4 David Williams CLA 2005-07-05 23:41:36 EDT
RetargetTextEditorAction 
is from 
org.eclipse.ui.texteditor

was there something more specific you were asking, Rafael, 
or was your remark intended for another bug?


Comment 5 Dani Megert CLA 2005-07-06 04:20:06 EDT
I guess this is rather a multi-page editor problem but we'll have to investigate
first.

What about other global retarget actions like cut/copy/paste/undo?
Comment 6 Dani Megert CLA 2006-01-05 09:03:36 EST
To repeat my question: What about other global retarget actions like cut/copy/paste/undo?
Comment 7 Hirotaka Matsumoto CLA 2006-01-05 20:31:42 EST
I chekced the attached test case with  M20050929-0840 3.1.1
build and this was fixed, so closing.
Comment 8 Hirotaka Matsumoto CLA 2006-01-05 20:32:04 EST
.