Skip to content

Commit

Permalink
refresh cabal packages view when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
JPMoresmau committed Feb 7, 2013
1 parent 595ae6a commit 7190b25
Showing 1 changed file with 9 additions and 1 deletion.
Expand Up @@ -12,6 +12,7 @@
import net.sf.eclipsefp.haskell.debug.core.internal.launch.AbstractHaskellLaunchDelegate;
import net.sf.eclipsefp.haskell.ui.HaskellUIPlugin;
import net.sf.eclipsefp.haskell.ui.internal.util.UITexts;
import net.sf.eclipsefp.haskell.ui.views.CabalPackagesView;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
Expand Down Expand Up @@ -86,7 +87,14 @@ public void run( final IAction arg0 ) {
}

protected Runnable getAfter(final IProject p){
return null;
return new Runnable() {

@Override
public void run() {
/** refresh the cabal packages view **/
CabalPackagesView.refresh();
}
};
}

protected String getJobName(){
Expand Down

0 comments on commit 7190b25

Please sign in to comment.