Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » smart copy
smart copy [message #119557] Wed, 01 March 2006 16:29 Go to next message
Eclipse UserFriend
Originally posted by: wolfgang.gahleitner.ams-engineering.com

Hi,

I have extended VE with a custom layout manager that uses a constraints
object for positioning. when I copy+paste a control in VE (1.1.0.1) the size
of my control gets lost (size is also stored in my constraints object). Is
it possible to edit the copy functionality of VE in a way that my
constraints object is copied too and used for pasting the component ?

thanks in advance and best regards

Wolfgang Gahleitner
Re: smart copy [message #119572 is a reply to message #119557] Wed, 01 March 2006 19:56 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

No, I'm sorry but there isn't any way to do it. Since constraint is not
actually a setting on the child being copied, but is in constraint
component, which is not being copied, the constraint is removed.

It would be a nice enhancement to at least put it somewhere in the copy
so that it can be accessed on the drop. Maybe you can open an
enhancement request.

Wolfgang Gahleitner wrote:
> Hi,
>
> I have extended VE with a custom layout manager that uses a constraints
> object for positioning. when I copy+paste a control in VE (1.1.0.1) the size
> of my control gets lost (size is also stored in my constraints object). Is
> it possible to edit the copy functionality of VE in a way that my
> constraints object is copied too and used for pasting the component ?
>
> thanks in advance and best regards
>
> Wolfgang Gahleitner
>
>

--
Thanks,
Rich Kulp
Re: smart copy [message #612232 is a reply to message #119557] Wed, 01 March 2006 19:56 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

No, I'm sorry but there isn't any way to do it. Since constraint is not
actually a setting on the child being copied, but is in constraint
component, which is not being copied, the constraint is removed.

It would be a nice enhancement to at least put it somewhere in the copy
so that it can be accessed on the drop. Maybe you can open an
enhancement request.

Wolfgang Gahleitner wrote:
> Hi,
>
> I have extended VE with a custom layout manager that uses a constraints
> object for positioning. when I copy+paste a control in VE (1.1.0.1) the size
> of my control gets lost (size is also stored in my constraints object). Is
> it possible to edit the copy functionality of VE in a way that my
> constraints object is copied too and used for pasting the component ?
>
> thanks in advance and best regards
>
> Wolfgang Gahleitner
>
>

--
Thanks,
Rich Kulp
Previous Topic:smart copy
Next Topic:Visual Editor and Source Editor pb
Goto Forum:
  


Current Time: Thu Sep 19 23:16:31 GMT 2024

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

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

Back to the top