cancel
Showing results for 
Search instead for 
Did you mean: 

Extending Activiti Designer Using Plugins

apache_fan
Champ in-the-making
Champ in-the-making
Hello,
I am trying to extend the Activiti designer by utilizing the PaletteExtensionProvider extension point. I am creating my own plugin for this purpose. For my requirement I cannot extend the designer by following the steps given here (http://activiti.org/userguide/index.html#eclipseDesignerInstallation).

I have to go the plugin path.

I am fairly new to Eclipse PDE and am still trying to wrap my head around the whole process. Here are the steps that I am following -

Question 1 -


public class MyCustomPaletteProvider implements IPaletteProvider {

   @Override
   public List<CustomServiceTaskDescriptor> provide() {
      CustomServiceTaskDescriptor customServiceTaskDescriptor= new CustomServiceTaskDescriptor(AcmeMoneyTask.class, "Acme Money Task",[b]jarPath[/b]);
      customServiceTaskDescriptors.add(customServiceTaskDescriptor);
      
      return customServiceTaskDescriptors;
   }


Probably a dumb question but what I am trying to understand is how I should provide the jar path in the final argument since I am just trying to run the plugin from my Eclipse using Run As - > Eclipse Application?

Question 2 -

I want to hide some palettes from getting displayed. Is there a way I can do this from my plugin extension Point?

Any thoughts as to how I can achieve the above?
1 REPLY 1

m2spring
Champ in-the-making
Champ in-the-making
You can find an example here:
https://github.com/jenkinsci/jenkow-plugin/blob/master/eclipse/com.cisco.surf.jenkow.ide.config/src/...
The problem with the current approach is that the Designer still wants to see a literal .jar file.
-Max