Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Add many item in Logic
Add many item in Logic [message #148941] Mon, 30 August 2004 13:32 Go to next message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
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 15:17 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
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 12:56 Go to previous messageGo to next message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
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 14:38 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
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 15:34 Go to previous message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
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 Apr 26 15:55:46 GMT 2024

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

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

Back to the top