for (final TypeReference base : bases) { final IClass baseClass = cha.lookupClass(base); this.mon.subTask("Heuristic scan in " + base); final Collection<IClass> candids; try {
for (final TypeReference base : bases) { final IClass baseClass = cha.lookupClass(base); this.mon.subTask("Heuristic scan in " + base); final Collection<IClass> candids; try {
monitor.subTask(mSel.getName().toString()); final IntentStarters.StartInfo info = starters.getInfo(mSel); info.setContextFree();
this.monitor.subTask(ep.getMethod().getReference().getSignature() );
this.monitor.subTask(ep.getMethod().getReference().getSignature() );
progressMonitor.subTask("From " + icl.getName().toString());
progressMonitor.subTask("From " + icl.getName().toString());
monitor.subTask(mSel.getName().toString()); final IntentStarters.StartInfo info = starters.getInfo(mSel); info.setContextFree();
/** BEGIN Custom change: subtasks and canceling */ @Override public void subTask(String subTask) { delegate.subTask(subTask); }
/** BEGIN Custom change: subtasks and canceling */ @Override public void subTask(String subTask) { delegate.subTask(subTask); }
/** BEGIN Custom change: more on subtasks */ public static void subTask(IProgressMonitor progressMonitor, String subTask) throws CancelException { if (progressMonitor != null) { progressMonitor.subTask(subTask); if (progressMonitor.isCanceled()) { throw CancelException.make("cancelled in " + subTask); } } }
/** BEGIN Custom change: more on subtasks */ public static void subTask(IProgressMonitor progressMonitor, String subTask) throws CancelException { if (progressMonitor != null) { progressMonitor.subTask(subTask); if (progressMonitor.isCanceled()) { throw CancelException.make("cancelled in " + subTask); } } }
/** BEGIN Custom change: more on subtasks */ public static void subTask(IProgressMonitor progressMonitor, String subTask) throws CancelException { if (progressMonitor != null) { progressMonitor.subTask(subTask); if (progressMonitor.isCanceled()) { throw CancelException.make("cancelled in " + subTask); } } }