Bug 26591 - [EditorMgmt] new IEditorDescriptor.isInternal() API
Summary: [EditorMgmt] new IEditorDescriptor.isInternal() API
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: Other Windows XP
: P3 enhancement (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2002-11-18 10:45 EST by Dan Rubel CLA
Modified: 2003-11-17 21:57 EST (History)
2 users (show)

See Also:


Attachments
patch adding IEditorDescriptor.isInternal() method (716 bytes, patch)
2003-06-30 11:33 EDT, Dan Rubel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Rubel CLA 2002-11-18 10:45:40 EST
When the user single clicks on our view, we don't want an external editor to be 
opened.  We only want the external editor to be opened if the user double clicks 
on the resource.  Currently, the IEditorDescriptor interface provides no way to 
determine if the editor to be opened is internal or external.  The simple 
solution is to expose the existing EditorDescriptor.isInternal() method as a 
public API in IEditorDescriptor.
Comment 1 Dan Rubel CLA 2003-06-30 11:33:33 EDT
Created attachment 5318 [details]
patch adding IEditorDescriptor.isInternal() method

I have attached a patch containing the new isInternal() method for
IEditorDescriptor.  Please consider this for inclusion in the Eclipse 3.0 M2
build.
Comment 2 Nick Edgar CLA 2003-09-29 23:01:04 EDT
We are adding this API (isOpenInternal()) in the RCP stream, which will be 
merged into HEAD for M5.
Comment 3 Nick Edgar CLA 2003-11-17 21:57:31 EST
This is now in HEAD, and will be in M5.