Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Create an editor with an existing plugin
Create an editor with an existing plugin [message #317091] Mon, 25 June 2007 12:17 Go to next message
Eclipse UserFriend
Hi,
I want to create my own editor like in Eclipse with the editor for Java
files. So I want to associate my editor with an open source plug-in
which read and edit specific file.
It is possible? If it is possible how I can do that?
I expect my explanation is clear.
Thanks in advance !
Re: Create an editor with an existing plugin [message #317115 is a reply to message #317091] Tue, 26 June 2007 07:47 Go to previous messageGo to next message
Eclipse UserFriend
Check out
http://wiki.eclipse.org/index.php/The_Official_Eclipse_FAQs# Implementing_Support_for_Your_Own_Language
which has a section on writing editors for your own language.

PW
Re: Create an editor with an existing plugin [message #317153 is a reply to message #317115] Wed, 27 June 2007 06:25 Go to previous message
Eclipse UserFriend
Thanks Paul, but it's not exactly what I want. I don't want to create my
own language. I just want to reuse a installed plug-in in my Eclipse in
my own application. I found the following solution :
final IWorkbenchPage vActivePage =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage();
vActivePage.openEditor(getInput(), "myapplication.editor");
So I just want to know how I do to open the editor from the plug-in and
not my own editor. I expect this is clear.
Thanks in advance.

Paul Webster a écrit :
> Check out
> http://wiki.eclipse.org/index.php/The_Official_Eclipse_FAQs# Implementing_Support_for_Your_Own_Language
> which has a section on writing editors for your own language.
>
> PW
Previous Topic:How to make plugin as deployable plugin in eclipse
Next Topic:Plugin dependency problem
Goto Forum:
  


Current Time: Mon Nov 03 06:22:24 EST 2025

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

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

Back to the top