Exemplo n.º 1
0
  public void init() {
    if (INSTANCE != null) {
      throw new IllegalStateException("double initialization");
    }

    INSTANCE = this;
    myClassLoaderManager.addReloadHandler(myReloadHandler);
    SModelRepository.getInstance().addModelRepositoryListener(mySModelRepositoryListener);
  }
Exemplo n.º 2
0
 @Override
 public void initComponent() {
   myClassLoaderManager.addReloadHandler(myReloadListener);
   FileStatusManager.getInstance(myProject).addFileStatusListener(myFileStatusListener);
   GlobalSModelEventsManager.getInstance().addGlobalModelListener(myListener);
 }