Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341184 - Overriding Standard Error Message Dialog Box in case No Editor is found
Summary: Overriding Standard Error Message Dialog Box in case No Editor is found
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 01:03 EDT by vineel Mising name CLA
Modified: 2011-04-15 01:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vineel Mising name CLA 2011-03-29 01:03:56 EDT
Build Identifier: 3.6

1)In our RAP application, we have a Navigator(which uses Common Navigator Framework) .When user double clicks on files on the left hand side, they are opened in our custom Editors in the right hand side.
But we don't find, some files to be opened.For example files with extension".cert".In such cases,we want to pop a custom Error Dialog Box by overriding the default Error Dialog Box that Eclipse plat form provides, when no suitable editor is found to open the file.

Reproducible: Always
Comment 1 Curtis Windatt CLA 2011-03-29 09:50:39 EDT
Moving to Platform
Comment 2 Prakash Rangaraj CLA 2011-04-15 01:12:06 EDT
If you are using common navigator, then you can use your own action provider for the open action. That action could check for the available editors and if not found, can show up the error dialog.

I didn't try that now, but it should work. Please reopen if that doesn't.