Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Hi Peppe, A CursorTool is basically a MouseListener. If you convert it to a plugin, how will define the translation parameters ? I think it is possible to re-use a part CursorTool's code for a PlugIn, but I can't see a generic way to convert from one to another. Can you give more details about your use-case ? Michaël Le 03/05/2011 11:04, Giuseppe Aruta a écrit : Hi all, is there a general way to convert a Tool into a PlugIn? I want to use MoveSelectedItemsTool into a MacroPlugIn. regards Peppe -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Hi Michael, I was working around CAD like tools. A MacroPlugin like CopyPlugIn PastePlugIn MoveSelectedItem(PlugIn) will define a clone item tool. Peppe --- Mar 3/5/11, Michaël Michaud ha scritto: Da: Michaël Michaud Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn A: "OpenJump develop and use" Data: Martedì 3 maggio 2011, 21:23 Hi Peppe, A CursorTool is basically a MouseListener. If you convert it to a plugin, how will define the translation parameters ? I think it is possible to re-use a part CursorTool's code for a PlugIn, but I can't see a generic way to convert from one to another. Can you give more details about your use-case ? Michaël Le 03/05/2011 11:04, Giuseppe Aruta a écrit : Hi all, is there a general way to convert a Tool into a PlugIn? I want to use MoveSelectedItemsTool into a MacroPlugIn. regards Peppe -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -Segue allegato- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -Segue allegato- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Or I can invert my problem: How can I call CopyItemPlugIn and PasteItem PlugIn inside MoveSelectedItemTool to have a Clone effect. Peppe --- Mer 4/5/11, Giuseppe Aruta ha scritto: Da: Giuseppe Aruta Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn A: "OpenJump develop and use" Data: Mercoledì 4 maggio 2011, 08:46 Hi Michael, I was working around CAD like tools. A MacroPlugin like CopyPlugIn PastePlugIn MoveSelectedItem(PlugIn) will define a clone item tool. Peppe --- Mar 3/5/11, Michaël Michaud ha scritto: Da: Michaël Michaud Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn A: "OpenJump develop and use" Data: Martedì 3 maggio 2011, 21:23 Hi Peppe, A CursorTool is basically a MouseListener. If you convert it to a plugin, how will define the translation parameters ? I think it is possible to re-use a part CursorTool's code for a PlugIn, but I can't see a generic way to convert from one to another. Can you give more details about your use-case ? Michaël Le 03/05/2011 11:04, Giuseppe Aruta a écrit : Hi all, is there a general way to convert a Tool into a PlugIn? I want to use MoveSelectedItemsTool into a MacroPlugIn. regards Peppe -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -Segue allegato- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -Segue allegato- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -Segue allegato- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -Segue allegato- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Peppe, Can you provide me a list of user actions for the plug-in you are trying to create? Then maybe I can offer some suggestions for the implementation. Landon On Wed, May 4, 2011 at 3:17 AM, Giuseppe Aruta wrote: > Or I can invert my problem: > How can I call CopyItemPlugIn and PasteItem PlugIn inside > MoveSelectedItemTool to have a Clone effect. > > Peppe > > --- *Mer 4/5/11, Giuseppe Aruta * ha scritto: > > > Da: Giuseppe Aruta > > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > A: "OpenJump develop and use" > Data: Mercoledì 4 maggio 2011, 08:46 > > > Hi Michael, > I was working around CAD like tools. > A MacroPlugin like > CopyPlugIn > PastePlugIn > MoveSelectedItem(PlugIn) > will define a clone item tool. > > Peppe > > --- *Mar 3/5/11, Michaël Michaud * ha scritto: > > > Da: Michaël Michaud > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > A: "OpenJump develop and use" > Data: Martedì 3 maggio 2011, 21:23 > > Hi Peppe, > > A CursorTool is basically a MouseListener. > If you convert it to a plugin, how will define the translation parameters ? > > I think it is possible to re-use a part CursorTool's code for a PlugIn, but > I can't see a generic way to convert from one to another. > Can you give more details about your use-case ? > > > Michaël > > > Le 03/05/2011 11:04, Giuseppe Aruta a écrit : > > > Hi all, > is there a general way to convert a Tool into a PlugIn? I want to use > MoveSelectedItemsTool into a MacroPlugIn. > > regards > > Peppe > > > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing > solution.http://p.sf.net/sfu/whatsupgold-sd > > > ___ > Jump-pilot-devel mailing > listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > -Segue allegato- > > > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > > -Segue allegato- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > -Segue allegato- > > > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > > -Segue allegato- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net<http://mc/compose?to=Jump-pilot-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Hi Landon, thanks for your help. I am travelling for job : I will write in details after 26th of May. Regards Peppe Da: Sunburned Surveyor A: OpenJump develop and use Inviato: Sabato 7 Maggio 2011 4:36 Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn Peppe,Can you provide me a list of user actions for the plug-in you are trying to create?Then maybe I can offer some suggestions for the implementation.Landon On Wed, May 4, 2011 at 3:17 AM, Giuseppe Aruta wrote: Or I can invert my problem: >How can I call CopyItemPlugIn and PasteItem PlugIn inside MoveSelectedItemTool >to have a Clone effect. > >Peppe > >--- Mer 4/5/11, Giuseppe Aruta ha scritto: > > >>Da: Giuseppe Aruta >>Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugInA: >>"OpenJump develop and use" Data: >>Mercoledì 4 maggio 2011, 08:46 >>Hi Michael, >>I was working around CAD like tools. >>A MacroPlugin like >>CopyPlugIn >>PastePlugIn >>MoveSelectedItem(PlugIn) >>will define a clone item tool. >> >>Peppe >> >>--- Mar 3/5/11, Michaël Michaud ha scritto: >> >> >>>Da: Michaël Michaud >>>Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn >>>A: "OpenJump develop and use" >>>Data: Martedì 3 maggio 2011, 21:23 >>> >>> >>>Hi Peppe,A CursorTool is basically a MouseListener.If you convert it to a >>>plugin, how will define the translation parameters ?I think it is possible >>>to re-use a part CursorTool's code for a PlugIn, but I can't see a generic >>>way to convert from one to another.Can you give more details about your >>>use-case ?MichaëlLe 03/05/2011 11:04, Giuseppe Aruta a écrit : >>> >>>>Hi all, >>>>is there a general way to convert a Tool into a PlugIn? I want to use >>>>MoveSelectedItemsTool into a MacroPlugIn. >>>> >>>>regards >>>> >>>>Peppe >>>> >>>> -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd >>>> ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>-Segue allegato- >>> >>> >>>--WhatsUp >>> Gold - Download Free Network Management SoftwareThe most intuitive, >>>comprehensive, and cost-effective network management toolset available >>>today. Delivers lowest initial acquisition cost and overall TCO of any >>>competing solution.http://p.sf.net/sfu/whatsupgold-sd >>>-Segue allegato- >>> >>> >>>___Jump-pilot-devel mailing >>>listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>> -Segue allegato- >>--WhatsUp >> Gold - Download Free Network Management SoftwareThe most intuitive, >>comprehensive, and cost-effective network management toolset available >>today. Delivers lowest initial acquisition cost and overall TCO of any >>competing solution.http://p.sf.net/sfu/whatsupgold-sd-Segue allegato- >>___Jump-pilot-devel mailing >>listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >-- >WhatsUp Gold - Download Free Network Management Software >The most intuitive, comprehensive, and cost-effective network >management toolset available today. Delivers lowest initial >acquisition cost and overall TCO of any competing solution. >http://p.sf.net/sfu/whatsupgold-sd >___ >Jump-pilot-devel mailing list >Jump-pilot-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >--WhatsUp > Gold - Download Free Network Management SoftwareThe most intuitive, >comprehensive, and cost-effective network management toolset available today. >Delivers lowe
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Le 04/05/2011 12:17, Giuseppe Aruta a écrit : Or I can invert my problem: How can I call CopyItemPlugIn and PasteItem PlugIn inside MoveSelectedItemTool to have a Clone effect. Do you know the PasteItemsAtPlugIn ? It seems to do what you want : select features, right click in the view at the place where you want to clone your features, choose paste at (Incolla elementi al punto) You can even create a shortcut with Larry's EZButton to avoid to right-click-choose-menu item operation. Michaël Peppe --- *Mer 4/5/11, Giuseppe Aruta //* ha scritto: Da: Giuseppe Aruta Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn A: "OpenJump develop and use" Data: Mercoledì 4 maggio 2011, 08:46 Hi Michael, I was working around CAD like tools. A MacroPlugin like CopyPlugIn PastePlugIn MoveSelectedItem(PlugIn) will define a clone item tool. Peppe --- *Mar 3/5/11, Michaël Michaud //* ha scritto: Da: Michaël Michaud Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn A: "OpenJump develop and use" Data: Martedì 3 maggio 2011, 21:23 Hi Peppe, A CursorTool is basically a MouseListener. If you convert it to a plugin, how will define the translation parameters ? I think it is possible to re-use a part CursorTool's code for a PlugIn, but I can't see a generic way to convert from one to another. Can you give more details about your use-case ? Michaël Le 03/05/2011 11:04, Giuseppe Aruta a écrit : Hi all, is there a general way to convert a Tool into a PlugIn? I want to use MoveSelectedItemsTool into a MacroPlugIn. regards Peppe -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -Segue allegato- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -Segue allegato- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -Segue allegato- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -Segue allegato- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
I know pastItemAtPoint PlugIn and I use it frequently. Clone Item shoud do something similar but with the possibility to move the feature before to passte it. Anyhow, I will explore this possibility when I have a laptop with me Peppe Da: Michaël Michaud A: jump-pilot-devel@lists.sourceforge.net Inviato: Giovedì 12 Maggio 2011 13:10 Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn Le 04/05/2011 12:17, Giuseppe Aruta a écrit : Or I can invert my problem: >How can I call CopyItemPlugIn and PasteItem PlugIn inside MoveSelectedItemTool >to have a Clone effect. > Do you know the PasteItemsAtPlugIn ?It seems to do what you want : select > features, right click in the view at the place where you want to clone your > features, choose paste at (Incolla elementi al punto)You can even create a > shortcut with Larry's EZButton to avoid to right-click-choose-menu item > operation.Michaël Peppe > >--- Mer 4/5/11, Giuseppe Aruta ha scritto: > > >>Da: Giuseppe Aruta >>Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn >>A: "OpenJump develop and use" >>Data: Mercoledì 4 maggio 2011, 08:46 >> >> >>Hi Michael, >>I was working around CAD like tools. >>A MacroPlugin like >>CopyPlugIn >>PastePlugIn >>MoveSelectedItem(PlugIn) >>will define a clone item tool. >> >>Peppe >> >>--- Mar 3/5/11, Michaël Michaud ha scritto: >> >> >>>Da: Michaël Michaud >>>Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn >>>A: "OpenJump develop and use" >>>Data: Martedì 3 maggio 2011, 21:23 >>> >>> >>>Hi Peppe,A CursorTool is basically a MouseListener.If you convert it to a >>>plugin, how will define the translation parameters ?I think it is possible >>>to re-use a part CursorTool's code for a PlugIn, but I can't see a generic >>>way to convert from one to another.Can you give more details about your >>>use-case ?MichaëlLe 03/05/2011 11:04, Giuseppe Aruta a écrit : >>> >>>>Hi all, >>>>is there a general way to convert a Tool into a PlugIn? I want to use >>>>MoveSelectedItemsTool into a MacroPlugIn. >>>> >>>>regards >>>> >>>>Peppe >>>> >>>> -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd >>>> ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>-Segue allegato- >>> >>> >>>--WhatsUp >>> Gold - Download Free Network Management SoftwareThe most intuitive, >>>comprehensive, and cost-effective network management toolset available >>>today. Delivers lowest initial acquisition cost and overall TCO of any >>>competing solution.http://p.sf.net/sfu/whatsupgold-sd >>>-Segue allegato- >>> >>> >>>___Jump-pilot-devel mailing >>>listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>> >>-Segue allegato- >> >> >>--WhatsUp >> Gold - Download Free Network Management SoftwareThe most intuitive, >>comprehensive, and cost-effective network management toolset available >>today. Delivers lowest initial acquisition cost and overall TCO of any >>competing solution.http://p.sf.net/sfu/whatsupgold-sd >>-Segue allegato- >> >> >>___Jump-pilot-devel mailing >>listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd > ___ Jump-pilot-devel mailing list Jum
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Hi Peppe, Here is a 7 lines beanshell script to do copy/paste/move in one step : import com.vividsolutions.jump.workbench.ui.plugin.clipboard.*; import com.vividsolutions.jump.workbench.ui.cursortool.editing.*; context = wc.createPlugInContext(); new CopySelectedItemsPlugIn().execute(context); wc.layerManager.undoableEditReceiver.startReceiving(); new PasteItemsPlugIn().execute(context); wc.layerViewPanel.setCurrentCursorTool(new MoveSelectedItemsTool(context.checkFactory)); Hope it helps (I learnt a lot to achieve it) Michaël Le 12/05/2011 12:33, Giuseppe Aruta a écrit : Hi Landon, thanks for your help. I am travelling for job : I will write in details after 26th of May. Regards Peppe *Da:* Sunburned Surveyor *A:* OpenJump develop and use *Inviato:* Sabato 7 Maggio 2011 4:36 *Oggetto:* Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn Peppe,Can you provide me a list of user actions for the plug-in you are trying to create?Then maybe I can offer some suggestions for the implementation.Landon On Wed, May 4, 2011 at 3:17 AM, Giuseppe Aruta mailto:giuseppe_ar...@yahoo.it>> wrote: Or I can invert my problem: How can I call CopyItemPlugIn and PasteItem PlugIn inside MoveSelectedItemTool to have a Clone effect. Peppe --- *Mer 4/5/11, Giuseppe Aruta /mailto:giuseppe_ar...@yahoo.it>>/* ha scritto: Da: Giuseppe Aruta mailto:giuseppe_ar...@yahoo.it>> Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugInA: "OpenJump develop and use" mailto:jump-pilot-devel@lists.sourceforge.net>> Data: Mercoledì 4 maggio 2011, 08:46 Hi Michael, I was working around CAD like tools. A MacroPlugin like CopyPlugIn PastePlugIn MoveSelectedItem(PlugIn) will define a clone item tool. Peppe --- *Mar 3/5/11, Michaël Michaud /mailto:michael.mich...@free.fr>>/* ha scritto: Da: Michaël Michaud mailto:michael.mich...@free.fr>> Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn A: "OpenJump develop and use" mailto:jump-pilot-devel@lists.sourceforge.net>> Data: Martedì 3 maggio 2011, 21:23 Hi Peppe,A CursorTool is basically a MouseListener.If you convert it to a plugin, how will define the translation parameters ?I think it is possible to re-use a part CursorTool's code for a PlugIn, but I can't see a generic way to convert from one to another.Can you give more details about your use-case ?MichaëlLe 03/05/2011 11:04, Giuseppe Aruta a écrit : Hi all, is there a general way to convert a Tool into a PlugIn? I want to use MoveSelectedItemsTool into a MacroPlugIn. regards Peppe -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -Segue allegato- --WhatsUp Gold - Download Free Network Management SoftwareThe most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution.http://p.sf.net/sfu/whatsupgold-sd -Segue allegato- ___Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -Segue allegato- --WhatsUp Gold - Download Free Network Management SoftwareThe most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution.http://p.sf.net/sfu/whatsupgold-sd -Segue allegato- ___Jump-pilot-devel mailing listjump-pilot-de...@lists.sourceforge.net <http://mc/compose?to=Jump-pilot-devel@li
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Hello Larry, that is a really useful function. Is there a possibility to implement it in OJ? Kindly regards Arnd > Hi Peppe, > > I think I know what kind of functionality you are talking about. > SkyJUMP > has modified the Move Along Angle tool to include a "duplicate before > move" > option. It allows you to enter the number of duplicates too. I've > attached > a screen shot. > > regards, > > Larry > > On Thu, May 12, 2011 at 11:41 AM, Giuseppe Aruta > wrote: > > > I know pastItemAtPoint PlugIn and I use it frequently. Clone Item shoud > do > > something similar but with the possibility to move the feature before to > > passte it. Anyhow, I will explore this possibility when I have a laptop > with > > me > > > > Peppe > > > > *Da:* Michaël Michaud > > *A:* jump-pilot-devel@lists.sourceforge.net > > *Inviato:* Giovedì 12 Maggio 2011 13:10 > > > > *Oggetto:* Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > > Le 04/05/2011 12:17, Giuseppe Aruta a écrit : > > > > Or I can invert my problem: > > How can I call CopyItemPlugIn and PasteItem PlugIn inside > > MoveSelectedItemTool to have a Clone effect. > > > > Do you know the PasteItemsAtPlugIn ?It seems to do what you want : > select > > features, right click in the view at the place where you want to clone > your > > features, choose paste at (Incolla elementi al punto)You can even create > a > > shortcut with Larry's EZButton to avoid to right-click-choose-menu item > > operation.Michaël > > > > Peppe > > > > --- *Mer 4/5/11, Giuseppe Aruta > > > * ha scritto: > > > > > > Da: Giuseppe Aruta > > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > > A: "OpenJump develop and use" > > > Data: Mercoledì 4 maggio 2011, 08:46 > > > > Hi Michael, > > I was working around CAD like tools. > > A MacroPlugin like > > CopyPlugIn > > PastePlugIn > > MoveSelectedItem(PlugIn) > > will define a clone item tool. > > > > Peppe > > > > --- *Mar 3/5/11, Michaël Michaud > > > * ha scritto: > > > > > > Da: Michaël Michaud > > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > > A: "OpenJump develop and use" > > > Data: Martedì 3 maggio 2011, 21:23 > > > > Hi Peppe,A CursorTool is basically a MouseListener.If you convert it to > a > > plugin, how will define the translation parameters ?I think it is > possible > > to re-use a part CursorTool's code for a PlugIn, but I can't see a > generic > > way to convert from one to another.Can you give more details about your > > use-case ?MichaëlLe 03/05/2011 11:04, Giuseppe Aruta a écrit : > > > > > > Hi all, > > is there a general way to convert a Tool into a PlugIn? I want to use > > MoveSelectedItemsTool into a MacroPlugIn. > > > > regards > > > > Peppe > > > > > > > -- > > WhatsUp Gold - Download Free Network Management Software > > The most intuitive, comprehensive, and cost-effective network > > management toolset available today. Delivers lowest initial > > acquisition cost and overall TCO of any competing > solution.http://p.sf.net/sfu/whatsupgold-sd > > > > > > ___ > > Jump-pilot-devel mailing > listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -Segue allegato- > > > > > --WhatsUp > > Gold - Download Free Network Management SoftwareThe most intuitive, > > comprehensive, and cost-effective network management toolset available > > today. Delivers lowest initial acquisition cost and overall TCO of any > > competing solution.http://p.sf.net/sfu/whatsupgold-sd > > > > -Segue allegato- > > > > ___Jump-pilot-devel mailing > > listjump-pilot-de...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -Segue allegato- > > > > > --WhatsUp > > Gold - Download Free Network Management SoftwareThe most intuitive, > > comprehensive, and cost-effective network management tool
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
The code can just be copied over. The only hard part is the new translations. Larry On Fri, May 13, 2011 at 1:09 PM, Arnd Kielhorn wrote: > Hello Larry, > > that is a really useful function. Is there a possibility to implement it in > OJ? > > Kindly regards > Arnd > > > Hi Peppe, > > > > I think I know what kind of functionality you are talking about. > > SkyJUMP > > has modified the Move Along Angle tool to include a "duplicate before > > move" > > option. It allows you to enter the number of duplicates too. I've > > attached > > a screen shot. > > > > regards, > > > > Larry > > > > On Thu, May 12, 2011 at 11:41 AM, Giuseppe Aruta > > wrote: > > > > > I know pastItemAtPoint PlugIn and I use it frequently. Clone Item shoud > > do > > > something similar but with the possibility to move the feature before > to > > > passte it. Anyhow, I will explore this possibility when I have a laptop > > with > > > me > > > > > > Peppe > > > > > > *Da:* Michaël Michaud > > > *A:* jump-pilot-devel@lists.sourceforge.net > > > *Inviato:* Giovedì 12 Maggio 2011 13:10 > > > > > > *Oggetto:* Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > > > Le 04/05/2011 12:17, Giuseppe Aruta a écrit : > > > > > > Or I can invert my problem: > > > How can I call CopyItemPlugIn and PasteItem PlugIn inside > > > MoveSelectedItemTool to have a Clone effect. > > > > > > Do you know the PasteItemsAtPlugIn ?It seems to do what you want : > > select > > > features, right click in the view at the place where you want to clone > > your > > > features, choose paste at (Incolla elementi al punto)You can even > create > > a > > > shortcut with Larry's EZButton to avoid to right-click-choose-menu item > > > operation.Michaël > > > > > > Peppe > > > > > > --- *Mer 4/5/11, Giuseppe Aruta > > > > > * ha scritto: > > > > > > > > > Da: Giuseppe Aruta > > > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > > > A: "OpenJump develop and use" > > < > jump-pilot-devel@lists.sourceforge.net> > > > Data: Mercoledì 4 maggio 2011, 08:46 > > > > > > Hi Michael, > > > I was working around CAD like tools. > > > A MacroPlugin like > > > CopyPlugIn > > > PastePlugIn > > > MoveSelectedItem(PlugIn) > > > will define a clone item tool. > > > > > > Peppe > > > > > > --- *Mar 3/5/11, Michaël Michaud > > > > > * ha scritto: > > > > > > > > > Da: Michaël Michaud > > > > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn > > > A: "OpenJump develop and use" > > < > jump-pilot-devel@lists.sourceforge.net> > > > Data: Martedì 3 maggio 2011, 21:23 > > > > > > Hi Peppe,A CursorTool is basically a MouseListener.If you convert it to > > a > > > plugin, how will define the translation parameters ?I think it is > > possible > > > to re-use a part CursorTool's code for a PlugIn, but I can't see a > > generic > > > way to convert from one to another.Can you give more details about your > > > use-case ?MichaëlLe 03/05/2011 11:04, Giuseppe Aruta a écrit : > > > > > > > > > Hi all, > > > is there a general way to convert a Tool into a PlugIn? I want to use > > > MoveSelectedItemsTool into a MacroPlugIn. > > > > > > regards > > > > > > Peppe > > > > > > > > > > > > -- > > > WhatsUp Gold - Download Free Network Management Software > > > The most intuitive, comprehensive, and cost-effective network > > > management toolset available today. Delivers lowest initial > > > acquisition cost and overall TCO of any competing > > solution.http://p.sf.net/sfu/whatsupgold-sd > > > > > > > > > ___ > > > Jump-pilot-devel mailing > > listJump-pilot-devel@lists.sourceforge.nethttps:// > lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > > > -Segue allegato- > > > > > > > > >
Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn
Hi Larry, thanks to know that there is a functionality like thisn in SkyJUMP. I will check it on sourceforge code. Anyhow I think it-s not a problem to translate it for a future OJ realize. Peppe Da: Larry Becker A: OpenJump develop and use Inviato: Venerdì 13 Maggio 2011 22:26 Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn The code can just be copied over. The only hard part is the new translations. Larry On Fri, May 13, 2011 at 1:09 PM, Arnd Kielhorn wrote: Hello Larry, > >that is a really useful function. Is there a possibility to implement it in OJ? > >Kindly regards >Arnd > > >> Hi Peppe, >> >> I think I know what kind of functionality you are talking about. >> SkyJUMP >> has modified the Move Along Angle tool to include a "duplicate before >> move" >> option. It allows you to enter the number of duplicates too. I've >> attached >> a screen shot. >> >> regards, >> >> Larry >> >> On Thu, May 12, 2011 at 11:41 AM, Giuseppe Aruta >> wrote: >> >> > I know pastItemAtPoint PlugIn and I use it frequently. Clone Item shoud >> do >> > something similar but with the possibility to move the feature before to >> > passte it. Anyhow, I will explore this possibility when I have a laptop >> with >> > me >> > >> > Peppe >> > >> > *Da:* Michaël Michaud >> > *A:* jump-pilot-devel@lists.sourceforge.net >> > *Inviato:* Giovedì 12 Maggio 2011 13:10 >> > >> > *Oggetto:* Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn >> > Le 04/05/2011 12:17, Giuseppe Aruta a écrit : >> > >> > Or I can invert my problem: >> > How can I call CopyItemPlugIn and PasteItem PlugIn inside >> > MoveSelectedItemTool to have a Clone effect. >> > >> > Do you know the PasteItemsAtPlugIn ?It seems to do what you want : >> select >> > features, right click in the view at the place where you want to clone >> your >> > features, choose paste at (Incolla elementi al punto)You can even create >> a >> > shortcut with Larry's EZButton to avoid to right-click-choose-menu item >> > operation.Michaël >> > >> > Peppe >> > >> > --- *Mer 4/5/11, Giuseppe Aruta >> >> > * ha scritto: >> > >> > >> > Da: Giuseppe Aruta > >> > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn >> > A: "OpenJump develop and use" >> > >> > Data: Mercoledì 4 maggio 2011, 08:46 >> > >> > Hi Michael, >> > I was working around CAD like tools. >> > A MacroPlugin like >> > CopyPlugIn >> > PastePlugIn >> > MoveSelectedItem(PlugIn) >> > will define a clone item tool. >> > >> > Peppe >> > >> > --- *Mar 3/5/11, Michaël Michaud >> >> > * ha scritto: >> > >> > >> > Da: Michaël Michaud > >> > Oggetto: Re: [JPP-Devel] converting MoveSelectedItemsTool to PlugIn >> > A: "OpenJump develop and use" >> > >> > Data: Martedì 3 maggio 2011, 21:23 >> > >> > Hi Peppe,A CursorTool is basically a MouseListener.If you convert it to >> a >> > plugin, how will define the translation parameters ?I think it is >> possible >> > to re-use a part CursorTool's code for a PlugIn, but I can't see a >> generic >> > way to convert from one to another.Can you give more details about your >> > use-case ?MichaëlLe 03/05/2011 11:04, Giuseppe Aruta a écrit : >> > >> > >> > Hi all, >> > is there a general way to convert a Tool into a PlugIn? I want to use >> > MoveSelectedItemsTool into a MacroPlugIn. >> > >> > regards >> > >> > Peppe >> > >> > >> > >> -- >> > WhatsUp Gold - Download Free Network Management Software >> > The most intuitive, comprehensive, and cost-effective network >> > management toolset available today. Delivers lowest initial >> > acquisition cost and overall TCO of any competing >> solution.http://p.sf.net/sfu/whatsupgold-sd >> > >> > >> > ___ >> > Jump-pilot-devel mailing > >> listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > >> >