Welcome to AggreGate Community
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.
by 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
-
by Anton Logoyskiy AggreGate » 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 AggreGate
-
- Posts: 93
- Joined: Wed Jul 22, 2015 10:05 am
-
Return to Development and Integration
Users browsing this forum: No registered users and 1 guest