Skip to main content



      Home
Home » Newcomers » Newcomers » XML-Editor (urgently)
XML-Editor (urgently) [message #156482] Mon, 12 June 2006 16:14 Go to next message
Eclipse UserFriend
Originally posted by: felipd.hotmail.com

Hello,
i tried to use the Xml-Editor-Plugin (Standard of Eclipse) in my
RCP-Application "Rcp application with a view", also Standard of Eclipse,
but it doesn't work.
The Error:

"Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.gotoLastEditPosition"

What should I do?

Thanks,
Re: XML-Editor (urgently) [message #156526 is a reply to message #156482] Tue, 13 June 2006 02:43 Go to previous messageGo to next message
Eclipse UserFriend
Jos wrote:

> Hello,
> i tried to use the Xml-Editor-Plugin (Standard of Eclipse) in my
> RCP-Application "Rcp application with a view", also Standard of
> Eclipse, but it doesn't work.

There is no XML editor in the Eclipse SDK. Do you mean the Ant Editor?

Dani

> The Error:
> "Invalid Menu Extension (Path is invalid):
> org.eclipse.ui.edit.text.gotoLastEditPosition"
>
> What should I do?
> Thanks,
>
>
>
Re: XML-Editor (urgently) [message #156543 is a reply to message #156526] Tue, 13 June 2006 05:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: felipd.hotmail.com

Daniel Megert wrote:

> Jos wrote:

>> Hello,
>> i tried to use the Xml-Editor-Plugin (Standard of Eclipse) in my
>> RCP-Application "Rcp application with a view", also Standard of
>> Eclipse, but it doesn't work.

> There is no XML editor in the Eclipse SDK. Do you mean the Ant Editor?

> Dani

>> The Error:
>> "Invalid Menu Extension (Path is invalid):
>> org.eclipse.ui.edit.text.gotoLastEditPosition"
>>
>> What should I do?
>> Thanks,
>>
>>
>>
Hello Dani,
the Xml Editor is one of the "Templates to generate a fully-functioning
plug-in".
"Editor. This template creates a basic XML editor. It has all the basic
functions of an editor, such as cut, copy, paste, find, etc. It also has
syntax highlighting and supports double-clicking."
When we create a new plugin from this editor-template, that's what I meant.

Thanks,
Re: XML-Editor (urgently) [message #156549 is a reply to message #156543] Tue, 13 June 2006 06:01 Go to previous messageGo to next message
Eclipse UserFriend
Jos wrote:

> Daniel Megert wrote:
>
>> Jos wrote:
>
>
>>> Hello,
>>> i tried to use the Xml-Editor-Plugin (Standard of Eclipse) in my
>>> RCP-Application "Rcp application with a view", also Standard of
>>> Eclipse, but it doesn't work.
>>
>
>> There is no XML editor in the Eclipse SDK. Do you mean the Ant Editor?
>
>
>> Dani
>
>
>>> The Error:
>>> "Invalid Menu Extension (Path is invalid):
>>> org.eclipse.ui.edit.text.gotoLastEditPosition"
>>>
>>> What should I do?
>>> Thanks,
>>>
>>>
>>>
> Hello Dani,
> the Xml Editor is one of the "Templates to generate a
> fully-functioning plug-in". "Editor. This template creates a basic XML
> editor. It has all the basic functions of an editor, such as cut,
> copy, paste, find, etc. It also has syntax highlighting and supports
> double-clicking."
> When we create a new plugin from this editor-template, that's what I
> meant.

Ah, OK I see. This adds a dependency to org.eclipse.ui.editors (as shown
in the wizard). You probably miss that plug-in in your required list.
Note that org.eclipse.ui.editors is not an RCP plug-in and will drag in
IDE related stuff.

Dani

>
> Thanks,
>
>
>
>
>
Re: XML-Editor (urgently) [message #156997 is a reply to message #156549] Thu, 15 June 2006 09:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: felipd.hotmail.com

Hello again,

Daniel Megert wrote:

>> Hello Dani,
>> the Xml Editor is one of the "Templates to generate a
>> fully-functioning plug-in". "Editor. This template creates a basic XML
>> editor. It has all the basic functions of an editor, such as cut,
>> copy, paste, find, etc. It also has syntax highlighting and supports
>> double-clicking."
>> When we create a new plugin from this editor-template, that's what I
>> meant.

> Ah, OK I see. This adds a dependency to org.eclipse.ui.editors (as shown
> in the wizard). You probably miss that plug-in in your required list.
> Note that org.eclipse.ui.editors is not an RCP plug-in and will drag in
> IDE related stuff.

I don't miss that plug-in in my required list.
I will tell you step by step what i'm trying to do.

I have created a Rich Client Application:
File -> New -> Project -> Plug-in Project
Project name, for example: "Test"
-> Next
"Would like to create a rich client application" -> yes
now "create a plug-in using on of the templates"
-> RCP Mail Template
-> Next
-> Finish

Now I have my RCPApplication (Name = Test) already.
Then I want to use one Xml-Editor in this application.
I create the plug-in:

File -> New -> Project -> Plug-in Project
Project name, for example: "XmlEditor"
-> Next
"Would like to create a rich client application" -> no
now "create a plug-in using on of the templates"
-> Plug-in with an Editor
-> Next
-> Finish

So, I have the Plug-in Application and the Editor Plug-in

Now I add the Editor Plug-in "XmlEditor" in Dependencies from Plugin.xml
from "Test" and in -> Run -> Run -> Plug-ins, now "Deselect All", I select
"Teste" and "XmlEditor" (Workspace Plug-ins) and "add required plug-ins".
There is no problems by "validate Plug-in Set".
Now I click "apply" and "run". When I run, it comes a message "Invalid
Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.gotoLastEditPosition". I try to open a file in
the application: "file" -> "open file". I choose a XmlFile, but the editor
that appears is a normally Text-Editor. The Xml-Editor doesn't work.

Please, do what i did step by step and you will see how it is.

Thanks
Re: XML-Editor (urgently) [message #157529 is a reply to message #156997] Mon, 19 June 2006 13:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: felipd.hotmail.com

Hello, I need still help
Jos wrote:

> Hello again,

> Daniel Megert wrote:

>>> Hello Dani,
>>> the Xml Editor is one of the "Templates to generate a
>>> fully-functioning plug-in". "Editor. This template creates a basic XML
>>> editor. It has all the basic functions of an editor, such as cut,
>>> copy, paste, find, etc. It also has syntax highlighting and supports
>>> double-clicking."
>>> When we create a new plugin from this editor-template, that's what I
>>> meant.

>> Ah, OK I see. This adds a dependency to org.eclipse.ui.editors (as shown
>> in the wizard). You probably miss that plug-in in your required list.
>> Note that org.eclipse.ui.editors is not an RCP plug-in and will drag in
>> IDE related stuff.

> I don't miss that plug-in in my required list.
> I will tell you step by step what i'm trying to do.

> I have created a Rich Client Application:
> File -> New -> Project -> Plug-in Project
> Project name, for example: "Test"
> -> Next
> "Would like to create a rich client application" -> yes
> now "create a plug-in using on of the templates"
> -> RCP Mail Template
> -> Next
> -> Finish

> Now I have my RCPApplication (Name = Test) already.
> Then I want to use one Xml-Editor in this application.
> I create the plug-in:

> File -> New -> Project -> Plug-in Project
> Project name, for example: "XmlEditor"
> -> Next
> "Would like to create a rich client application" -> no
> now "create a plug-in using on of the templates"
> -> Plug-in with an Editor
> -> Next
> -> Finish

> So, I have the Plug-in Application and the Editor Plug-in

> Now I add the Editor Plug-in "XmlEditor" in Dependencies from Plugin.xml
> from "Test" and in -> Run -> Run -> Plug-ins, now "Deselect All", I select
> "Teste" and "XmlEditor" (Workspace Plug-ins) and "add required plug-ins".
> There is no problems by "validate Plug-in Set".
> Now I click "apply" and "run". When I run, it comes a message "Invalid
> Menu Extension (Path is invalid):
> org.eclipse.ui.edit.text.gotoLastEditPosition". I try to open a file in
> the application: "file" -> "open file". I choose a XmlFile, but the editor
> that appears is a normally Text-Editor. The Xml-Editor doesn't work.

> Please, do what i did step by step and you will see how it is.

> Thanks
Re: XML-Editor (urgently) [message #157772 is a reply to message #157529] Wed, 21 June 2006 06:02 Go to previous messageGo to next message
Eclipse UserFriend
Jos wrote:

> Hello, I need still help
> Jos wrote:
>
>> Hello again,
>
>
>> Daniel Megert wrote:
>
>
>>>> Hello Dani,
>>>> the Xml Editor is one of the "Templates to generate a
>>>> fully-functioning plug-in". "Editor. This template creates a basic
>>>> XML editor. It has all the basic functions of an editor, such as
>>>> cut, copy, paste, find, etc. It also has syntax highlighting and
>>>> supports double-clicking."
>>>> When we create a new plugin from this editor-template, that's what
>>>> I meant.
>>>
>
>>> Ah, OK I see. This adds a dependency to org.eclipse.ui.editors (as
>>> shown in the wizard). You probably miss that plug-in in your
>>> required list. Note that org.eclipse.ui.editors is not an RCP
>>> plug-in and will drag in IDE related stuff.
>>
>
>> I don't miss that plug-in in my required list. I will tell you step
>> by step what i'm trying to do.
>
>
>> I have created a Rich Client Application:
>> File -> New -> Project -> Plug-in Project
>> Project name, for example: "Test" -> Next
>> "Would like to create a rich client application" -> yes
>> now "create a plug-in using on of the templates"
>> -> RCP Mail Template
>> -> Next -> Finish
>
>
>> Now I have my RCPApplication (Name = Test) already. Then I want to
>> use one Xml-Editor in this application.
>> I create the plug-in:
>
>
>> File -> New -> Project -> Plug-in Project
>> Project name, for example: "XmlEditor" -> Next
>> "Would like to create a rich client application" -> no
>> now "create a plug-in using on of the templates"
>> -> Plug-in with an Editor
>> -> Next -> Finish
>
>
>> So, I have the Plug-in Application and the Editor Plug-in
>
>
>> Now I add the Editor Plug-in "XmlEditor" in Dependencies from
>> Plugin.xml from "Test" and in -> Run -> Run -> Plug-ins, now
>> "Deselect All", I select "Teste" and "XmlEditor" (Workspace Plug-ins)
>> and "add required plug-ins". There is no problems by "validate
>> Plug-in Set".
>> Now I click "apply" and "run". When I run, it comes a message
>> "Invalid Menu Extension (Path is invalid):
>> org.eclipse.ui.edit.text.gotoLastEditPosition". I try to open a file
>> in the application: "file" -> "open file". I choose a XmlFile, but
>> the editor that appears is a normally Text-Editor. The Xml-Editor
>> doesn't work.
>
>
>> Please, do what i did step by step and you will see how it is.
>
Works for me using 3.2 RC7 or latest 3.3 build (I20060620-1010).

Dani

>
>> Thanks
>
>
>
Re: XML-Editor (urgently) [message #158103 is a reply to message #157772] Thu, 22 June 2006 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: felipd.hotmail.com

Daniel Megert wrote:

> Jos wrote:

>> Hello, I need still help
>> Jos wrote:
>>
>>> Hello again,
>>
>>
>>> Daniel Megert wrote:
>>
>>
>>>>> Hello Dani,
>>>>> the Xml Editor is one of the "Templates to generate a
>>>>> fully-functioning plug-in". "Editor. This template creates a basic
>>>>> XML editor. It has all the basic functions of an editor, such as
>>>>> cut, copy, paste, find, etc. It also has syntax highlighting and
>>>>> supports double-clicking."
>>>>> When we create a new plugin from this editor-template, that's what
>>>>> I meant.
>>>>
>>
>>>> Ah, OK I see. This adds a dependency to org.eclipse.ui.editors (as
>>>> shown in the wizard). You probably miss that plug-in in your
>>>> required list. Note that org.eclipse.ui.editors is not an RCP
>>>> plug-in and will drag in IDE related stuff.
>>>
>>
>>> I don't miss that plug-in in my required list. I will tell you step
>>> by step what i'm trying to do.
>>
>>
>>> I have created a Rich Client Application:
>>> File -> New -> Project -> Plug-in Project
>>> Project name, for example: "Test" -> Next
>>> "Would like to create a rich client application" -> yes
>>> now "create a plug-in using on of the templates"
>>> -> RCP Mail Template
>>> -> Next -> Finish
>>
>>
>>> Now I have my RCPApplication (Name = Test) already. Then I want to
>>> use one Xml-Editor in this application.
>>> I create the plug-in:
>>
>>
>>> File -> New -> Project -> Plug-in Project
>>> Project name, for example: "XmlEditor" -> Next
>>> "Would like to create a rich client application" -> no
>>> now "create a plug-in using on of the templates"
>>> -> Plug-in with an Editor
>>> -> Next -> Finish
>>
>>
>>> So, I have the Plug-in Application and the Editor Plug-in
>>
>>
>>> Now I add the Editor Plug-in "XmlEditor" in Dependencies from
>>> Plugin.xml from "Test" and in -> Run -> Run -> Plug-ins, now
>>> "Deselect All", I select "Teste" and "XmlEditor" (Workspace Plug-ins)
>>> and "add required plug-ins". There is no problems by "validate
>>> Plug-in Set".
>>> Now I click "apply" and "run". When I run, it comes a message
>>> "Invalid Menu Extension (Path is invalid):
>>> org.eclipse.ui.edit.text.gotoLastEditPosition". I try to open a file
>>> in the application: "file" -> "open file". I choose a XmlFile, but
>>> the editor that appears is a normally Text-Editor. The Xml-Editor
>>> doesn't work.
>>
>>
>>> Please, do what i did step by step and you will see how it is.
>>
> Works for me using 3.2 RC7 or latest 3.3 build (I20060620-1010).

I tried with 3.2 RC7, there is still a problem: The log

!SESSION 2006-06-22 15:55:17.598
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -application Noc.application
Command-line arguments: -application Noc.application -data
\\ws1\dantas\Profile\workspace2/../runtime-EclipseApplicatio n(4) -dev
file://ws1/dantas/Profile/workspace2/.metadata/.plugins/org. eclipse.pde.core/Eclipse
Application (4)/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2006-06-22 15:55:19.692
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "Noc.application" could not be
found in the registry. The applications available are:
org.eclipse.ant.core.antRunner,
org.eclipse.help.base.infocenterApplication,
org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter,
org.eclipse.pde.build.Build,
org.eclipse.pde.junit.runtime.uitestapplication,
org.eclipse.pde.junit.runtime.coretestapplication,
org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
org.eclipse.update.core.siteOptimizer.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:68)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)


> Dani

>>
>>> Thanks
>>
>>
>>
Re: XML-Editor (urgently) [message #158522 is a reply to message #158103] Tue, 27 June 2006 09:07 Go to previous message
Eclipse UserFriend
Originally posted by: felipd.hotmail.com

Please, I still need an answer!

Thanks,

Jos


Jos wrote:

> Daniel Megert wrote:

>> Jos wrote:

>>> Hello, I need still help
>>> Jos wrote:
>>>
>>>> Hello again,
>>>
>>>
>>>> Daniel Megert wrote:
>>>
>>>
>>>>>> Hello Dani,
>>>>>> the Xml Editor is one of the "Templates to generate a
>>>>>> fully-functioning plug-in". "Editor. This template creates a basic
>>>>>> XML editor. It has all the basic functions of an editor, such as
>>>>>> cut, copy, paste, find, etc. It also has syntax highlighting and
>>>>>> supports double-clicking."
>>>>>> When we create a new plugin from this editor-template, that's what
>>>>>> I meant.
>>>>>
>>>
>>>>> Ah, OK I see. This adds a dependency to org.eclipse.ui.editors (as
>>>>> shown in the wizard). You probably miss that plug-in in your
>>>>> required list. Note that org.eclipse.ui.editors is not an RCP
>>>>> plug-in and will drag in IDE related stuff.
>>>>
>>>
>>>> I don't miss that plug-in in my required list. I will tell you step
>>>> by step what i'm trying to do.
>>>
>>>
>>>> I have created a Rich Client Application:
>>>> File -> New -> Project -> Plug-in Project
>>>> Project name, for example: "Test" -> Next
>>>> "Would like to create a rich client application" -> yes
>>>> now "create a plug-in using on of the templates"
>>>> -> RCP Mail Template
>>>> -> Next -> Finish
>>>
>>>
>>>> Now I have my RCPApplication (Name = Test) already. Then I want to
>>>> use one Xml-Editor in this application.
>>>> I create the plug-in:
>>>
>>>
>>>> File -> New -> Project -> Plug-in Project
>>>> Project name, for example: "XmlEditor" -> Next
>>>> "Would like to create a rich client application" -> no
>>>> now "create a plug-in using on of the templates"
>>>> -> Plug-in with an Editor
>>>> -> Next -> Finish
>>>
>>>
>>>> So, I have the Plug-in Application and the Editor Plug-in
>>>
>>>
>>>> Now I add the Editor Plug-in "XmlEditor" in Dependencies from
>>>> Plugin.xml from "Test" and in -> Run -> Run -> Plug-ins, now
>>>> "Deselect All", I select "Teste" and "XmlEditor" (Workspace Plug-ins)
>>>> and "add required plug-ins". There is no problems by "validate
>>>> Plug-in Set".
>>>> Now I click "apply" and "run". When I run, it comes a message
>>>> "Invalid Menu Extension (Path is invalid):
>>>> org.eclipse.ui.edit.text.gotoLastEditPosition". I try to open a file
>>>> in the application: "file" -> "open file". I choose a XmlFile, but
>>>> the editor that appears is a normally Text-Editor. The Xml-Editor
>>>> doesn't work.
>>>
>>>
>>>> Please, do what i did step by step and you will see how it is.
>>>
>> Works for me using 3.2 RC7 or latest 3.3 build (I20060620-1010).

> I tried with 3.2 RC7, there is still a problem: The log

> !SESSION 2006-06-22 15:55:17.598
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Framework arguments: -application Noc.application
> Command-line arguments: -application Noc.application -data
> \ws1dantasProfileworkspace2/../runtime-EclipseApplication(4) -dev
>
file://ws1/dantas/Profile/workspace2/.metadata/.plugins/org. eclipse.pde.core/Eclipse
> Application (4)/dev.properties -os win32 -ws win32 -arch x86

> !ENTRY org.eclipse.osgi 4 0 2006-06-22 15:55:19.692
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "Noc.application" could not be
> found in the registry. The applications available are:
> org.eclipse.ant.core.antRunner,
> org.eclipse.help.base.infocenterApplication,
> org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
> org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter,
> org.eclipse.pde.build.Build,
> org.eclipse.pde.junit.runtime.uitestapplication,
> org.eclipse.pde.junit.runtime.coretestapplication,
> org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
> org.eclipse.update.core.siteOptimizer.
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:68)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)


>> Dani

>>>
>>>> Thanks
>>>
>>>
>>>
Previous Topic:Do something before changing perspective
Next Topic:Debugging... Display call stack
Goto Forum:
  


Current Time: Fri Jul 18 00:39:14 EDT 2025

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

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

Back to the top