Beispiel #1
0
  @Override
  public void attach() {
    super.attach();

    //  start to listen
    PsiChangesWatcher w = myIdeaModule.getProject().getComponent(PsiChangesWatcher.class);
    w.addListener(this);
  }
Beispiel #2
0
 @Override
 public void dispose() {
   super.dispose();
   PsiChangesWatcher w = myIdeaModule.getProject().getComponent(PsiChangesWatcher.class);
   w.removeListener(this);
 }