Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Accessing org.eclipse.dltk.tcl.ui.editor.TclEditor
Accessing org.eclipse.dltk.tcl.ui.editor.TclEditor [message #28035] Fri, 11 July 2008 13:16 Go to next message
Shiva Selvadurai is currently offline Shiva SelvaduraiFriend
Messages: 25
Registered: July 2009
Location: Bangalore
Junior Member
I added editor id as org.eclipse.dltk.tcl.ui.editor.TclEditor and called
page.openEditor(input,editorId), where
page -
PlatformUI,getWorkbench().getActiveWorkbenchWindow().getActi vePage(),
input - IEditorInput (i.e.) new PathEditorInput(new
IPath(file.getAbsolutePath()),name,type,name)
editorId - org.eclipse.dltk.tcl.ui.TclEditor.

When I try to open the file I get
DLTK : unhandled inputtype
Add backup manager

My file name is sample.tcl.

Could anyone suggest me what I have to do in order to resolve the issue
and access the editor.

-Shiva.S
Re: Accessing org.eclipse.dltk.tcl.ui.editor.TclEditor [message #28341 is a reply to message #28035] Mon, 14 July 2008 05:13 Go to previous message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
Hi Shiva,

There could be different IEditorInput implementations, so some of them
are not supported by the DLTK.

IPathEditorInput is NOT supported, IFileEditorInput should be used instead.

Regards,
Alex


Shiva Selvadurai wrote:
>
> I added editor id as org.eclipse.dltk.tcl.ui.editor.TclEditor and called
> page.openEditor(input,editorId), where page -
> PlatformUI,getWorkbench().getActiveWorkbenchWindow().getActi vePage(),
> input - IEditorInput (i.e.) new PathEditorInput(new
> IPath(file.getAbsolutePath()),name,type,name)
> editorId - org.eclipse.dltk.tcl.ui.TclEditor.
>
> When I try to open the file I get DLTK : unhandled inputtype
> Add backup manager
>
> My file name is sample.tcl.
>
> Could anyone suggest me what I have to do in order to resolve the issue
> and access the editor.
>
> -Shiva.S
>
>
Previous Topic:IScriptBuilder
Next Topic:Tracking parsing/semantic errors/warnings (problems)
Goto Forum:
  


Current Time: Tue Apr 23 11:58:59 GMT 2024

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

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

Back to the top