How to add icon to Action inside plugin

Questions related to usage of AggreGate SDK, Driver Development Kit, Plugin SDK, Agent SDK and APIs for Java, .NET, C/C++, Android, Tibbo BASIC etc.

How to add icon to Action inside plugin

Postby sbannikov/croc_ru » Fri Aug 19, 2016 6:43 pm

I've a simple plugin in which I try to add custom action to one context. It's working fine, but I wonder how can I add custom icon to this action. I've found method setIconId but I have no idea how to use it. Please help me with this issue

Code: Select all
 @Override
    public void install(ServerContext context) throws ContextException, PluginException {
               if (context.getType().equalsIgnoreCase("model") && context.getName().equalsIgnoreCase("model1"))
        {
            ServerActionDefinition  ad = new ServerActionDefinition("Action", "Run my action", MyAction.class);
            context.addActionDefinition(ad);
        }
    }
sbannikov/croc_ru
 
Posts: 2
Joined: Fri Aug 19, 2016 6:38 pm

Re: How to add icon to Action inside plugin

Postby anton_logoyskiy/tibbo_com » Mon Aug 22, 2016 1:10 pm

Hi,

You can do it only using customization bundle which is available for our OEM partners.

BR\Anton
anton_logoyskiy/tibbo_com
 
Posts: 96
Joined: Wed Jul 22, 2015 10:05 am


Return to Development and Integration

Who is online

Users browsing this forum: No registered users and 2 guests