IFileStore Editor and ERROR with charset name [message #327835] |
Mon, 05 May 2008 14:24 |
Carmelo Messages: 224 Registered: July 2009 |
Senior Member |
|
|
Hi all
I have got an IFileStore and I'm using the EditorSelectionDialog to choose
the editor to use to open it.
My FileStore is not mounted on the NavigationView so I need to use the
following code to open the editor:
String editorId = editor == null ? IEditorRegistry.SYSTEM_EXTERNAL_EDITOR_ID
: editor.getId();
Page().openEditor(createEditorInput(fileStore), editorId, true, MATCH_BOTH);
Usually this works just fine ... but depending on the error I select I get
the "Null charset name" exception.
My editorInput implements the following interfaces
implements IEditorInput, ILocationProvider,
IStorageEditorInput, IStorage, IURIEditorInput
What shall I do to avoid the error?
Is there any other interface I need to extend to actually return this
information?
Thanks
Kar
|
|
|
Powered by
FUDForum. Page generated in 0.02729 seconds