blob: 4186392207f572a19d7fc96779508c747dcda609 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* */ package NET.worlds.scape;
/* */
/* */ import java.util.Vector;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ class UndoablDelete
/* */ implements Undoable
/* */ {
/* */ protected VectorProperty prop;
/* */ protected Object obj;
/* */
/* */ UndoablDelete(VectorProperty prop, int index)
/* */ {
/* 20 */ this.prop = prop;
/* 21 */ this.obj = ((Vector)prop.get()).elementAt(index);
/* 22 */ prop.delete(this.obj);
/* */ }
/* */
/* */ public void undo()
/* */ {
/* 27 */ this.prop.add(this.obj);
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\UndoablDelete.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|