Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Is the Visual Editor going in the wrong direction?
Is the Visual Editor going in the wrong direction? [message #144514] Wed, 16 April 2008 10:38 Go to next message
Eclipse UserFriend
Originally posted by: eli_lato.hotmail.com

I use the VE to build Swing screens. Each time that I want to do something that I think is simple, obvious, and trivial, I hit a wall of technical trivia. For example, I want to make a property editor that displays a modal Swing dialog. STOP! So far as I can tell, I have to extend VE with a plugin to do something this simple. And I have to learn SWT on top of that! I'm sure that there's a great reason for me to have to learn SWT, but it doesn't help me get my work done.

I've read Gili Mendel's "custom widget" articles on customizing VE. They look as if they were brain teasers for nerds. With all due respect for universality, compatibility, and academic rigor, this approach does not help a developer do a day's work.

We may be able to borrow a solution to this problem from Java's approach. Java has classes that handle universality. For example formatters handle Object to String conversions. But these formatters were a nuisance for everyday work, so someone wrote SimpleDateFormat. Can the VE use this approach?- give us a solution that may not be universal, but that works for most of us. VE succeeds in its universality, but not in its usefulness.

You can answer that I'm too dumb to handle the complexity that VE demands. You may be right, but I'm probably not the only dummy out there. All I need a flexible, Swing-oriented tool, and I don't have the time to learn all the technical details of extension points.

David Perez's recent post implied that a lot of people are looking elsewhere for a visual editor. That's a shame, but it isn't surprising.

Are there any plans to make VE more useful for Swing developers?
Alternatively, has anyone written plugins that take the difficulty out of customizing VE?

Thanks,
Eli
Re: Is the Visual Editor going in the wrong direction? [message #144697 is a reply to message #144514] Wed, 23 April 2008 00:40 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
You don't need to extend VE to create a Dialog. You need to call the wizard
to create a Visual subclass of JDialog..

Please keep in mind that VE is a GUI tool for java developer. It is not a
Presentation Framework.

best regards
Yves YANG
"Eli Lato" <eli_lato@hotmail.com> wrote in message
news:22801701.49401208342363556.JavaMail.root@cp1.dzone.com...
>I use the VE to build Swing screens. Each time that I want to do something
>that I think is simple, obvious, and trivial, I hit a wall of technical
>trivia. For example, I want to make a property editor that displays a modal
>Swing dialog. STOP! So far as I can tell, I have to extend VE with a plugin
>to do something this simple. And I have to learn SWT on top of that! I'm
>sure that there's a great reason for me to have to learn SWT, but it
>doesn't help me get my work done.
>
> I've read Gili Mendel's "custom widget" articles on customizing VE. They
> look as if they were brain teasers for nerds. With all due respect for
> universality, compatibility, and academic rigor, this approach does not
> help a developer do a day's work.
>
> We may be able to borrow a solution to this problem from Java's approach.
> Java has classes that handle universality. For example formatters handle
> Object to String conversions. But these formatters were a nuisance for
> everyday work, so someone wrote SimpleDateFormat. Can the VE use this
> approach?- give us a solution that may not be universal, but that works
> for most of us. VE succeeds in its universality, but not in its
> usefulness.
>
> You can answer that I'm too dumb to handle the complexity that VE demands.
> You may be right, but I'm probably not the only dummy out there. All I
> need a flexible, Swing-oriented tool, and I don't have the time to learn
> all the technical details of extension points.
>
> David Perez's recent post implied that a lot of people are looking
> elsewhere for a visual editor. That's a shame, but it isn't surprising.
>
> Are there any plans to make VE more useful for Swing developers?
> Alternatively, has anyone written plugins that take the difficulty out of
> customizing VE?
>
> Thanks,
> Eli
Re: Is the Visual Editor going in the wrong direction? [message #144704 is a reply to message #144697] Thu, 24 April 2008 17:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eli_lato.hotmail.com

That sounds great! I saw elsewhere an example of someone using New -> Other -> Visual... But in my Eclipse 3.2.2, I don't see it. (In fact, in my Eclipse, I don't even see how to open the Visual Editor.)

Would you please give me more specifics for creating a PropertyEditor that can throw up a Dialog?

1 Do I set up my editor with:
propertyDescriptor.setPropertyEditorClass(MyPropertyEditor.c lass);

or with:
PropertyEditorSupport.getCustomEditor()

2 Do I display my Dialog in MyPropertyEditor, or in customEditor?

3 Is my dialog an AWT dialog, an SWT dialog, or a Swing JDialog?

Thanks,
Eli
Re: Is the Visual Editor going in the wrong direction? [message #144711 is a reply to message #144704] Fri, 25 April 2008 02:41 Go to previous messageGo to next message
Chris is currently offline ChrisFriend
Messages: 22
Registered: July 2009
Junior Member
Visual editor is out in the world for 3.2.2 . Somewhere you could go into
the calisto folder is where its soppsed to be and then you download all
gef and I think emf. If you try to install it probably should ask for them
as a requirement. I on the other hand wandered into an old newsgroup and
in trying to add ve (the old one thats not 3.3 compatible) to 3.3 and
followed instructions to add direct download links to the download sites
which is probably why i can't edit the links to just copy and past them.

Pretty much just add the visual editor link and look through calisto and
get the others for your need there.(gef and emf and gmf) those are the
ones I know of.

this is safer than copying and pasting the folder as is one way to get
the editor into the plugins but you don't need the stress it caused me.


<site name="XML Schema Infoset Model (XSD) Updates"
url="http://download.eclipse.org/modeling/emf/updates/" web="false"
selected="false" local="false" />

// I think think this was where i got the gef but again this I know is on
calisto
<site name="Model Developement Tools (MDT) Updates"
url="http://download.eclipse.org/modeling/mdt/updates/" web="false"
selected="false" local="false" />

//emf site thought there is a newer version on calisto
<site name="Eclipse Modeling Framework Technologies (EMFT) Updates"
url="http://download.eclipse.org/modeling/emft/updates/" web="false"
selected="false" local="false" />

<site name="The Eclipse Project Updates"
url="http://update.eclipse.org/updates/3.2" web="false" selected="false"
local="false" />

<site name="Callisto Discovery Site"
url="http://download.eclipse.org/callisto/releases" web="false"
selected="false" local="false" />

// this is where i got my visual editer
<site name="Visual Editor update site"
url="http://update.eclipse.org/tools/ve/updates/1.0/" web="false"
selected="false" local="false" />
Re: Is the Visual Editor going in the wrong direction? [message #144832 is a reply to message #144711] Wed, 14 May 2008 16:33 Go to previous message
Eclipse UserFriend
Originally posted by: eli_lato.hotmail.com

Thanks. Will do.
Re: Is the Visual Editor going in the wrong direction? [message #617104 is a reply to message #144514] Wed, 23 April 2008 00:40 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
You don't need to extend VE to create a Dialog. You need to call the wizard
to create a Visual subclass of JDialog..

Please keep in mind that VE is a GUI tool for java developer. It is not a
Presentation Framework.

best regards
Yves YANG
"Eli Lato" <eli_lato@hotmail.com> wrote in message
news:22801701.49401208342363556.JavaMail.root@cp1.dzone.com...
>I use the VE to build Swing screens. Each time that I want to do something
>that I think is simple, obvious, and trivial, I hit a wall of technical
>trivia. For example, I want to make a property editor that displays a modal
>Swing dialog. STOP! So far as I can tell, I have to extend VE with a plugin
>to do something this simple. And I have to learn SWT on top of that! I'm
>sure that there's a great reason for me to have to learn SWT, but it
>doesn't help me get my work done.
>
> I've read Gili Mendel's "custom widget" articles on customizing VE. They
> look as if they were brain teasers for nerds. With all due respect for
> universality, compatibility, and academic rigor, this approach does not
> help a developer do a day's work.
>
> We may be able to borrow a solution to this problem from Java's approach.
> Java has classes that handle universality. For example formatters handle
> Object to String conversions. But these formatters were a nuisance for
> everyday work, so someone wrote SimpleDateFormat. Can the VE use this
> approach?- give us a solution that may not be universal, but that works
> for most of us. VE succeeds in its universality, but not in its
> usefulness.
>
> You can answer that I'm too dumb to handle the complexity that VE demands.
> You may be right, but I'm probably not the only dummy out there. All I
> need a flexible, Swing-oriented tool, and I don't have the time to learn
> all the technical details of extension points.
>
> David Perez's recent post implied that a lot of people are looking
> elsewhere for a visual editor. That's a shame, but it isn't surprising.
>
> Are there any plans to make VE more useful for Swing developers?
> Alternatively, has anyone written plugins that take the difficulty out of
> customizing VE?
>
> Thanks,
> Eli
Re: Is the Visual Editor going in the wrong direction? [message #617105 is a reply to message #144697] Thu, 24 April 2008 17:10 Go to previous message
Eli Lato is currently offline Eli LatoFriend
Messages: 35
Registered: July 2009
Member
That sounds great! I saw elsewhere an example of someone using New -> Other -> Visual... But in my Eclipse 3.2.2, I don't see it. (In fact, in my Eclipse, I don't even see how to open the Visual Editor.)

Would you please give me more specifics for creating a PropertyEditor that can throw up a Dialog?

1 Do I set up my editor with:
propertyDescriptor.setPropertyEditorClass(MyPropertyEditor.c lass);

or with:
PropertyEditorSupport.getCustomEditor()

2 Do I display my Dialog in MyPropertyEditor, or in customEditor?

3 Is my dialog an AWT dialog, an SWT dialog, or a Swing JDialog?

Thanks,
Eli
Re: Is the Visual Editor going in the wrong direction? [message #617185 is a reply to message #144704] Fri, 25 April 2008 02:41 Go to previous message
Chris is currently offline ChrisFriend
Messages: 22
Registered: July 2009
Junior Member
Visual editor is out in the world for 3.2.2 . Somewhere you could go into
the calisto folder is where its soppsed to be and then you download all
gef and I think emf. If you try to install it probably should ask for them
as a requirement. I on the other hand wandered into an old newsgroup and
in trying to add ve (the old one thats not 3.3 compatible) to 3.3 and
followed instructions to add direct download links to the download sites
which is probably why i can't edit the links to just copy and past them.

Pretty much just add the visual editor link and look through calisto and
get the others for your need there.(gef and emf and gmf) those are the
ones I know of.

this is safer than copying and pasting the folder as is one way to get
the editor into the plugins but you don't need the stress it caused me.


<site name="XML Schema Infoset Model (XSD) Updates"
url="http://download.eclipse.org/modeling/emf/updates/" web="false"
selected="false" local="false" />

// I think think this was where i got the gef but again this I know is on
calisto
<site name="Model Developement Tools (MDT) Updates"
url="http://download.eclipse.org/modeling/mdt/updates/" web="false"
selected="false" local="false" />

//emf site thought there is a newer version on calisto
<site name="Eclipse Modeling Framework Technologies (EMFT) Updates"
url="http://download.eclipse.org/modeling/emft/updates/" web="false"
selected="false" local="false" />

<site name="The Eclipse Project Updates"
url="http://update.eclipse.org/updates/3.2" web="false" selected="false"
local="false" />

<site name="Callisto Discovery Site"
url="http://download.eclipse.org/callisto/releases" web="false"
selected="false" local="false" />

// this is where i got my visual editer
<site name="Visual Editor update site"
url="http://update.eclipse.org/tools/ve/updates/1.0/" web="false"
selected="false" local="false" />
Re: Is the Visual Editor going in the wrong direction? [message #617199 is a reply to message #144711] Wed, 14 May 2008 16:33 Go to previous message
Eli Lato is currently offline Eli LatoFriend
Messages: 35
Registered: July 2009
Member
Thanks. Will do.
Previous Topic:Swing Design Time Render Problem On Kubutu
Next Topic:getDefaultPropertyIndex- does VE honor it?
Goto Forum:
  


Current Time: Sat Apr 20 02:06:00 GMT 2024

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

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

Back to the top