changes
This commit is contained in:
@@ -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) {
|
||||
|
16
core/src/main/java/org/solovyev/common/DelayedExecutor.java
Normal file
16
core/src/main/java/org/solovyev/common/DelayedExecutor.java
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user