repo_name
stringlengths
7
104
file_path
stringlengths
13
198
context
stringlengths
67
7.15k
import_statement
stringlengths
16
4.43k
code
stringlengths
40
6.98k
prompt
stringlengths
227
8.27k
next_line
stringlengths
8
795
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test03.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.Function1; import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
Shelly.<Integer>createDomino(1)
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test03.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.Function1; import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(new Action1<Integer>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test03.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.Function1; import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.map(new Function1<Integer, String>() {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/domino/RetrofitDomino.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.util.Tile; import java.util.ArrayList; import java.util.List; import retrofit2.Response; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.li...
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
perform(Shelly.<Triple<Boolean, Response<R>, Throwable>>createAnonymousDomino()
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/domino/RetrofitDomino.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.util.Tile; import java.util.ArrayList; import java.util.List; import retrofit2.Response; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.li...
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.reduce(new Function1<List<Triple<Boolean, Response<R>, Throwable>>, List<Throwable>>() {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/domino/RetrofitDomino.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.util.Tile; import java.util.ArrayList; import java.util.List; import retrofit2.Response; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.li...
@Override public RetrofitDomino<T, R> uiThread() { return new RetrofitDomino<T, R>(super.uiThread()); } @Override public RetrofitDomino<T, R> background() { return new RetrofitDomino<T, R>(super.background()); } @Override public RetrofitDomino<T, R> backgroundQueue() { ...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.flatMap(new ListIdentityOperator<Throwable>())
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/domino/RetrofitDomino.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.util.Tile; import java.util.ArrayList; import java.util.List; import retrofit2.Response; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.li...
@Override public RetrofitDomino<T, R> background() { return new RetrofitDomino<T, R>(super.background()); } @Override public RetrofitDomino<T, R> backgroundQueue() { return new RetrofitDomino<T, R>(super.backgroundQueue()); } public RetrofitDomino<T, R> onFailure(final Domi...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
public <S> RetrofitDomino<T, R> onFailure(final Class<? extends S> target, final TargetAction0<? super S> targetAction0) {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/domino/RetrofitDomino.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.util.Tile; import java.util.ArrayList; import java.util.List; import retrofit2.Response; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.li...
} @Override public RetrofitDomino<T, R> backgroundQueue() { return new RetrofitDomino<T, R>(super.backgroundQueue()); } public RetrofitDomino<T, R> onFailure(final Domino<? super Throwable, ?> domino) { return new RetrofitDomino<T, R>( perform(Shelly.<Triple<Boolean...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(target, new TargetAction1<S, List<Triple<Boolean, Response<R>, Throwable>>>() {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/domino/RetrofitDomino.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.util.Tile; import java.util.ArrayList; import java.util.List; import retrofit2.Response; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.li...
return new RetrofitDomino<T, R>( reduce(new ListIdentityOperator<Triple<Boolean, Response<R>, Throwable>>()) .perform(target, new TargetAction1<S, List<Triple<Boolean, Response<R>, Throwable>>>() { @Override public void call(S s, List<Tripl...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
public RetrofitDomino<T, R> onFailure(final Action0 action0) {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/domino/RetrofitDomino.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.util.Tile; import java.util.ArrayList; import java.util.List; import retrofit2.Response; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.li...
@Override public void call(S s, List<Triple<Boolean, Response<R>, Throwable>> input) { boolean failure = false; for (Triple<Boolean, Response<R>, Throwable> triple : input) { if (!triple.first) { ...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(new Action1<List<Triple<Boolean, Response<R>, Throwable>>>() {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/runnable/ScheduledRunnable.java
// Path: shelly/src/main/java/xiaofei/library/shelly/util/Player.java // public class Player<T> { // // private final AugmentedListCanary<PlayerInputs> mInputs; // // private final DoubleKeyMap mStash; // // private Scheduler mScheduler; // // public Player(List<T> input) { // mInputs = new ...
import xiaofei.library.concurrentutils.util.Condition; import xiaofei.library.shelly.util.Player; import xiaofei.library.shelly.util.PlayerInputs;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/util/Player.java // public class Player<T> { // // private final AugmentedListCanary<PlayerInputs> mInputs; // // private final DoubleKeyMap mStash; // // private Scheduler mScheduler; // // public Player(List<T> input) { // mInputs = new ...
mPlayer.getInputs().wait(waitingIndex, new Condition<PlayerInputs>() {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/runnable/BlockingRunnable.java
// Path: shelly/src/main/java/xiaofei/library/shelly/function/Function1.java // public interface Function1<T, R> extends Function { // R call(T input); // } // // Path: shelly/src/main/java/xiaofei/library/shelly/util/Player.java // public class Player<T> { // // private final AugmentedListCanary<PlayerInputs...
import java.util.concurrent.CopyOnWriteArrayList; import xiaofei.library.shelly.function.Function1; import xiaofei.library.shelly.util.Player;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/function/Function1.java // public interface Function1<T, R> extends Function { // R call(T input); // } // // Path: shelly/src/main/java/xiaofei/library/shelly/util/Player.java // public class Player<T> { // // private final AugmentedListCanary<PlayerInputs...
private Function1<CopyOnWriteArrayList<T>, CopyOnWriteArrayList<R>> mFunction;
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test07.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.library.shelly.function.Function2; import xiaofei.library.shelly.function.TargetAction1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
Shelly.register(a1);
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test07.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.library.shelly.function.Function2; import xiaofei.library.shelly.function.TargetAction1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(A.class, new TargetAction1<A, String>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test07.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.library.shelly.function.Function2; import xiaofei.library.shelly.function.TargetAction1;
Shelly.register(a1); Shelly.register(a1); Shelly.register(a2); System.out.println(Shelly.isRegistered(a1)); System.out.println(Shelly.isRegistered(a2)); Shelly.<String>createDomino(1) .perform(A.class, new TargetAction1<A, String>() { @...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(new Action1<A>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test07.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.library.shelly.function.Function2; import xiaofei.library.shelly.function.TargetAction1;
.perform(A.class, new TargetAction1<A, String>() { @Override public void call(A a, String input) { a.f(input); } }) .commit(); Shelly.playDomino(1, "F"); Shelly.unregister(...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.map(A.class, new Function2<A, A, String>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test07.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1; import xiaofei.library.shelly.function.Function2; import xiaofei.library.shelly.function.TargetAction1;
.commit(); Shelly.<String>createDomino(4) .backgroundQueue() .perform(new Action1<String>() { @Override public void call(String input) { System.out.println("5: " + Thread.currentThread().getName() + "...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.map(new Function1<String, Integer>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test08.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.stashfunction.StashAction1; import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.stashfunction.StashAction0;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
Shelly.<String>createDomino(1)
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test08.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.stashfunction.StashAction1; import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.stashfunction.StashAction0;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(new StashAction0() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test08.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.stashfunction.StashAction1; import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.stashfunction.StashAction0;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(new StashAction1<String>() {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/scheduler/UiThreadScheduler.java
// Path: shelly/src/main/java/xiaofei/library/shelly/runnable/ScheduledRunnable.java // public class ScheduledRunnable<R> implements Runnable { // // private Player<R> mPlayer; // // private Runnable mRunnable; // // private int mWaiting; // // public ScheduledRunnable(Player<R> player, Runnable run...
import android.os.Handler; import android.os.Looper; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import xiaofei.library.shelly.runnable.ScheduledRunnable; import xiaofei.library.shelly.util.Config;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/runnable/ScheduledRunnable.java // public class ScheduledRunnable<R> implements Runnable { // // private Player<R> mPlayer; // // private Runnable mRunnable; // // private int mWaiting; // // public ScheduledRunnable(Player<R> player, Runnable run...
if (Config.DEBUG) {
Xiaofei-it/Shelly
shelly/src/main/java/xiaofei/library/shelly/scheduler/UiThreadScheduler.java
// Path: shelly/src/main/java/xiaofei/library/shelly/runnable/ScheduledRunnable.java // public class ScheduledRunnable<R> implements Runnable { // // private Player<R> mPlayer; // // private Runnable mRunnable; // // private int mWaiting; // // public ScheduledRunnable(Player<R> player, Runnable run...
import android.os.Handler; import android.os.Looper; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import xiaofei.library.shelly.runnable.ScheduledRunnable; import xiaofei.library.shelly.util.Config;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/runnable/ScheduledRunnable.java // public class ScheduledRunnable<R> implements Runnable { // // private Player<R> mPlayer; // // private Runnable mRunnable; // // private int mWaiting; // // public ScheduledRunnable(Player<R> player, Runnable run...
if (runnable instanceof ScheduledRunnable) {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test02.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
Shelly.<Integer>createDomino(1)
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test02.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(new Action0() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test02.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1;
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.perform(new Action1<Integer>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/domino/Test02.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import org.junit.Test; import xiaofei.library.shelly.Shelly; import xiaofei.library.shelly.function.Action0; import xiaofei.library.shelly.function.Action1; import xiaofei.library.shelly.function.Function1;
public void call() { System.out.println("directly then"); } }) .commit(); Shelly.playDomino(1, 2); Shelly.<Integer>createDomino(2) .perform(new Action0() { @Override ...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.map(new Function1<Integer, String>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/demo/UserService.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.TargetAction1; import xiaofei.library.shelly.function.TargetAction2; import xiaofei.library.shelly.task.RetrofitTask; import xiaofei.library.shelly.tuple.Pair; import xiaofei.library.shelly.tuple.Triple; import android.app.Activity; import android.util.Log; import android.widget.T...
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
Shelly.<Pair<String, String>>createDomino(SIGN_UP)
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/demo/UserService.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.TargetAction1; import xiaofei.library.shelly.function.TargetAction2; import xiaofei.library.shelly.task.RetrofitTask; import xiaofei.library.shelly.tuple.Pair; import xiaofei.library.shelly.tuple.Triple; import android.app.Activity; import android.util.Log; import android.widget.T...
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
Shelly.<Pair<String, String>>createDomino(SIGN_UP)
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/demo/UserService.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.TargetAction1; import xiaofei.library.shelly.function.TargetAction2; import xiaofei.library.shelly.task.RetrofitTask; import xiaofei.library.shelly.tuple.Pair; import xiaofei.library.shelly.tuple.Triple; import android.app.Activity; import android.util.Log; import android.widget.T...
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.beginRetrofitTaskKeepingInput(new RetrofitTask<Pair<String,String>, String>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/demo/UserService.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.TargetAction1; import xiaofei.library.shelly.function.TargetAction2; import xiaofei.library.shelly.task.RetrofitTask; import xiaofei.library.shelly.tuple.Pair; import xiaofei.library.shelly.tuple.Triple; import android.app.Activity; import android.util.Log; import android.widget.T...
/** * * Copyright 2016 Xiaofei * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.onSuccessResult(new Action2<Pair<String, String>, String>() {
Xiaofei-it/Shelly
shelly/src/test/java/xiaofei/library/shelly/demo/UserService.java
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
import xiaofei.library.shelly.function.TargetAction1; import xiaofei.library.shelly.function.TargetAction2; import xiaofei.library.shelly.task.RetrofitTask; import xiaofei.library.shelly.tuple.Pair; import xiaofei.library.shelly.tuple.Triple; import android.app.Activity; import android.util.Log; import android.widget.T...
@Override protected Call<String> getCall(Pair<String, String> input) { return userNetwork.signUp(input.first, input.second); } }) .background() .onSuccessResult(new Action2<Pair<String, St...
// Path: shelly/src/main/java/xiaofei/library/shelly/Shelly.java // public class Shelly { // // private static final TargetCenter TARGET_CENTER = TargetCenter.getInstance(); // // private static final DominoCenter DOMINO_CENTER = DominoCenter.getInstance(); // // public static void register(Object object...
.onFailure(new Action1<Throwable>() {
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/misc/ProjectModel.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
import com.dooapp.xstreamfx.*; import com.rvantwisk.cnctools.data.*; import com.rvantwisk.cnctools.data.tools.BallMill; import com.rvantwisk.cnctools.data.tools.EndMill; import com.sun.javafx.collections.ObservableListWrapper; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.converters.Converter...
xStream.registerConverter(new StringPropertyConverter(xStream.getMapper())); xStream.registerConverter(new BooleanPropertyConverter(xStream.getMapper())); // xStream.registerConverter(new ObjectPropertyConverter(xStream.getMapper())); xStream.registerConverter(new DoublePropertyConverter(...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
xStream.alias("EndMill", EndMill.class);
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/misc/ProjectModel.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
import com.dooapp.xstreamfx.*; import com.rvantwisk.cnctools.data.*; import com.rvantwisk.cnctools.data.tools.BallMill; import com.rvantwisk.cnctools.data.tools.EndMill; import com.sun.javafx.collections.ObservableListWrapper; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.converters.Converter...
xStream.registerConverter(new BooleanPropertyConverter(xStream.getMapper())); // xStream.registerConverter(new ObjectPropertyConverter(xStream.getMapper())); xStream.registerConverter(new DoublePropertyConverter(xStream.getMapper())); xStream.registerConverter(new LongPropertyConverter(xS...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
xStream.alias("BallMill", BallMill.class);
rvt/cnctools
gcodeparser/src/main/java/com/rvantwisk/gcodeparser/MachineStatusHelper.java
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/gcodes/ActivePlane.java // public enum ActivePlane implements ModalGroups { // G17(GCodeGroups.ActivePlane), // G18(GCodeGroups.ActivePlane), // G19(GCodeGroups.ActivePlane); // // final GCodeGroups group; // // ActivePlane(GCodeGroups g...
import com.rvantwisk.gcodeparser.gcodes.ActivePlane; import com.rvantwisk.gcodeparser.gcodes.MotionMode; import com.rvantwisk.gcodeparser.gcodes.Units; import java.util.Set;
public double getOY() { return machineStatus.getMachineOffsets().get(MachineStatus.Axis.Y).doubleValue(); } public double getOZ() { return machineStatus.getMachineOffsets().get(MachineStatus.Axis.Z).doubleValue(); } public MotionMode getMotionMode() { return getModalValue(...
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/gcodes/ActivePlane.java // public enum ActivePlane implements ModalGroups { // G17(GCodeGroups.ActivePlane), // G18(GCodeGroups.ActivePlane), // G19(GCodeGroups.ActivePlane); // // final GCodeGroups group; // // ActivePlane(GCodeGroups g...
public ActivePlane getActivePlane() {
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/operations/interfaces/MillTaskController.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
import com.rvantwisk.cnctools.data.Project; import com.rvantwisk.cnctools.data.interfaces.TaskModel;
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
public abstract void setProject(final Project project);
rvt/cnctools
gcodeparser/src/main/java/com/rvantwisk/gcodeparser/MachineStatus.java
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/gcodes/GCodeGroups.java // public enum GCodeGroups { // // ActivePlane, // AxisOffset, // CollantMode, // CoordinateSystemMode, // CutterLengthCompMode, // CutterRadiusCompMode, // DistanceMode, // FeedRateMode, // Motions...
import com.rvantwisk.gcodeparser.gcodes.GCodeGroups; import com.rvantwisk.gcodeparser.gcodes.ModalGrouping; import java.util.*;
ParsedWord word = block.get(axis.toString()); machineOffsets.put(axis, word.value); } } } private void setAxis(final Map<String, ParsedWord> block) { for (Axis axis : Axis.values()) { if (block.containsKey(axis.toString())) { ...
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/gcodes/GCodeGroups.java // public enum GCodeGroups { // // ActivePlane, // AxisOffset, // CollantMode, // CoordinateSystemMode, // CutterLengthCompMode, // CutterRadiusCompMode, // DistanceMode, // FeedRateMode, // Motions...
GCodeGroups thisGroup = ModalGrouping.whatGroup(word.parsed);
rvt/cnctools
gcodeparser/src/main/java/com/rvantwisk/gcodeparser/MachineStatus.java
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/gcodes/GCodeGroups.java // public enum GCodeGroups { // // ActivePlane, // AxisOffset, // CollantMode, // CoordinateSystemMode, // CutterLengthCompMode, // CutterRadiusCompMode, // DistanceMode, // FeedRateMode, // Motions...
import com.rvantwisk.gcodeparser.gcodes.GCodeGroups; import com.rvantwisk.gcodeparser.gcodes.ModalGrouping; import java.util.*;
ParsedWord word = block.get(axis.toString()); machineOffsets.put(axis, word.value); } } } private void setAxis(final Map<String, ParsedWord> block) { for (Axis axis : Axis.values()) { if (block.containsKey(axis.toString())) { ...
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/gcodes/GCodeGroups.java // public enum GCodeGroups { // // ActivePlane, // AxisOffset, // CollantMode, // CoordinateSystemMode, // CutterLengthCompMode, // CutterRadiusCompMode, // DistanceMode, // FeedRateMode, // Motions...
GCodeGroups thisGroup = ModalGrouping.whatGroup(word.parsed);
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controllers/TaskEditController.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
import com.rvantwisk.cnctools.data.Project; import com.rvantwisk.cnctools.data.TaskRunnable; import com.rvantwisk.cnctools.data.interfaces.TaskModel; import com.rvantwisk.cnctools.misc.AbstractController; import com.rvantwisk.cnctools.operations.interfaces.MillTaskController; import javafx.event.ActionEvent; import jav...
/* * Copyright (c) 2014, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
private MillTaskController tasksController;
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controllers/TaskEditController.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
import com.rvantwisk.cnctools.data.Project; import com.rvantwisk.cnctools.data.TaskRunnable; import com.rvantwisk.cnctools.data.interfaces.TaskModel; import com.rvantwisk.cnctools.misc.AbstractController; import com.rvantwisk.cnctools.operations.interfaces.MillTaskController; import javafx.event.ActionEvent; import jav...
@FXML void onCancel(ActionEvent event) { tasksController.destroy(); setReturned(Result.CANCEL); getDialog().close(); } @FXML void onClose(ActionEvent event) { tasksController.destroy(); setReturned(Result.CLOSE); getDialog().close(); } @FXML ...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
public void setTask(final Project project, final TaskRunnable taskRunnable) {
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controllers/TaskEditController.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
import com.rvantwisk.cnctools.data.Project; import com.rvantwisk.cnctools.data.TaskRunnable; import com.rvantwisk.cnctools.data.interfaces.TaskModel; import com.rvantwisk.cnctools.misc.AbstractController; import com.rvantwisk.cnctools.operations.interfaces.MillTaskController; import javafx.event.ActionEvent; import jav...
@FXML void onClose(ActionEvent event) { tasksController.destroy(); setReturned(Result.CLOSE); getDialog().close(); } @FXML void onSave(ActionEvent event) { tasksController.destroy(); setReturned(Result.SAVE); getDialog().close(); } @FXML ...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/Project.java // public class Project { // // private final StringProperty name = new SimpleStringProperty(); // private final StringProperty description = new SimpleStringProperty(); // private final ObservableList<TaskRunnable> milltasks = FXColl...
TaskModel m = tasksController.createNewModel();
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controllers/AddMillTaskController.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/AbstractTask.java // public abstract class AbstractTask { // // private StringProperty name = new SimpleStringProperty(); // private StringProperty description = new SimpleStringProperty(); // private StringProperty className = new SimpleStringPro...
import com.rvantwisk.cnctools.data.AbstractTask; import com.rvantwisk.cnctools.data.Project; import com.rvantwisk.cnctools.data.TaskRunnable; import com.rvantwisk.cnctools.misc.AbstractController; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.TableView; import javafx.scene.con...
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/AbstractTask.java // public abstract class AbstractTask { // // private StringProperty name = new SimpleStringProperty(); // private StringProperty description = new SimpleStringProperty(); // private StringProperty className = new SimpleStringPro...
private List<AbstractTask> applicapableMillTasks;
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controllers/AddMillTaskController.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/AbstractTask.java // public abstract class AbstractTask { // // private StringProperty name = new SimpleStringProperty(); // private StringProperty description = new SimpleStringProperty(); // private StringProperty className = new SimpleStringPro...
import com.rvantwisk.cnctools.data.AbstractTask; import com.rvantwisk.cnctools.data.Project; import com.rvantwisk.cnctools.data.TaskRunnable; import com.rvantwisk.cnctools.misc.AbstractController; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.TableView; import javafx.scene.con...
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/AbstractTask.java // public abstract class AbstractTask { // // private StringProperty name = new SimpleStringProperty(); // private StringProperty description = new SimpleStringProperty(); // private StringProperty className = new SimpleStringPro...
private Project currentProject;
rvt/cnctools
gcodeparser/src/main/java/com/rvantwisk/gcodeparser/MachineController.java
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/exceptions/SimException.java // public class SimException extends Exception { // public SimException(String message) { // super(message); // } // // public SimException(String message, Throwable cause) { // super(message, cause); ...
import com.rvantwisk.gcodeparser.exceptions.SimException; import java.util.Map;
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: gcodeparser/src/main/java/com/rvantwisk/gcodeparser/exceptions/SimException.java // public class SimException extends Exception { // public SimException(String message) { // super(message); // } // // public SimException(String message, Throwable cause) { // super(message, cause); ...
void endBlock(GCodeParser parser, MachineStatus machineStatus, Map<String, ParsedWord> block) throws SimException;
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controls/ToolParametersControl.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
import com.rvantwisk.cnctools.data.ToolParameter; import com.rvantwisk.cnctools.data.tools.BallMill; import com.rvantwisk.cnctools.data.tools.EndMill; import com.rvantwisk.cnctools.misc.InputMaskChecker; import javafx.beans.binding.BooleanBinding; import javafx.collections.FXCollections; import javafx.collections.Obser...
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
"EndMill", "BallMill"
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controls/ToolParametersControl.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
import com.rvantwisk.cnctools.data.ToolParameter; import com.rvantwisk.cnctools.data.tools.BallMill; import com.rvantwisk.cnctools.data.tools.EndMill; import com.rvantwisk.cnctools.misc.InputMaskChecker; import javafx.beans.binding.BooleanBinding; import javafx.collections.FXCollections; import javafx.collections.Obser...
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
"EndMill", "BallMill"
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/controls/ToolParametersControl.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
import com.rvantwisk.cnctools.data.ToolParameter; import com.rvantwisk.cnctools.data.tools.BallMill; import com.rvantwisk.cnctools.data.tools.EndMill; import com.rvantwisk.cnctools.misc.InputMaskChecker; import javafx.beans.binding.BooleanBinding; import javafx.collections.FXCollections; import javafx.collections.Obser...
@FXML private RadioButton iSPindleCW; @FXML private RadioButton iSPindleCCW; @FXML private ChoiceBox<String> ddNumFlutes; @FXML private ChoiceBox cbToolType; private ToolParameter tool; public ToolParametersControl() { FXMLLoader fxmlLoader = new FXMLLoader(getClass()....
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/data/tools/BallMill.java // public class BallMill extends Toolbase { // // private final DimensionProperty diameter = new DimensionProperty(); // // public BallMill() { // } // // public BallMill(DimensionProperty diameter) { // this.diam...
final InputMaskChecker listener1 = new InputMaskChecker(InputMaskChecker.NOTEMPTY, iName);
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/Main.java
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/misc/FXMLDialog.java // public class FXMLDialog extends Stage { // // private final FXMLLoader loader; // // public FXMLDialog(final AbstractController controller, final URL fxml, final Window owner) { // this(controller, fxml, owner, StageStyle.D...
import com.rvantwisk.cnctools.misc.FXMLDialog; import javafx.application.Application; import javafx.stage.Stage; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
// Path: cnctools/src/main/java/com/rvantwisk/cnctools/misc/FXMLDialog.java // public class FXMLDialog extends Stage { // // private final FXMLLoader loader; // // public FXMLDialog(final AbstractController controller, final URL fxml, final Window owner) { // this(controller, fxml, owner, StageStyle.D...
FXMLDialog dialog = screens.cncTools();
Petschko/Java-RPG-Maker-MV-Decrypter
src/main/java/org/petschko/rpgmakermv/decrypt/cmd/CMD.java
// Path: src/main/java/org/petschko/lib/Const.java // public class Const { // public static final String CREATOR = "Petschko"; // public static final String CREATOR_URL = "https://petschko.org/"; // public static final String CREATOR_DONATION_URL = "https://www.paypal.me/petschko"; // // // System Constance's // ...
import org.petschko.lib.Const; import org.petschko.rpgmakermv.decrypt.App; import org.petschko.rpgmakermv.decrypt.Config;
break; case CMD_ENCRYPT: cmdCommand = new Encrypt(); break; case CMD_RESTORE: cmdCommand = new Restore(); break; case CMD_RESTORE_PROJECT: cmdCommand = new RestoreProject(); break; case CMD_GET_KEY: case CMD_GET_KEY_2: case CMD_GET_KEY_3: case CMD_GET_KEY_4: case CMD_...
// Path: src/main/java/org/petschko/lib/Const.java // public class Const { // public static final String CREATOR = "Petschko"; // public static final String CREATOR_URL = "https://petschko.org/"; // public static final String CREATOR_DONATION_URL = "https://www.paypal.me/petschko"; // // // System Constance's // ...
App.showMessage("Done.");
Petschko/Java-RPG-Maker-MV-Decrypter
src/main/java/org/petschko/rpgmakermv/decrypt/cmd/RestoreProject.java
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
import org.petschko.rpgmakermv.decrypt.App; import org.petschko.rpgmakermv.decrypt.Config;
package org.petschko.rpgmakermv.decrypt.cmd; /** * @author Peter Dragicevic */ class RestoreProject implements I_CMD { /** * Runs the Command * * @param args - Command-Line commands */ @Override public void run(String[] args) { printHelp(); CMD.exitCMD(CMD.STATUS_WARNING); } /** * Prints help fo...
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
App.showMessage("restoreproject -> !! NOT IMPLEMENTED YET !!", CMD.STATUS_WARNING);
Petschko/Java-RPG-Maker-MV-Decrypter
src/main/java/org/petschko/rpgmakermv/decrypt/cmd/RestoreProject.java
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
import org.petschko.rpgmakermv.decrypt.App; import org.petschko.rpgmakermv.decrypt.Config;
package org.petschko.rpgmakermv.decrypt.cmd; /** * @author Peter Dragicevic */ class RestoreProject implements I_CMD { /** * Runs the Command * * @param args - Command-Line commands */ @Override public void run(String[] args) { printHelp(); CMD.exitCMD(CMD.STATUS_WARNING); } /** * Prints help fo...
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
App.showMessage("Usage: java -jar \"" + Config.THIS_JAR_FILE_NAME + "\" restoreproject");
Petschko/Java-RPG-Maker-MV-Decrypter
src/main/java/org/petschko/lib/gui/JImageLabel.java
// Path: src/main/java/org/petschko/lib/Image.java // public class Image { // private BufferedImage bufferedImage; // // /** // * Image constructor // * // * @param bufferedImage - Buffered Image // */ // public Image(BufferedImage bufferedImage) { // this.bufferedImage = bufferedImage; // } // // /** ...
import org.petschko.lib.Image; import javax.imageio.ImageIO; import javax.swing.ImageIcon; import javax.swing.JLabel; import java.awt.image.BufferedImage; import java.io.IOException; import java.net.URL;
*/ private void setBufferedImage(java.io.File imageFile) { try { this.image = ImageIO.read(imageFile); } catch(IOException e) { e.printStackTrace(); this.image = null; return; } // Try to create the new Panel after reading this.createImagePanel(); } /** * Assign the Buffered Image to the...
// Path: src/main/java/org/petschko/lib/Image.java // public class Image { // private BufferedImage bufferedImage; // // /** // * Image constructor // * // * @param bufferedImage - Buffered Image // */ // public Image(BufferedImage bufferedImage) { // this.bufferedImage = bufferedImage; // } // // /** ...
Image img = new Image(this.image);
Petschko/Java-RPG-Maker-MV-Decrypter
src/main/java/org/petschko/rpgmakermv/decrypt/cmd/Help.java
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
import org.petschko.rpgmakermv.decrypt.App; import org.petschko.rpgmakermv.decrypt.Config;
package org.petschko.rpgmakermv.decrypt.cmd; /** * @author Peter Dragicevic */ class Help implements I_CMD { /** * Runs the Command * * @param args - Command-Line commands */ @Override public void run(String[] args) {
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
App.showMessage("Invalid Command \"" + args[1] + "\"!", CMD.STATUS_WARNING);
Petschko/Java-RPG-Maker-MV-Decrypter
src/main/java/org/petschko/rpgmakermv/decrypt/cmd/Help.java
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
import org.petschko.rpgmakermv.decrypt.App; import org.petschko.rpgmakermv.decrypt.Config;
package org.petschko.rpgmakermv.decrypt.cmd; /** * @author Peter Dragicevic */ class Help implements I_CMD { /** * Runs the Command * * @param args - Command-Line commands */ @Override public void run(String[] args) { App.showMessage("Invalid Command \"" + args[1] + "\"!", CMD.STATUS_WARNING); App.sh...
// Path: src/main/java/org/petschko/rpgmakermv/decrypt/App.java // public class App { // private static Boolean useGUI = true; // private static GUI gui; // private static CMD cmd; // public static String outputDir; // public static Preferences preferences; // // /** // * Main-Class // * // * @param args -...
App.showMessage("Usage: java -jar \"" + Config.THIS_JAR_FILE_NAME + "\" [command] [help|args...]");
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/MyUI.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/DatabaseInitialization.java // @Stateless // public class DatabaseInitialization { // // @Inject // private MessageRepository msgRepo; // // public void initDatabaseIfEmpty() { // // if (!msgRepo.findAll().isEmpty()) { //...
import javax.inject.Inject; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import org.vaadin.example.backend.DatabaseInitialization; import org.vaadin.example.backend.MessageFacade; import com.vaadin.annotations.Theme; import com.vaadi...
package org.vaadin.example.ui; /** * UI class using Vaadin CDI addon annotation CDIUI, which makes it a managed * bean and allows to inject dependencies to it. */ @Theme("mytheme") @CDIUI("") public class MyUI extends UI { // CDIViewProvider implements com.vaadin.navigator.ViewProvider and // understand...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/DatabaseInitialization.java // @Stateless // public class DatabaseInitialization { // // @Inject // private MessageRepository msgRepo; // // public void initDatabaseIfEmpty() { // // if (!msgRepo.findAll().isEmpty()) { //...
mainLayout.navigateToFolder(MessageFacade.FOLDER_INBOX);
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/MyUI.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/DatabaseInitialization.java // @Stateless // public class DatabaseInitialization { // // @Inject // private MessageRepository msgRepo; // // public void initDatabaseIfEmpty() { // // if (!msgRepo.findAll().isEmpty()) { //...
import javax.inject.Inject; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import org.vaadin.example.backend.DatabaseInitialization; import org.vaadin.example.backend.MessageFacade; import com.vaadin.annotations.Theme; import com.vaadi...
navigator.addProvider(viewProvider); setNavigator(navigator); navigator.addViewChangeListener(new ViewChangeListener() { @Override public boolean beforeViewChange(ViewChangeEvent event) { return true; } @Override publ...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/DatabaseInitialization.java // @Stateless // public class DatabaseInitialization { // // @Inject // private MessageRepository msgRepo; // // public void initDatabaseIfEmpty() { // // if (!msgRepo.findAll().isEmpty()) { //...
private DatabaseInitialization init;
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/FolderView.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
import javax.inject.Inject; import org.vaadin.example.backend.Message; import org.vaadin.example.backend.MessageFacade; import com.vaadin.cdi.CDIView; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent; import com.vaadin.ui.VerticalLayout;
package org.vaadin.example.ui; /** * View listing messages fetched through MessageFacade. Also handles message * clicks to mark them as read. * */ @CDIView(supportsParameters = true, value = FolderView.VIEW_NAME) public class FolderView extends VerticalLayout implements View { public static final String VI...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
private MessageFacade messageFacade;
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/FolderView.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
import javax.inject.Inject; import org.vaadin.example.backend.Message; import org.vaadin.example.backend.MessageFacade; import com.vaadin.cdi.CDIView; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent; import com.vaadin.ui.VerticalLayout;
package org.vaadin.example.ui; /** * View listing messages fetched through MessageFacade. Also handles message * clicks to mark them as read. * */ @CDIView(supportsParameters = true, value = FolderView.VIEW_NAME) public class FolderView extends VerticalLayout implements View { public static final String VI...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
private MessageComponent createFromEntity(Message entity) {
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/DatabaseInitialization.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // public enum Flag { // FLAG_STAR // }
import java.time.LocalDateTime; import java.time.ZoneOffset; import java.util.Date; import javax.ejb.Stateless; import javax.inject.Inject; import org.vaadin.example.backend.Message.Flag;
package org.vaadin.example.backend; @Stateless public class DatabaseInitialization { @Inject private MessageRepository msgRepo; public void initDatabaseIfEmpty() { if (!msgRepo.findAll().isEmpty()) { return; } createMessage("Marc Englund", "Vaadin Designer 1.0 has...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // public enum Flag { // FLAG_STAR // } // Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/DatabaseInitialization.java import java.time.LocalDateTime; import java.time.ZoneOffset; import java.util.Dat...
true, Flag.FLAG_STAR);
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/MainLayout.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/MessageFacade.java // @Stateless // public class MessageFacade { // // public static final String FOLDER_INBOX = "inbox"; // public static final String FOLDER_DRAFTS = "drafts"; // public static final String FOLDER_SENT = "sent"; /...
import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.function.Supplier; import javax.annotation.PostConstruct; import javax.enterprise.event.Observes; import javax.inject.Inject; import org.vaadin.example.backend.MessageFacade; import org.vaadin.example.ui.themes.mytheme.MyTheme; ...
package org.vaadin.example.ui; /** * * Handles the left-side menu and the top toolbar */ @UIScoped public class MainLayout extends MainLayoutDesign { @Inject
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/MessageFacade.java // @Stateless // public class MessageFacade { // // public static final String FOLDER_INBOX = "inbox"; // public static final String FOLDER_DRAFTS = "drafts"; // public static final String FOLDER_SENT = "sent"; /...
private MessageFacade messageFacade;
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/MainLayout.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/MessageFacade.java // @Stateless // public class MessageFacade { // // public static final String FOLDER_INBOX = "inbox"; // public static final String FOLDER_DRAFTS = "drafts"; // public static final String FOLDER_SENT = "sent"; /...
import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.function.Supplier; import javax.annotation.PostConstruct; import javax.enterprise.event.Observes; import javax.inject.Inject; import org.vaadin.example.backend.MessageFacade; import org.vaadin.example.ui.themes.mytheme.MyTheme; ...
} else { component.setCaption( String.format(captionFormat, folder, badgeText)); } } } } // Map button click to a navigation method. // Map button to a folder name to allow setting selected style when folder...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/MessageFacade.java // @Stateless // public class MessageFacade { // // public static final String FOLDER_INBOX = "inbox"; // public static final String FOLDER_DRAFTS = "drafts"; // public static final String FOLDER_SENT = "sent"; /...
component.addStyleName(MyTheme.SELECTED);
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/MessageComponent.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
import org.vaadin.example.backend.Message; import org.vaadin.example.backend.Message.Flag; import org.vaadin.example.ui.themes.mytheme.MyTheme; import com.vaadin.server.FontAwesome;
package org.vaadin.example.ui; /** * This is the place to implement component logic for MessageDesign. The super * class should not be edited, because Vaadin Designer overwrites it. * */ public class MessageComponent extends MessageDesign { public MessageComponent(Message message, MessageClickL...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
public void setIndicator(boolean read, Flag flag) {
vaadin/designer-tutorials
emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/MessageComponent.java
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
import org.vaadin.example.backend.Message; import org.vaadin.example.backend.Message.Flag; import org.vaadin.example.ui.themes.mytheme.MyTheme; import com.vaadin.server.FontAwesome;
package org.vaadin.example.ui; /** * This is the place to implement component logic for MessageDesign. The super * class should not be edited, because Vaadin Designer overwrites it. * */ public class MessageComponent extends MessageDesign { public MessageComponent(Message message, MessageClickL...
// Path: emailclient-tutorial-data/src/main/java/org/vaadin/example/backend/Message.java // @Entity // public class Message extends AbstractEntity { // // private boolean read; // private boolean trashed; // private String sender; // @Enumerated(EnumType.STRING) // private Flag flag; // // pub...
MyTheme.MESSAGE_STYLES.forEach(indicatorButton::removeStyleName);
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/services/StatusScheduleReceiver.java
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import org.parallelzero.hancel.Config; import java.util.Calendar;
package org.parallelzero.hancel.services; public class StatusScheduleReceiver extends BroadcastReceiver { public static final String TAG = StatusScheduleReceiver.class.getSimpleName();
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
private static final boolean DEBUG = Config.DEBUG;
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/Firebase/FirebaseHandler.java
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
import android.util.Log; import org.parallelzero.hancel.Config; import org.parallelzero.hancel.services.TrackLocationService;
package org.parallelzero.hancel.Firebase; /** * Created by Antonio Vanegas @hpsaturn on 11/2/15. */ public class FirebaseHandler { public static final String TAG = TrackLocationService.class.getSimpleName();
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
private static final boolean DEBUG = Config.DEBUG;
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/view/ListTrackersAdapter.java
// Path: app/src/main/java/org/parallelzero/hancel/models/Track.java // public class Track { // // public String trackId; // // // public String alias; // // public int color; // // private boolean enable; // // private String lastUpdate; // // public double lat; // // public double ...
import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.RelativeLayout; import android.widget.TextView; import org.parallelzero.hancel.R; import...
package org.parallelzero.hancel.view; /** * Created by Antonio Vanegas @hpsaturn on 11/10/15. */ public class ListTrackersAdapter extends RecyclerView.Adapter<TrackerViewHolder> implements ItemTouchHelperAdapter{ private AdapterView.OnItemClickListener mOnItemClickListener; private Context ctx;
// Path: app/src/main/java/org/parallelzero/hancel/models/Track.java // public class Track { // // public String trackId; // // // public String alias; // // public int color; // // private boolean enable; // // private String lastUpdate; // // public double lat; // // public double ...
private ArrayList<Track> tracks = new ArrayList<>();
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/IntroActivity.java
// Path: app/src/main/java/org/parallelzero/hancel/Fragments/SlideItemFragment.java // public class SlideItemFragment extends Fragment { // // public static String TAG = SlideItemFragment.class.getSimpleName(); // private static final boolean DEBUG = Config.DEBUG; // private static final String ARG_LAYOUT_...
import android.content.Intent; import android.os.Bundle; import com.github.paolorotolo.appintro.AppIntro; import com.github.paolorotolo.appintro.AppIntro2; import com.github.paolorotolo.appintro.AppIntroFragment; import android.app.Activity; import org.parallelzero.hancel.Fragments.SlideItemFragment;
package org.parallelzero.hancel; /** * Created by izel on 8/11/15. */ public class IntroActivity extends AppIntro2 { @Override public void init(Bundle savedInstanceState) {
// Path: app/src/main/java/org/parallelzero/hancel/Fragments/SlideItemFragment.java // public class SlideItemFragment extends Fragment { // // public static String TAG = SlideItemFragment.class.getSimpleName(); // private static final boolean DEBUG = Config.DEBUG; // private static final String ARG_LAYOUT_...
addSlide(SlideItemFragment.newInstance(R.layout.welcome, R.drawable.slide_rings));
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/view/ListPartnersAdapter.java
// Path: app/src/main/java/org/parallelzero/hancel/models/Partner.java // public class Partner { // // public String alias; // // public Bitmap avatar; // // // public String last_update; // // public Partner(String alias, String last_update) { // this.alias=alias; // this.avatar=av...
import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.TextView; import org.parallelzero.hancel.R; import org.parallelzero.hancel.models.Partne...
package org.parallelzero.hancel.view; /** * Created by Antonio Vanegas @hpsaturn on 10/20/15. */ public class ListPartnersAdapter extends RecyclerView.Adapter<PartnerViewHolder> implements ItemTouchHelperAdapter { private AdapterView.OnItemClickListener mOnItemClickListener; private Context ctx;
// Path: app/src/main/java/org/parallelzero/hancel/models/Partner.java // public class Partner { // // public String alias; // // public Bitmap avatar; // // // public String last_update; // // public Partner(String alias, String last_update) { // this.alias=alias; // this.avatar=av...
private ArrayList<Partner> partners = new ArrayList<>();
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/services/StartStatusServiceReceiver.java
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import org.parallelzero.hancel.Config;
package org.parallelzero.hancel.services; public class StartStatusServiceReceiver extends BroadcastReceiver { public static final String TAG = StartStatusServiceReceiver.class.getSimpleName();
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
private static final boolean DEBUG = Config.DEBUG&&Config.DEBUG_LOCATION;
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/Fragments/AboutFragment.java
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
import android.os.Bundle; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.ScrollView; import android.widget.TextView; import co...
package org.parallelzero.hancel.Fragments; /** * Created by izel on 9/11/15. */ public class AboutFragment extends Fragment { public static final String TAG = AboutFragment.class.getSimpleName();
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
private static final boolean DEBUG = Config.DEBUG;
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/view/ListContactsAdapter.java
// Path: app/src/main/java/org/parallelzero/hancel/models/Contact.java // public class Contact { // // public String photoUri; // // public String name; // // public String phone; // // public Bitmap photo; // // public Contact(String name, String phone, Bitmap photo) { // this.name=nam...
import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ImageView; import android.widget.TextView; import org.parallelzero.hancel.R; import org....
package org.parallelzero.hancel.view; /** * Created by Antonio Vanegas @hpsaturn on 10/20/15. */ public class ListContactsAdapter extends RecyclerView.Adapter<ContactViewHolder> implements ItemTouchHelperAdapter { private AdapterView.OnItemClickListener mOnItemClickListener; private Context ctx;
// Path: app/src/main/java/org/parallelzero/hancel/models/Contact.java // public class Contact { // // public String photoUri; // // public String name; // // public String phone; // // public Bitmap photo; // // public Contact(String name, String phone, Bitmap photo) { // this.name=nam...
private ArrayList<Contact> contacts = new ArrayList<>();
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/services/HardwareButtonReceiver.java
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import org.parallelzero.hancel.Config; import java.util.Calendar;
package org.parallelzero.hancel.services; /** * Created by izel on 4/11/15. */ public class HardwareButtonReceiver extends BroadcastReceiver { public static final String TAG = HardwareButtonReceiver.class.getSimpleName();
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
private static final boolean DEBUG = Config.DEBUG;
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/view/ListRingsAdapter.java
// Path: app/src/main/java/org/parallelzero/hancel/models/Ring.java // public class Ring { // // public String name; // // public String description; // // public boolean enable=true; // // public List<Contact> contacts; // // public String getName() { // return name; // } // // ...
import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ImageView; import android.widget.TextView; import org.parallelzero.hancel.R; import org....
package org.parallelzero.hancel.view; /** * Created by Antonio Vanegas @hpsaturn on 10/20/15. */ public class ListRingsAdapter extends RecyclerView.Adapter<RingViewHolder> implements ItemTouchHelperAdapter { private AdapterView.OnItemClickListener mOnItemClickListener; private Context ctx;
// Path: app/src/main/java/org/parallelzero/hancel/models/Ring.java // public class Ring { // // public String name; // // public String description; // // public boolean enable=true; // // public List<Contact> contacts; // // public String getName() { // return name; // } // // ...
private ArrayList<Ring> rings = new ArrayList<>();
HancelParallelZero/hancel_android
app/src/main/java/org/parallelzero/hancel/Fragments/SlideItemFragment.java
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
import android.os.Bundle; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import org.parallelzero.hancel.Config; import org.parallelzero...
package org.parallelzero.hancel.Fragments; /** * Created by izel on 8/11/15. */ public class SlideItemFragment extends Fragment { public static String TAG = SlideItemFragment.class.getSimpleName();
// Path: app/src/main/java/org/parallelzero/hancel/Config.java // public class Config { // // public static final boolean DEBUG=true; // ==> R E V I S A R P A R A T I E N D A S // // public static final boolean DEBUG_SERVICE = true; // public static final boolean DEBUG_LOCATION = false; // public static final...
private static final boolean DEBUG = Config.DEBUG;
ewidgetfx/ewidgetfx
widget-core/src/main/java/org/ewidgetfx/util/WidgetLoader.java
// Path: widget-core/src/main/java/org/ewidgetfx/core/Widget.java // public interface Widget { // // public static enum DECORATION { // // STAGED_OS_TITLE_BAR, // STAGED_CLOSE, // STAGED_CONFIG_CLOSE, // STAGED_CONFIG, // STAGED_UNDECORATED, // NON_STAGED_CLOSE, // ...
import javafx.collections.ObservableMap; import javafx.stage.Stage; import org.ewidgetfx.core.Widget; import java.io.File;
/* * Copyright 2013 eWidgetFX. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
// Path: widget-core/src/main/java/org/ewidgetfx/core/Widget.java // public interface Widget { // // public static enum DECORATION { // // STAGED_OS_TITLE_BAR, // STAGED_CLOSE, // STAGED_CONFIG_CLOSE, // STAGED_CONFIG, // STAGED_UNDECORATED, // NON_STAGED_CLOSE, // ...
Widget loadFile(File jarFile, Stage containerStage, ClassLoader parentClassLoader);
ewidgetfx/ewidgetfx
widget-core/src/main/java/org/ewidgetfx/util/WidgetFactory.java
// Path: widget-core/src/main/java/org/ewidgetfx/core/Widget.java // public interface Widget { // // public static enum DECORATION { // // STAGED_OS_TITLE_BAR, // STAGED_CLOSE, // STAGED_CONFIG_CLOSE, // STAGED_CONFIG, // STAGED_UNDECORATED, // NON_STAGED_CLOSE, // ...
import javafx.collections.FXCollections; import javafx.collections.MapChangeListener; import javafx.collections.ObservableMap; import javafx.event.EventHandler; import javafx.scene.input.MouseEvent; import javafx.stage.Stage; import org.ewidgetfx.core.Widget; import org.ewidgetfx.core.WidgetStage; import java.io.File; ...
/* * Copyright 2013 eWidgetFX. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
// Path: widget-core/src/main/java/org/ewidgetfx/core/Widget.java // public interface Widget { // // public static enum DECORATION { // // STAGED_OS_TITLE_BAR, // STAGED_CLOSE, // STAGED_CONFIG_CLOSE, // STAGED_CONFIG, // STAGED_UNDECORATED, // NON_STAGED_CLOSE, // ...
static ObservableMap<String, Widget> widgetMap = FXCollections.observableMap(new HashMap<String, Widget>());
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomethingcomposite.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import java.io.Serializable; import javax.annotation.Generated; import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import io.vertx.core.json.JsonObject;
/* * This file is generated by jOOQ. */ package generated.future.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomethingcomposite extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomethingcomposite.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import java.io.Serializable; import javax.annotation.Generated; import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import io.vertx.core.json.JsonObject;
/* * This file is generated by jOOQ. */ package generated.classic.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", ...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomethingcomposite extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomethingwithoutjson.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import java.io.Serializable; import javax.annotation.Generated; import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo;
/* * This file is generated by jOOQ. */ package generated.future.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomethingwithoutjson extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/pojos/Somethingwithoutjson.java
// Path: vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomethingwithoutjson.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", ...
import javax.annotation.Generated; import generated.classic.async.vertx.tables.interfaces.ISomethingwithoutjson;
/* * This file is generated by jOOQ. */ package generated.classic.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unche...
// Path: vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomethingwithoutjson.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", ...
public class Somethingwithoutjson implements ISomethingwithoutjson {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/pojos/Something.java
// Path: vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomething.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchecked"...
import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import javax.annotation.Generated; import generated.classic.async.vertx.tables.interfaces.ISomething;
/* * This file is generated by jOOQ. */ package generated.classic.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unch...
// Path: vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomething.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchecked"...
public class Something implements ISomething {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomethingwithoutjson.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import java.io.Serializable; import javax.annotation.Generated; import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo;
/* * This file is generated by jOOQ. */ package generated.rx.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unch...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomethingwithoutjson extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomething.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import java.io.Serializable; import javax.annotation.Generated;
/* * This file is generated by jOOQ. */ package generated.future.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomething extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/pojos/Somethingcomposite.java
// Path: vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomethingcomposite.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "u...
import io.vertx.core.json.JsonObject; import javax.annotation.Generated; import generated.classic.async.vertx.tables.interfaces.ISomethingcomposite;
/* * This file is generated by jOOQ. */ package generated.classic.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unch...
// Path: vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomethingcomposite.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "u...
public class Somethingcomposite implements ISomethingcomposite {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomethingwithoutjson.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import java.io.Serializable; import javax.annotation.Generated; import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo;
/* * This file is generated by jOOQ. */ package generated.classic.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", ...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomethingwithoutjson extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomethingcomposite.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import java.io.Serializable; import javax.annotation.Generated; import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import io.vertx.core.json.JsonObject;
/* * This file is generated by jOOQ. */ package generated.rx.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unch...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomethingcomposite extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/pojos/Somethingcomposite.java
// Path: vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomethingcomposite.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "un...
import io.vertx.core.json.JsonObject; import javax.annotation.Generated; import generated.future.async.vertx.tables.interfaces.ISomethingcomposite;
/* * This file is generated by jOOQ. */ package generated.future.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unche...
// Path: vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomethingcomposite.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "un...
public class Somethingcomposite implements ISomethingcomposite {
jklingsporn/vertx-jooq-async
vertx-jooq-async-rx/src/main/java/io/github/jklingsporn/vertx/jooq/async/rx/AsyncJooqSQLClient.java
// Path: vertx-jooq-async-rx/src/main/java/io/github/jklingsporn/vertx/jooq/async/rx/util/AsyncJooqSQLClientImpl.java // public class AsyncJooqSQLClientImpl implements AsyncJooqSQLClient { // // private final Vertx vertx; // private final AsyncSQLClient delegate; // // public AsyncJooqSQLClientImpl(Vertx ...
import io.github.jklingsporn.vertx.jooq.async.rx.util.AsyncJooqSQLClientImpl; import io.reactivex.Single; import io.vertx.core.json.JsonObject; import io.vertx.reactivex.core.Vertx; import io.vertx.reactivex.ext.asyncsql.AsyncSQLClient; import org.jooq.Query; import java.util.List; import java.util.function.Function;
package io.github.jklingsporn.vertx.jooq.async.rx; /** * Created by jensklingsporn on 13.06.17. */ public interface AsyncJooqSQLClient { public static AsyncJooqSQLClient create(Vertx vertx, AsyncSQLClient delegate){
// Path: vertx-jooq-async-rx/src/main/java/io/github/jklingsporn/vertx/jooq/async/rx/util/AsyncJooqSQLClientImpl.java // public class AsyncJooqSQLClientImpl implements AsyncJooqSQLClient { // // private final Vertx vertx; // private final AsyncSQLClient delegate; // // public AsyncJooqSQLClientImpl(Vertx ...
return new AsyncJooqSQLClientImpl(vertx, delegate);
jklingsporn/vertx-jooq-async
vertx-jooq-async-classic/src/main/java/io/github/jklingsporn/vertx/jooq/async/classic/AsyncJooqSQLClient.java
// Path: vertx-jooq-async-classic/src/main/java/io/github/jklingsporn/vertx/jooq/async/classic/impl/AsyncJooqSQLClientImpl.java // public class AsyncJooqSQLClientImpl implements AsyncJooqSQLClient { // // private static final Logger logger = LoggerFactory.getLogger(AsyncJooqSQLClientImpl.class); // // private...
import io.github.jklingsporn.vertx.jooq.async.classic.impl.AsyncJooqSQLClientImpl; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; import io.vertx.core.Vertx; import io.vertx.core.json.JsonObject; import io.vertx.ext.asyncsql.AsyncSQLClient; import org.jooq.Query; import java.util.List; import java.util...
package io.github.jklingsporn.vertx.jooq.async.classic; /** * Created by jensklingsporn on 13.06.17. */ public interface AsyncJooqSQLClient { public static AsyncJooqSQLClient create(Vertx vertx, AsyncSQLClient delegate){
// Path: vertx-jooq-async-classic/src/main/java/io/github/jklingsporn/vertx/jooq/async/classic/impl/AsyncJooqSQLClientImpl.java // public class AsyncJooqSQLClientImpl implements AsyncJooqSQLClient { // // private static final Logger logger = LoggerFactory.getLogger(AsyncJooqSQLClientImpl.class); // // private...
return new AsyncJooqSQLClientImpl(vertx, delegate);
jklingsporn/vertx-jooq-async
vertx-jooq-async-future/src/main/java/io/github/jklingsporn/vertx/jooq/async/future/AsyncJooqSQLClient.java
// Path: vertx-jooq-async-future/src/main/java/io/github/jklingsporn/vertx/jooq/async/future/impl/AsyncJooqSQLClientImpl.java // public class AsyncJooqSQLClientImpl implements AsyncJooqSQLClient { // // private final Vertx vertx; // private final AsyncSQLClient delegate; // // public AsyncJooqSQLClientImp...
import io.github.jklingsporn.vertx.jooq.async.future.impl.AsyncJooqSQLClientImpl; import io.vertx.core.Vertx; import io.vertx.core.json.JsonObject; import io.vertx.ext.asyncsql.AsyncSQLClient; import org.jooq.Query; import java.util.List; import java.util.concurrent.CompletableFuture; import java.util.function.Function...
package io.github.jklingsporn.vertx.jooq.async.future; /** * Created by jensklingsporn on 13.06.17. */ public interface AsyncJooqSQLClient { public static AsyncJooqSQLClient create(Vertx vertx,AsyncSQLClient delegate){
// Path: vertx-jooq-async-future/src/main/java/io/github/jklingsporn/vertx/jooq/async/future/impl/AsyncJooqSQLClientImpl.java // public class AsyncJooqSQLClientImpl implements AsyncJooqSQLClient { // // private final Vertx vertx; // private final AsyncSQLClient delegate; // // public AsyncJooqSQLClientImp...
return new AsyncJooqSQLClientImpl(vertx, delegate);
jklingsporn/vertx-jooq-async
vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/internal/VertxDAOHelper.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import io.vertx.core.impl.Arguments; import io.vertx.core.json.JsonObject; import org.jooq.*; import org.jooq.impl.DSL; import java.util.*; import java.util.function.BiFunction; import java.util.function.Function; import static org.jooq.impl.DSL.row;
package io.github.jklingsporn.vertx.jooq.async.shared.internal; /** * Created by jensklingsporn on 23.11.17. * Utility class to reduce duplicate code in the different VertxDAO implementations. * Only meant to be used by vertx-jooq-async. */ public class VertxDAOHelper { private VertxDAOHelper() { } ...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-shared/src/main...
public static <P extends VertxPojo, R extends UpdatableRecord<R>,T,F> F updateExecAsync(P object, DAO<R,P,T> dao, Function<Query,F> function){
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/main/java/io/github/jklingsporn/vertx/jooq/async/generate/VertxGeneratorStrategy.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import org.jooq.util.DefaultGeneratorStrategy; import org.jooq.util.Definition; import java.util.List;
package io.github.jklingsporn.vertx.jooq.async.generate; /** * Created by jensklingsporn on 25.10.16. * * We need this class to let the DAOs implements <code>VertxDAO</code>. * Unfortunately we can not get the type easily, that's why we have to * set the placeholder. */ public class VertxGeneratorStrategy exte...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/ma...
javaClassImplements.add(VertxPojo.class.getName());
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/pojos/Somethingcomposite.java
// Path: vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomethingcomposite.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchec...
import io.vertx.core.json.JsonObject; import javax.annotation.Generated; import generated.rx.async.vertx.tables.interfaces.ISomethingcomposite;
/* * This file is generated by jOOQ. */ package generated.rx.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked...
// Path: vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomethingcomposite.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchec...
public class Somethingcomposite implements ISomethingcomposite {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/pojos/Somethingwithoutjson.java
// Path: vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomethingwithoutjson.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unch...
import javax.annotation.Generated; import generated.rx.async.vertx.tables.interfaces.ISomethingwithoutjson;
/* * This file is generated by jOOQ. */ package generated.rx.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked"...
// Path: vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomethingwithoutjson.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unch...
public class Somethingwithoutjson implements ISomethingwithoutjson {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/pojos/Something.java
// Path: vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomething.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchecked", "ra...
import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import javax.annotation.Generated; import generated.rx.async.vertx.tables.interfaces.ISomething;
/* * This file is generated by jOOQ. */ package generated.rx.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked...
// Path: vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomething.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchecked", "ra...
public class Something implements ISomething {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/main/java/io/github/jklingsporn/vertx/jooq/async/generate/AbstractVertxGenerator.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/JsonArrayConverter.java // public class JsonArrayConverter implements Converter<String,JsonArray> { // // private static JsonArrayConverter INSTANCE; // public static JsonArrayConverter getInstance() { // retur...
import io.github.jklingsporn.vertx.jooq.async.shared.JsonArrayConverter; import io.github.jklingsporn.vertx.jooq.async.shared.JsonObjectConverter; import io.vertx.core.json.JsonObject; import org.jooq.Constants; import org.jooq.Record; import org.jooq.tools.JooqLogger; import org.jooq.util.*; import java.io.File; impor...
out.tab(1).println("@Override"); out.tab(1).println("default %s fromJson(io.vertx.core.json.JsonObject json) {",className); for (ColumnDefinition column : table.getColumns()) { String setter = getStrategy().getJavaSetterName(column, GeneratorStrategy.Mode.INTERFACE); Stri...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/JsonArrayConverter.java // public class JsonArrayConverter implements Converter<String,JsonArray> { // // private static JsonArrayConverter INSTANCE; // public static JsonArrayConverter getInstance() { // retur...
}else if(column.getType().getConverter() != null && isType(column.getType().getConverter(),JsonObjectConverter.class)){
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/main/java/io/github/jklingsporn/vertx/jooq/async/generate/AbstractVertxGenerator.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/JsonArrayConverter.java // public class JsonArrayConverter implements Converter<String,JsonArray> { // // private static JsonArrayConverter INSTANCE; // public static JsonArrayConverter getInstance() { // retur...
import io.github.jklingsporn.vertx.jooq.async.shared.JsonArrayConverter; import io.github.jklingsporn.vertx.jooq.async.shared.JsonObjectConverter; import io.vertx.core.json.JsonObject; import org.jooq.Constants; import org.jooq.Record; import org.jooq.tools.JooqLogger; import org.jooq.util.*; import java.io.File; impor...
for (ColumnDefinition column : table.getColumns()) { String setter = getStrategy().getJavaSetterName(column, GeneratorStrategy.Mode.INTERFACE); String columnType = getJavaType(column.getType()); String jsonName = getJsonName(column); if(handleCustomTypeFromJson(co...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/JsonArrayConverter.java // public class JsonArrayConverter implements Converter<String,JsonArray> { // // private static JsonArrayConverter INSTANCE; // public static JsonArrayConverter getInstance() { // retur...
}else if(column.getType().getConverter() != null && isType(column.getType().getConverter(),JsonArrayConverter.class)){
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/pojos/Somethingwithoutjson.java
// Path: vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomethingwithoutjson.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "...
import javax.annotation.Generated; import generated.future.async.vertx.tables.interfaces.ISomethingwithoutjson;
/* * This file is generated by jOOQ. */ package generated.future.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchec...
// Path: vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomethingwithoutjson.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "...
public class Somethingwithoutjson implements ISomethingwithoutjson {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/pojos/Something.java
// Path: vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomething.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchecked",...
import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import javax.annotation.Generated; import generated.future.async.vertx.tables.interfaces.ISomething;
/* * This file is generated by jOOQ. */ package generated.future.async.vertx.tables.pojos; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unche...
// Path: vertx-jooq-async-generate/src/test/java/generated/future/async/vertx/tables/interfaces/ISomething.java // @Generated( // value = { // "http://www.jooq.org", // "jOOQ version:3.10.1" // }, // comments = "This class is generated by jOOQ" // ) // @SuppressWarnings({ "all", "unchecked",...
public class Something implements ISomething {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/classic/async/vertx/tables/interfaces/ISomething.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import java.io.Serializable; import javax.annotation.Generated;
/* * This file is generated by jOOQ. */ package generated.classic.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", ...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomething extends VertxPojo, Serializable {
jklingsporn/vertx-jooq-async
vertx-jooq-async-generate/src/test/java/generated/rx/async/vertx/tables/interfaces/ISomething.java
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // }
import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import java.io.Serializable; import javax.annotation.Generated;
/* * This file is generated by jOOQ. */ package generated.rx.async.vertx.tables.interfaces; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.1" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unch...
// Path: vertx-jooq-async-shared/src/main/java/io/github/jklingsporn/vertx/jooq/async/shared/VertxPojo.java // public interface VertxPojo { // // public VertxPojo fromJson(io.vertx.core.json.JsonObject json); // // public io.vertx.core.json.JsonObject toJson(); // } // Path: vertx-jooq-async-generate/src/te...
public interface ISomething extends VertxPojo, Serializable {