This commit is contained in:
Sergey Solovyev
2012-12-01 17:46:16 +04:00
parent 5d1ddf976d
commit c2662e7537
243 changed files with 303 additions and 95 deletions

View File

@@ -153,7 +153,10 @@ public enum CalculatorEventType {
show_settings,
show_settings_detached,
show_like_dialog;
show_like_dialog,
show_create_var_dialog,
show_create_function_dialog;
public boolean isOfType(@NotNull CalculatorEventType... types) {
for (CalculatorEventType type : types) {

View File

@@ -0,0 +1,16 @@
package org.solovyev.common;
import org.jetbrains.annotations.NotNull;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
/**
* User: serso
* Date: 12/1/12
* Time: 4:10 PM
*/
public interface DelayedExecutor extends Executor {
void execute(@NotNull Runnable command, long delay, @NotNull TimeUnit delayUnit);
}