Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 7775 - [Contributions] For text selection it would be helpful to know the source
Summary: [Contributions] For text selection it would be helpful to know the source
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 7383
  Show dependency tree
 
Reported: 2002-01-16 12:34 EST by Dirk Baeumer CLA
Modified: 2007-06-20 11:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2002-01-16 12:34:04 EST
The new action enablement supports text selections. Since the content of a text 
selection is simply a string there is no way to distinguish a text selection 
from a Java editor from a text selection from a normal text editor. To better 
control enablement of Java UI actions that work on text selection it would be 
helpful if the provider of an text selection can be used as an enable criteria.

This could look like this

<selection class="org.eclipse.jface.text.ITextSelection" 
provider="org.eclipse.jdt.ui.CompilationUnitEditor"/>
Comment 1 Dirk Baeumer CLA 2002-01-23 11:10:54 EST
Not critical. Can be deferred post 2.0
Comment 2 Kevin Haaland CLA 2002-01-23 17:57:22 EST
Defering based on feedback from reporter. 
Comment 3 Randy Giffen CLA 2002-08-09 10:52:58 EDT
Reopened for investigation
Comment 4 Simon Arsenault CLA 2002-09-03 14:23:01 EDT
See also bug 7761
Comment 5 Chris McLaren CLA 2005-12-12 16:57:29 EST
Reassigning to Platform-UI-Inbox (I left IBM 18 months ago..)
Comment 6 Michael Van Meekeren CLA 2006-04-21 13:56:23 EDT
Moving Dougs bugs
Comment 7 Paul Webster CLA 2007-04-05 19:01:12 EDT
Assigning to component owner
PW
Comment 8 Paul Webster CLA 2007-06-20 11:12:50 EDT
These will not be worked on.  Please re-open if you feel the community should get a crack at them.

PW