I want to do some processes when double clicking a file with specific extension.. (ex. *.abc)
I make a class that implements FileEditorProvider, and in accept() method, I do something and return false, but default text editor is shown (This is NOT exactly what i want to do...)
- So, I returned FileEditorPolicy.PLACE_AFTER_DEFAULT_EDITOR in getPolicy() method, and I do something in createEditor() method, and return null...But it cause an exception '.....it should return non-null.....'
I want to do :
- When double click a specific file(*.abc) in project view (tree), I want to launch external binary
- Default text editor should be not shown.
Is there any solution for this?
I found same questions here :
But it does not have any solutions..