Example #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);
           }
         });
 }
Example #2
0
 @Override
 public void repositoriesRefreshed() {
   if (viewer != null)
     SWTConcurrencyUtil.execForControl(
         viewer.getControl(),
         true,
         new Runnable() {
           @Override
           public void run() {
             doRefresh();
           }
         });
 }
Example #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);
           }
         });
 }