}
@Override
public boolean isEnabled() {
StatusCache cache = Git.getInstance().getStatusCache();
return cache.containsFileOfStatus(context, StatusInfo.STATUS_LOCAL_CHANGE);
}
public static void diff(VCSContext ctx, int type, String contextName) {
MultiDiffPanel panel = new MultiDiffPanel(ctx, type, contextName); // spawns background DiffPrepareTask
DiffTopComponent tc = new DiffTopComponent(panel);