OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 // Generated file. Do not edit. | 5 // Generated file. Do not edit. |
6 | 6 |
7 package immi; | 7 package immi; |
8 | 8 |
9 public interface NodePatch<N extends Node, P extends NodePresenter> extends Patc
h { | 9 public interface NodePatch<N extends Node, P extends NodePresenter> extends Patc
h { |
10 boolean wasReplaced(); | 10 boolean wasReplaced(); |
11 boolean wasUpdated(); | 11 boolean wasUpdated(); |
12 | 12 |
13 N getCurrent(); | 13 N getCurrent(); |
14 N getPrevious(); | 14 N getPrevious(); |
15 | 15 |
16 void applyTo(P presenter); | 16 void applyTo(P presenter); |
17 | 17 |
18 enum PatchType { | 18 enum PatchType { |
19 IdentityNodePatch, | 19 IdentityNodePatch, |
20 ReplaceNodePatch, | 20 ReplaceNodePatch, |
21 UpdateNodePatch | 21 UpdateNodePatch |
22 } | 22 } |
23 } | 23 } |
OLD | NEW |