Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Does Eclipse have any VE development tool?
Does Eclipse have any VE development tool? [message #69648] Mon, 01 November 2004 22:24 Go to next message
Eclipse UserFriend
Originally posted by: txfen.hands.com.my

Hi guys,

Just wondering, does eclipse have any VE development tool? For eclipse
2.1.x or 3.0? Like NetBeans? Because I found that extending the VE is not
an easy job, and because there's no proper documentation on it, it
requires a lot of testing, and some of you might have noticed that I've
posted quite a number of question here...

<code for eclipse 2 or eclipse 3?>

By the way, I have another question here. I have my own component, MyPanel
which extends awt.Panel and it contains an inner panel. I have this
attribute "innerLayout" which allows users to set the layout for the inner
panel. I've copied some codes from a thread in the newsgroup, but it seems
like it's not work. I got a NullPointerException from the VE.

The override file is:

<?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:org.eclipse.ve.internal.cde.decorators="http:///org/eclipse/ve/internal/cde/decorators.ecore"

xmlns:org.eclipse.ve.internal.cde.utility="http:///org/eclipse/ve/internal/cde/utility.ecore"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:event="event.xmi">

<event:Add featureName="eReferences">

<addedEObjects xsi:type="ecore:EReference" name="InnerLayout"
unsettable="true">
<eAnnotations
xsi:type=" org.eclipse.ve.internal.cde.decorators:BasePropertyDecorator "

labelProviderClassname=" org.eclipse.ve.java.core/org.eclipse.ve.internal.java.vce.Ja vaBeanLabelProvider "

cellEditorClassname=" org.eclipse.ve.jfc/org.eclipse.ve.internal.jfc.core.LayoutMa nagerCellEditor "/>
</addedEObjects>
</event:Add>

<event:Add featureName="eAnnotations">
<addedEObjects
xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
<graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
resourceName=" platform:/plugin/com.nexusedge.facado.ve.test/icons/NETitled Border.gif "/>
</addedEObjects>
</event:Add>

</xmi:XMI>

Is it because this code is for Eclipse 3.0? Because I'm extending VE for
eclipse 2.1.x.

Thanks a lot.



klutzie
Re: Does Eclipse have any VE development tool? [message #69772 is a reply to message #69648] Wed, 03 November 2004 09:10 Go to previous message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Hi Klutzie,

Could you describe in more detail what you're thinking of when you say a
VE development tool? Do you mean utilities that will aid the extension
of the Visual Editor?

Looking at the override you posted, it looks like that is using the
override syntax from VE 1.0.1 on Eclipse 3.0.1. I'd strongly encourage
you to develop your VE extensions based off of 3.0.1 rather than 2.1.

Documentation of public APIs of the VE is currently severely lacking.
Project documentation is a major goal in the plan for the VE release
1.1. In the mean time, please continue to ask questions on the newsgroup!

Thanks,
- Jeff

klutzie wrote:
> Hi guys,
>
> Just wondering, does eclipse have any VE development tool? For eclipse
> 2.1.x or 3.0? Like NetBeans? Because I found that extending the VE is not
> an easy job, and because there's no proper documentation on it, it
> requires a lot of testing, and some of you might have noticed that I've
> posted quite a number of question here...
>
> <code for eclipse 2 or eclipse 3?>
>
> By the way, I have another question here. I have my own component, MyPanel
> which extends awt.Panel and it contains an inner panel. I have this
> attribute "innerLayout" which allows users to set the layout for the inner
> panel. I've copied some codes from a thread in the newsgroup, but it seems
> like it's not work. I got a NullPointerException from the VE.
>
> The override file is:
>
> <?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:org.eclipse.ve.internal.cde.decorators="http:///org/eclipse/ve/internal/cde/decorators.ecore"
>
> xmlns:org.eclipse.ve.internal.cde.utility="http:///org/eclipse/ve/internal/cde/utility.ecore"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:event="event.xmi">
>
> <event:Add featureName="eReferences">
>
> <addedEObjects xsi:type="ecore:EReference" name="InnerLayout"
> unsettable="true">
> <eAnnotations
> xsi:type=" org.eclipse.ve.internal.cde.decorators:BasePropertyDecorator "
>
> labelProviderClassname=" org.eclipse.ve.java.core/org.eclipse.ve.internal.java.vce.Ja vaBeanLabelProvider "
>
> cellEditorClassname=" org.eclipse.ve.jfc/org.eclipse.ve.internal.jfc.core.LayoutMa nagerCellEditor "/>
> </addedEObjects>
> </event:Add>
>
> <event:Add featureName="eAnnotations">
> <addedEObjects
> xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
> <graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
> resourceName=" platform:/plugin/com.nexusedge.facado.ve.test/icons/NETitled Border.gif "/>
> </addedEObjects>
> </event:Add>
>
> </xmi:XMI>
>
> Is it because this code is for Eclipse 3.0? Because I'm extending VE for
> eclipse 2.1.x.
>
> Thanks a lot.
>
>
>
> klutzie
>
Re: Does Eclipse have any VE development tool? [message #602529 is a reply to message #69648] Wed, 03 November 2004 09:10 Go to previous message
Eclipse UserFriend
Hi Klutzie,

Could you describe in more detail what you're thinking of when you say a
VE development tool? Do you mean utilities that will aid the extension
of the Visual Editor?

Looking at the override you posted, it looks like that is using the
override syntax from VE 1.0.1 on Eclipse 3.0.1. I'd strongly encourage
you to develop your VE extensions based off of 3.0.1 rather than 2.1.

Documentation of public APIs of the VE is currently severely lacking.
Project documentation is a major goal in the plan for the VE release
1.1. In the mean time, please continue to ask questions on the newsgroup!

Thanks,
- Jeff

klutzie wrote:
> Hi guys,
>
> Just wondering, does eclipse have any VE development tool? For eclipse
> 2.1.x or 3.0? Like NetBeans? Because I found that extending the VE is not
> an easy job, and because there's no proper documentation on it, it
> requires a lot of testing, and some of you might have noticed that I've
> posted quite a number of question here...
>
> <code for eclipse 2 or eclipse 3?>
>
> By the way, I have another question here. I have my own component, MyPanel
> which extends awt.Panel and it contains an inner panel. I have this
> attribute "innerLayout" which allows users to set the layout for the inner
> panel. I've copied some codes from a thread in the newsgroup, but it seems
> like it's not work. I got a NullPointerException from the VE.
>
> The override file is:
>
> <?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:org.eclipse.ve.internal.cde.decorators="http:///org/eclipse/ve/internal/cde/decorators.ecore"
>
> xmlns:org.eclipse.ve.internal.cde.utility="http:///org/eclipse/ve/internal/cde/utility.ecore"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:event="event.xmi">
>
> <event:Add featureName="eReferences">
>
> <addedEObjects xsi:type="ecore:EReference" name="InnerLayout"
> unsettable="true">
> <eAnnotations
> xsi:type=" org.eclipse.ve.internal.cde.decorators:BasePropertyDecorator "
>
> labelProviderClassname=" org.eclipse.ve.java.core/org.eclipse.ve.internal.java.vce.Ja vaBeanLabelProvider "
>
> cellEditorClassname=" org.eclipse.ve.jfc/org.eclipse.ve.internal.jfc.core.LayoutMa nagerCellEditor "/>
> </addedEObjects>
> </event:Add>
>
> <event:Add featureName="eAnnotations">
> <addedEObjects
> xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
> <graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
> resourceName=" platform:/plugin/com.nexusedge.facado.ve.test/icons/NETitled Border.gif "/>
> </addedEObjects>
> </event:Add>
>
> </xmi:XMI>
>
> Is it because this code is for Eclipse 3.0? Because I'm extending VE for
> eclipse 2.1.x.
>
> Thanks a lot.
>
>
>
> klutzie
>
Previous Topic:Use VE from Composite i.s.o Shell
Next Topic:Use VE from Composite i.s.o Shell
Goto Forum:
  


Current Time: Fri May 02 14:10:13 EDT 2025

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

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

Back to the top