[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[gef-dev] Invalid Menu Extension (Path is invalid):
|
hi all,
Im new to RCP and presently working on eclipse 3.1.1 and i have 2 queries regarding it.
(1)
Im trying to create action for the rcp application.
i'm getting this error
-----------------------------------------------
Invalid Menu Extension (Path is invalid): SimpleDisplay.SampleAction
Invalid Menu Extension (Path is invalid): SimpleDisplay.SampleAction
-----------------------------------------------
and more over when i excute any command i get this error
------------------------
Unhandled event loop exception
Reason:
Workspace is closed.
--------------
here's a snap shot of the plugin.xml
<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Sample Action Set"
visible="true"
id="SimpleDisplay.actionSet">
<!-- For EDIT Menu -->
<menu
label="Edit"
id="EditMenu">
<separator name="EditGroup"/>
</menu>
<action
label="Find"
class="SimpleDisplay.SampleAction"
menubarPath="edit/FileGroup"
id="SimpleDisplay.SampleAction">
</action> </extension> <extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Sample File Set"
visible="true"
id="FileMenuActionSet">
<menu
label="File"
id="FileMenu">
<separator name="FileGroup"/>
</menu>
<action
label="New
Solution"
icon="icons/new_solution.gif"
class="simple.display.Demo.action.DemoFileMenuAction"
menubarPath="file/FileGroup"
toolbarPath="sampleGroup" tooltip="Create New Solution"
id="simple.display.Demo.action.DemoFileMenuAction">
</action>
</extension>
(2)
What's the differnece between IActionDelegate and IAction
and which shoould i use and when.
Can any one throw some light over it as to why im getting this error and wht's the way to fix the problem.
Thnx
Ved.
hi all,
Im new to RCP and
presently working on eclipse 3.1.1 and i have 2 queries regarding it.
(1)
Im trying to create action for the rcp application.
i'm getting this error
-----------------------------------------------
Invalid Menu Extension (Path is invalid): SimpleDisplay.SampleAction
Invalid Menu Extension (Path is invalid): SimpleDisplay.SampleAction
-----------------------------------------------
and more over when i excute any command i get this error
------------------------
Unhandled event loop exception
Reason:
Workspace is closed.
--------------
here's a snap shot of the plugin.xml
<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Sample Action Set"
visible="true"
id="SimpleDisplay.actionSet">
<!-- For EDIT Menu -->
<menu
label="Edit"
id="EditMenu">
<separator name="EditGroup"/>
</menu>
<action
label="Find"
class="SimpleDisplay.SampleAction"
menubarPath="edit/FileGroup"
id="SimpleDisplay.SampleAction">
</action> </extension> <extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Sample File Set"
visible="true"
id="FileMenuActionSet">
<menu
label="File"
id="FileMenu">
<separator name="FileGroup"/>
</menu>
<action
label="New Solution"
icon="icons/new_solution.gif"
class="simple.display.Demo.action.DemoFileMenuAction"
menubarPath="file/FileGroup"
toolbarPath="sampleGroup" tooltip="Create New Solution"
id="simple.display.Demo.action.DemoFileMenuAction">
</action>
</extension>
(2)
What's the differnece between IActionDelegate and IAction
and which shoould i use and when.
Can any one throw some light over it as to why im getting this error and wht's the way to fix the problem.
Thnx
Ved.
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.
Great rates starting at 1¢/min.