Skip to main content



      Home
Home » Eclipse Projects » GEF » Add many item in Logic
Add many item in Logic [message #148941] Mon, 30 August 2004 09:32 Go to next message
Eclipse UserFriend
Hi all,

is there a way to choose an item from the palette and add it many
instance of it without to reselect it in the palette?
I tried some ctrl/shift combination but no one seems to work.

Thanks in advance

Roberto
Re: Add many item in Logic [message #148981 is a reply to message #148941] Mon, 30 August 2004 11:17 Go to previous messageGo to next message
Eclipse UserFriend
No, it's possible to write such tools, but the ones in logic don't do that.
You could, however, copy the item on the palette and then paste it several
times in the diagram.

"Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
news:opsdjrvnc371gv6x@news.eclipse.org...
> Hi all,
>
> is there a way to choose an item from the palette and add it many
> instance of it without to reselect it in the palette?
> I tried some ctrl/shift combination but no one seems to work.
>
> Thanks in advance
>
> Roberto
Re: Add many item in Logic [message #149163 is a reply to message #148981] Tue, 31 August 2004 08:56 Go to previous messageGo to next message
Eclipse UserFriend
OK, two further questions:
- loking at the CreationTool code it seem enougth to set the FLAG_UNLOAD
flag to true: is this right? If yes, I could do that in a new
CreationToolEntry instead of writing a new tool?

- I don't have a copy action on my palette item: how can I add it?

Thanks

On Mon, 30 Aug 2004 11:17:57 -0400, Pratik Shah <ppshah@us.ibm.com> wrote:

> No, it's possible to write such tools, but the ones in logic don't do
> that.
> You could, however, copy the item on the palette and then paste it
> several
> times in the diagram.
>
> "Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
> news:opsdjrvnc371gv6x@news.eclipse.org...
>> Hi all,
>>
>> is there a way to choose an item from the palette and add it many
>> instance of it without to reselect it in the palette?
>> I tried some ctrl/shift combination but no one seems to work.
>>
>> Thanks in advance
>>
>> Roberto
>
>
Re: Add many item in Logic [message #149200 is a reply to message #149163] Tue, 31 August 2004 10:38 Go to previous messageGo to next message
Eclipse UserFriend
1. Yes, you can invoke: setUnloadWhenFinished(false). I learnt something
new today!
2. Look at the hookPaletteViewer() method in
LogicEditor#createPaletteViewerProvider

"Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
news:opsdlkw4e971gv6x@news.eclipse.org...
> OK, two further questions:
> - loking at the CreationTool code it seem enougth to set the FLAG_UNLOAD
> flag to true: is this right? If yes, I could do that in a new
> CreationToolEntry instead of writing a new tool?
>
> - I don't have a copy action on my palette item: how can I add it?
>
> Thanks
>
> On Mon, 30 Aug 2004 11:17:57 -0400, Pratik Shah <ppshah@us.ibm.com> wrote:
>
> > No, it's possible to write such tools, but the ones in logic don't do
> > that.
> > You could, however, copy the item on the palette and then paste it
> > several
> > times in the diagram.
> >
> > "Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
> > news:opsdjrvnc371gv6x@news.eclipse.org...
> >> Hi all,
> >>
> >> is there a way to choose an item from the palette and add it many
> >> instance of it without to reselect it in the palette?
> >> I tried some ctrl/shift combination but no one seems to work.
> >>
> >> Thanks in advance
> >>
> >> Roberto
> >
> >
>
Re: Add many item in Logic [message #149231 is a reply to message #149200] Tue, 31 August 2004 11:34 Go to previous message
Eclipse UserFriend
OK, I will build my CreationToolEntry.

many thanks

On Tue, 31 Aug 2004 10:38:19 -0400, Pratik Shah <ppshah@us.ibm.com> wrote:

> 1. Yes, you can invoke: setUnloadWhenFinished(false). I learnt something
> new today!
> 2. Look at the hookPaletteViewer() method in
> LogicEditor#createPaletteViewerProvider
Previous Topic:Connector selection problems with Marquee Selection Tool
Next Topic:2 Property views?
Goto Forum:
  


Current Time: Fri Jul 04 04:47:02 EDT 2025

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

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

Back to the top