Exemplo n.º 1
0
 @Override
 public void repositoryRefreshed(final RepositoryPlugin repository) {
   if (viewer != null)
     SWTConcurrencyUtil.execForControl(
         viewer.getControl(),
         true,
         new Runnable() {
           @Override
           public void run() {
             viewer.refresh(repository);
           }
         });
 }
Exemplo n.º 2
0
 @Override
 public void repositoriesRefreshed() {
   if (viewer != null)
     SWTConcurrencyUtil.execForControl(
         viewer.getControl(),
         true,
         new Runnable() {
           @Override
           public void run() {
             doRefresh();
           }
         });
 }
Exemplo n.º 3
0
 @Override
 public void bundleRemoved(final RepositoryPlugin repository, Jar jar, File file) {
   if (viewer != null)
     SWTConcurrencyUtil.execForControl(
         viewer.getControl(),
         true,
         new Runnable() {
           @Override
           public void run() {
             viewer.refresh(repository);
           }
         });
 }