Home » Modeling » Papyrus » Problem installing palette
|
Re: Problem installing palette [message #630246 is a reply to message #630240] |
Fri, 01 October 2010 10:03 |
|
Hi,
This is perhaps only a matter of configuration of your build.properties file.
It often happens that we create a 'resource' folder in the palette customization plugin and then put the xml configuration file in it, but the folder is not added to the binary build. As an effect, during the build of the plugin, the configuration file is of course not accessible.
You should try to add your xml configuration file to the binary build of your plugin: open your plugin.xml file => go the the 'build' tab => in the binary build table, add your file.
If it was already checked and so, present in your binary build, perhaps you should check in the error log to see if an error was present.
Cheers,
Rémi
Remi Schnekenburger
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
| | |
Re: Problem installing palette [message #632118 is a reply to message #630240] |
Mon, 11 October 2010 15:55 |
123star Messages: 70 Registered: June 2010 |
Member |
|
|
Hi,
new problems with palette export...
It worked fine, both executing the plugin from workspace and installing as exported plugin, then I tested the plugin in another eclipse, the one that must be used by default, where other plugins are installed and happened the same issue:
I can see the custom palette if I launch the plugin from workspace, but I can't if I install the exported plugin.
In the other eclipse it works, so I think it's a problem of conflicting plugins, I also checked the build tab in plugin.xml and the palette folder is checked.
The error log only says that:
!ENTRY org.eclipse.ui 4 4 2010-10-11 17:33:54.625
!MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideCompartmentActi on
!ENTRY org.eclipse.ui 4 4 2010-10-11 17:33:54.640
!MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideContentsAction
Both with or without my palette plugin.
Other issue: in the other eclipse, where it works, an error appears saying that it can't find an icon resource, in fact the link tool icon is a red rectangle.
Thanks in advance, 123star
|
|
|
Re: Problem installing palette [message #636293 is a reply to message #632118] |
Sat, 30 October 2010 13:32 |
Andres Messages: 57 Registered: July 2010 |
Member |
|
|
Hi, thank for your last answer.
I solve the problem of the red icons in the palette, for do this
when you are building your custom palette, at the time that you add your elements, see the path in the icons property of the problematic elements , and change to other existing path icon.
In my case i have problem for example with role binding element, the path of his image dont have the form platform:/plugin........ i have to change the icon to other, where the kind of path have the form:
plattform:/plugin:......
I have a question, when you make a plugin with custom palette, in the step that you specify the extension point to asociate the palette to an editor, do you specify any class or you just specify the id of the editor?....what class i could specify?...i ask because i have some problem with the id of the editor.
Andres
|
|
| |
Re: Problem installing palette [message #661513 is a reply to message #630246] |
Fri, 25 March 2011 02:29 |
Antonio Messages: 4 Registered: October 2010 |
Junior Member |
|
|
Hi!!
I have exactly the same problem. My palettes don't appear when I install the plugin in another Eclipse instance. I've been unable to solve this. Already checked the palette.xml file and was present in the binary build. No errors in error log.
Could anyone help me?
Thanks in advance.
Remi Schnekenburger wrote on Fri, 01 October 2010 06:03 | Hi,
This is perhaps only a matter of configuration of your build.properties file.
It often happens that we create a 'resource' folder in the palette customization plugin and then put the xml configuration file in it, but the folder is not added to the binary build. As an effect, during the build of the plugin, the configuration file is of course not accessible.
You should try to add your xml configuration file to the binary build of your plugin: open your plugin.xml file => go the the 'build' tab => in the binary build table, add your file.
If it was already checked and so, present in your binary build, perhaps you should check in the error log to see if an error was present.
Cheers,
Rémi
|
[Updated on: Fri, 25 March 2011 02:37] Report message to a moderator
|
|
| | | |
Goto Forum:
Current Time: Sat Apr 20 14:46:12 GMT 2024
Powered by FUDForum. Page generated in 0.03763 seconds
|