The java macros can have several categories. The deprecated setDefaultCategory is replaced by setDefaultCategories. For instance:

/**
* Create and initialize the descriptor of the macro.
*/

public ExampleMacro()
{

 super("Example", DESCRIPTION, ExampleMacroParameters.class);
  setDefaultCategories(java.util.Collections.singleton("Tutorial"));
}
Tags:
   

Get Connected