Excellent idea to make CLIcy blocks easier to use
Initially the workspaces were intended to be downloadable as plugins, so anyone could submit its own workspace as your. But as this feature was not really used we disabled it :-/
Still what you can do is to install it by yourself through your plugin :
Just copy your workspace file (can be any name but should have a .xml extension) into Icy WorkspaceLoader.WORKSPACE_PATH folder, you can have a look on other workspace file to see how they are formatted (don’t forget root node).
When this is done you can make it active using this method :
WorkspaceLocalPreferences.setWorkspaceEnable(“CLIJx filters”, true);
Then you need to restart Icy to rebuild the toolbar, you can just display a message to users or make Icy to restart using Icy.exit(true) but i discourage you to do so