Exemplo n.º 1
0
 public void dispose() {
   super.dispose();
   ModelAccess.instance()
       .runWriteAction(
           new Runnable() {
             public void run() {
               EvaluationAuxModule.this.clearAll();
               MPSModuleRepository.getInstance().removeModule(EvaluationAuxModule.this);
               SModelRepository.getInstance().unRegisterModelDescriptors(EvaluationAuxModule.this);
               CleanupManager.getInstance().cleanup();
               // loaded stubs are removed from model repository
             }
           });
 }
Exemplo n.º 2
0
 @Override
 public void dispose() {
   clearAll();
   super.dispose();
 }