I have written a tool which is in a jar file renamed to .jaext. This is in the config/ext folder.
This code adds the extension to the Tools menu. How can I add it to the "Tools / External Tools" menu instead?
public class SettingsConverterPlugin implements JAlbumPlugin
{
private PluginContext context;
public void init(PluginContext pPluginContext)
{ this.context = pPluginContext;
JAlbumContext vJAlbumContext = context.getJAlbumContext();
JMenuItem vMenuItem = new JMenuItem("<html>Settings Converter</html>");
vMenuItem.addActionListener(new ActionListener()
{ public void actionPerformed(ActionEvent e)
{ new PluginUI(vJAlbumContext.getEngine());
}
});
context.addToolsMenuItem(vMenuItem);
}
Edited by: ctwist on 27-Feb-2018 14:58
Moved from external tools. I just noticed that I am not supposed to ask questions there.