Welcome to AggreGate Community

Contex plugin realization

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.

Contex plugin realization

Postby v_a_ermolenko/rambler_ru » Wed Apr 10, 2019 1:04 pm

Hello. I have some questions about realization of contex plugin:

1) extends AbstractContextPlugin:
...uc.registerContainerBuilder(new DefaultResourceContainerBuilder(ContextUtils.scriptsContextPath(ContextUtils.USERNAME_PATTERN))...
specifically:
ContextUtils.scriptsContextPath, this method works whith "scripts" context, ContextUtils has some methods for "jobs", "alerts" and another contextes.
How can I create methods like these for processing of my context?

2) extends EditableChildrenContext:
@Override
public void setupMyself() {
addCreateAction(true, "Create my object");
allowGrouping("My Group");
}

I can see my plugin in tree of context, but I can't to create child-objects. It hasn't action "create" when I use right click on my context.
For note: I use the same table format for constructor in EditableChildrenContext and method setupMyself(){ addChildInfoVariable() } of EditableChildContext.
What do I have to do for adding any methods in menu when I use right click on my context?
v_a_ermolenko/rambler_ru
 
Posts: 2
Joined: Wed Apr 10, 2019 12:04 pm

Re: Contex plugin realization

Postby v_a_ermolenko/rambler_ru » Fri Apr 12, 2019 11:26 am

Hello, I resolved this problem. I think you should describe more detail about function initialize() of context plugin.
v_a_ermolenko/rambler_ru
 
Posts: 2
Joined: Wed Apr 10, 2019 12:04 pm


Return to Development and Integration

Who is online

Users browsing this forum: No registered users and 1 guest