Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Help! Copy/Paste of Components
Help! Copy/Paste of Components [message #82449] Mon, 07 March 2005 17:44 Go to next message
Eclipse UserFriend
Originally posted by: aarnan.hotmail.com

I'm new to Eclipse and the visual editor, using the latest eclipse and VEP
version. I create a swing form and add a jtextfield, a jbutton, and a
jlabel. I want to repeat this group of components over again a few times
by copying and pasting. However, whether I select them individually or as
a group I have no copy/paste options. Is this just a limitation of the
tool, or am I missing some plugin or option or something?

Thanks!
Re: Help! Copy/Paste of Components [message #82464 is a reply to message #82449] Mon, 07 March 2005 17:51 Go to previous message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
Aaron wrote:
>
> I'm new to Eclipse and the visual editor, using the latest eclipse and
> VEP version. I create a swing form and add a jtextfield, a jbutton, and
> a jlabel. I want to repeat this group of components over again a few
> times by copying and pasting. However, whether I select them
> individually or as a group I have no copy/paste options. Is this just a
> limitation of the tool, or am I missing some plugin or option or something?

We don't support copy/paste, however, you can create a control extending
JPanel containing the controls you want repeated. Then use the "Choose
Bean" button on the palette to drop as many copies of that as you want.


Best Regards,

Dave Orme

--
Visual Editor Project lead
http://www.db4o.com -- The Open-source Java Object Database
Re: Help! Copy/Paste of Components [message #605719 is a reply to message #82449] Mon, 07 March 2005 17:51 Go to previous message
Dave Orme is currently offline Dave OrmeFriend
Messages: 424
Registered: July 2009
Senior Member
Aaron wrote:
>
> I'm new to Eclipse and the visual editor, using the latest eclipse and
> VEP version. I create a swing form and add a jtextfield, a jbutton, and
> a jlabel. I want to repeat this group of components over again a few
> times by copying and pasting. However, whether I select them
> individually or as a group I have no copy/paste options. Is this just a
> limitation of the tool, or am I missing some plugin or option or something?

We don't support copy/paste, however, you can create a control extending
JPanel containing the controls you want repeated. Then use the "Choose
Bean" button on the palette to drop as many copies of that as you want.


Best Regards,

Dave Orme

--
Visual Editor Project lead
http://www.db4o.com -- The Open-source Java Object Database
Previous Topic:Help! Copy/Paste of Components
Next Topic:How to insert own code to the Source Editor automatically
Goto Forum:
  


Current Time: Thu Apr 25 14:04:44 GMT 2024

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

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

Back to the top