27 |
import org.jsampler.CC; |
import org.jsampler.CC; |
28 |
import org.jsampler.HF; |
import org.jsampler.HF; |
29 |
|
|
|
import net.sf.juife.AbstractTask; |
|
|
|
|
30 |
import static org.jsampler.JSI18n.i18n; |
import static org.jsampler.JSI18n.i18n; |
31 |
|
|
32 |
|
|
34 |
* |
* |
35 |
* @author Grigor Iliev |
* @author Grigor Iliev |
36 |
*/ |
*/ |
37 |
public class ResetSampler extends AbstractTask { |
public class ResetSampler extends EnhancedTask { |
38 |
public |
public |
39 |
ResetSampler() { |
ResetSampler() { |
40 |
setTitle("ResetSampler_task"); |
setTitle("ResetSampler_task"); |
42 |
} |
} |
43 |
|
|
44 |
public void |
public void |
|
stop() { CC.cleanExit(); } |
|
|
|
|
|
public void |
|
45 |
run() { |
run() { |
46 |
try { CC.getClient().resetSampler(); } |
try { CC.getClient().resetSampler(); } |
47 |
catch(Exception x) { |
catch(Exception x) { |