import org.simantics.db.AsyncReadGraph;
import org.simantics.db.procedure.AsyncMultiListener;
-public class AsyncMultiListenerAdapter<T> implements AsyncMultiListener<T> {
+public abstract class AsyncMultiListenerAdapter<T> implements AsyncMultiListener<T> {
@Override
public void exception(AsyncReadGraph graph, Throwable t) {
}
@Override
- public boolean isDisposed() {
- return false;
- }
+ public abstract boolean isDisposed();
}
import org.simantics.db.AsyncReadGraph;
import org.simantics.db.procedure.AsyncSetListener;
-public class AsyncSetListenerAdapter<T> implements AsyncSetListener<T> {
+public abstract class AsyncSetListenerAdapter<T> implements AsyncSetListener<T> {
@Override
public void exception(AsyncReadGraph graph, Throwable t) {
}
@Override
- public boolean isDisposed() {
- return false;
- }
+ public abstract boolean isDisposed();
}
import org.simantics.db.procedure.MultiListener;
-public class MultiListenerAdapter<Result> implements MultiListener<Result> {
+public abstract class MultiListenerAdapter<Result> implements MultiListener<Result> {
@Override
public void execute(Result result) {
}
@Override
- public boolean isDisposed() {
- return false;
- }
+ public abstract boolean isDisposed();
}
import org.simantics.db.procedure.SetListener;
-public class SetListenerAdapter<T> implements SetListener<T> {
+public abstract class SetListenerAdapter<T> implements SetListener<T> {
@Override
public void exception(Throwable t) {
}
@Override
- public boolean isDisposed() {
- return false;
- }
+ public abstract boolean isDisposed();
}
import org.simantics.db.ReadGraph;
import org.simantics.db.procedure.SyncMultiListener;
-public class SyncMultiListenerAdapter<T> implements SyncMultiListener<T> {
+public abstract class SyncMultiListenerAdapter<T> implements SyncMultiListener<T> {
@Override
public void exception(ReadGraph graph, Throwable t) {
}
@Override
- public boolean isDisposed() {
- return false;
- }
+ public abstract boolean isDisposed();
}
import org.simantics.db.ReadGraph;
import org.simantics.db.procedure.SyncSetListener;
-public class SyncSetListenerAdapter<T> implements SyncSetListener<T> {
+public abstract class SyncSetListenerAdapter<T> implements SyncSetListener<T> {
@Override
public void exception(ReadGraph graph, Throwable t) {
}
@Override
- public boolean isDisposed() {
- return false;
- }
+ public abstract boolean isDisposed();
}