| [ve-dev] AW: ve-dev Digest, Vol 52, Issue 4 |
|
Hello, some descriptions, and documents
you find on the VE page (VE wiki, ULC document, and so on). 1. Ensure the VE works fine with all other
plug-ins for my customer's environment on Galileo. 2. To enable the extension of the VE Wizards to
allow the addition of "New Visual Class à In-House-Frame and
In-House-Panel" instead changing the extends clause after adding a normal
Swing JFrame. I do not know about
wizard extensions, is there any? 3. Add custom Extensions to the VE to allow for
our in-house > components on the palette. It should work fine using
some override files. Consider following
extension point: <!-- visual editor palette contributions
--> <extension
point="org.eclipse.ve.java.core.contributors"> <contributor class="ch.ivyteam.yourpackage.visualeditor.YourRichDialogVisualEditorContributor" container="IVY_CONTAINER"/> <palette container="IVY_CONTAINER" loc="first" categories="palette/yourWidgetsToPalette.xmi" plugin="ch.your.plugin.id"/> </extension> And use following format
for your yourWidgetsToPalette.xmi: <?xml
version="1.0" encoding="UTF-8"?> <xmi:XMI
xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:org.eclipse.ve.internal.cde.palette="http:///org/eclipse/ve/internal/cde/palette.ecore"
xmlns:org.eclipse.ve.internal.cde.utility="http:///org/eclipse/ve/internal/cde/utility.ecore"> <org.eclipse.ve.internal.cde.palette:Drawer> <entryLabel xsi:type="org.eclipse.ve.internal.cde.utility:ConstantString"
string="Containers"/> <entryShortDescription
xsi:type="org.eclipse.ve.internal.cde.utility:ConstantString"
string="User interface objects to group other objects."/> <children
xsi:type="org.eclipse.ve.internal.cde.palette:EMFCreationToolEntry"
icon16Name="platform:/plugin/ch.your.plugin.id/icons/icon_of_custom_widget_obj.gif"
creationClassURI="java:/ch.your.plugin.id#RYourCustomWidget"> <entryLabel
xsi:type="org.eclipse.ve.internal.cde.utility:ConstantString"
string="RLabel_for_your_widget"/>
<entryShortDescription xsi:type="org.eclipse.ve.internal.cde.utility:ConstantString"
string="A border layout pane is a container which arranges its components
using a Border Layout. Essentially, a border layout consists of 5 areas: North,
East, South and West which are arranged around the Center."/> <keyedValues
xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition"
value="DefaultNewWidgetNameToSetHere"/> </children>
</org.eclipse.ve.internal.cde.palette:Drawer> </xmi:XMI> I was also wondering if I can get some guidelines
somewhere on the web as to how to start-up such a checked out project. no idea. Already it seems there are some deprecated methods
which cause errors. Time did not permit me to carry on. Shall do so soon. I wish you good luck! Best regards Tamas Tamas
Kis ivyTeam
AG Telefon: +41
(0)58 666 34 87 soreco swiss business software since 1988 P
Sie
drucken dieses E-Mail nicht aus? Die Umwelt dankt! |