Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » IFileStore Editor and ERROR with charset name
IFileStore Editor and ERROR with charset name [message #327835] Mon, 05 May 2008 10:24
Eclipse UserFriend
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
Previous Topic:Perspective ordering not kept be workbench
Next Topic:Workspace Local Tags?
Goto Forum:
  


Current Time: Fri May 02 16:02:47 EDT 2025

Powered by FUDForum. Page generated in 0.02552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top