5 Replies Latest reply on Sep 23, 2011 2:18 AM by Ashish T

    Custom Work Item Editor for eclipse

    Amin MC Newbie

      Hi

       

      I would like to create a custom editor similar to SampleCustomEditor/EmailCustomEditor for my domain specific node.  Can someone point me to what are the maven dependencies?  I couldn't see any maven dependencies where EmailCustomEditor is located.  I presume there is some special set up?

       

      Any help would be appreciated.

       

       

      Cheers

        • 1. Re: Custom Work Item Editor for eclipse
          Kris Verlaenen Master

          The easiest way to develop a custom editor is probably to just develop it next to the other editors you mentioned.  So download the droolsjbpm-tools source code and add your editor there.  That project already defines the necessary dependencies, like several eclipse UI plugins and some jbpm+drools jars.  You can then just use the build to create a new version of the plugin that includes your editors.

           

          Kris

          • 2. Re: Custom Work Item Editor for eclipse
            Amin MC Newbie

            Excellent.  I'll do that.  Thanks Kris.

            • 3. Re: Custom Work Item Editor for eclipse
              Ashish T Newbie

              Hi Amin,

               

              Did you try anything on custom editor? Did you find easy to use it?

               

              I also have a requirement where I need to create a custome editor for a work item. 

               

              Let me know if you got any inputs for me.

               

              Ashish

              • 4. Re: Custom Work Item Editor for eclipse
                Amin Mohammed-Coleman Newbie

                Hi

                 

                I didn;t take that approach due to the fact that we would have to have our own copy of the plugin code.  I asked whether there was an extension point that could be exposed which would enable me to keep my own code in my own jar but I haven't heard back

                 

                Cheers

                • 5. Re: Custom Work Item Editor for eclipse
                  Ashish T Newbie

                  Hi Kris,

                   

                  I am interested in creating a custom editor. I am considering creating a seperate plugin as a last option as whenever we have to create a new work item and its custom editor we need to update the plugin.

                   

                  I am able to use custom email editor and human task editor. I have a similar requirement where I need to use custom editor do update BPMN file, read a file  to display its values and few simlar things.

                   

                  Is it possible to call our custom editor class defined and available in a seperate jar file?

                  It seems that EditBeanDialog and WorkEditor can not be accessed from outside.

                   

                  I believe that custom editor provides a  very good possibility of improving user experience.

                   

                  Let me know your views and suggestions.

                   

                  Regards,

                  Ashish