Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341184

Summary: Overriding Standard Error Message Dialog Box in case No Editor is found
Product: [Eclipse Project] Platform Reporter: vineel Mising name <vineelyalamarthy>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: curtis.windatt.public, prakash
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.