I'll try and explain with snippets and see if that clarifies things
for you.
--------------- in ProjectA ---------------------
@Events(startView = ContentView.class, historyOnStart = true)
@ChildModules({ @ChildModule(moduleClass = ModuleB.class, autoDisplay
= false) })
public interface EventBusA extends EventBus
-------------- in ProjectB (included in build path of ProjectA)
--------------------
@Events(module = ModuleB.class, startView = OverviewView.class)
public interface EventBusB extends EventBusC {
...
@Event(handlers = EventHandler1.class)
public void setEditor();
}
public interface EventBusC extends EventBus
@EventHandler
public class EventHandler1 extends BaseEventHandler<EventBusB>
----------------------------------------------------------------------------------------------------------
EventHandler1 does not have a function onSetEditor, yet when I build
ProjectB, I get no errors. When I compile ProjectB I get no errors.
When I build ProjectA I get no errors. But when I compile ProjectA I
get:
[ERROR] Line X: The method onSetEditor() is undefined for the type
EventHandler1
Hopefully that clarifies the situation - let me know if I can help
clarify anything more.