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 /<giuseppe_ar...@yahoo.it>/* ha scritto:


    Da: Giuseppe Aruta <giuseppe_ar...@yahoo.it>
    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 /<michael.mich...@free.fr>/* ha
    scritto:


        Da: Michaël Michaud <michael.mich...@free.fr>
        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ë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
    </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

------------------------------------------------------------------------------
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

Reply via email to