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