Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:24
Carmelo  is currently offline Carmelo Friend
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
Previous Topic:Perspective ordering not kept be workbench
Next Topic:Workspace Local Tags?
Goto Forum:
  


Current Time: Wed Jul 03 10:21:06 GMT 2024

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

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

Back to the top