use of com.facebook.buck.intellij.ideabuck.ui.BuckEventsConsumer in project buck by facebook.
the class BuckModule method projectOpened.
@Override
public void projectOpened() {
projectClosed = new AtomicBoolean(false);
BuckFileUtil.setBuckFileType();
// connect to the Buck client
BuckClientManager.getOrCreateClient(mProject, mEventHandler).connect();
if (!UISettings.getInstance().SHOW_MAIN_TOOLBAR) {
BuckPluginNotifications.notifyActionToolbar(mProject);
}
mBuckEventsConsumer = new BuckEventsConsumer(mProject);
PsiDocumentManager manager = PsiDocumentManager.getInstance(mProject);
manager.addListener(new BuckAutoDepsContributor(mProject));
}
Aggregations