52 |
private PPActions ppAct; |
private PPActions ppAct; |
53 |
private BuoyAdaptor adaptor = new BuoyAdaptor(); |
private BuoyAdaptor adaptor = new BuoyAdaptor(); |
54 |
private BuoyViewMainNode focus; |
private BuoyViewMainNode focus; |
55 |
private NodeView nodeview; |
// private NodeView nodeview; |
56 |
|
|
57 |
// Should be moved to some view context |
// Should be moved to some view context |
58 |
private Object accursed; |
private Object accursed; |
105 |
scr.window.setLocation(0, 0, 1024, 768); |
scr.window.setLocation(0, 0, 1024, 768); |
106 |
|
|
107 |
|
|
108 |
|
/* |
109 |
nodeview = new DefaultNodeView(fen); |
nodeview = new DefaultNodeView(fen); |
110 |
|
|
111 |
adaptor.nodes = new NodeBuoyViewNodeType[]{ |
adaptor.nodes = new NodeBuoyViewNodeType[]{ |
112 |
new PPCanvasNode(fen, scr.window, nodeview, new Pp.Context())}; |
new PPCanvasNode(fen, scr.window, nodeview, new Pp.Context())}; |
113 |
adaptor.nodeLinkers = new BuoyNodeViewLinker[]{ |
adaptor.nodeLinkers = new BuoyNodeViewLinker[]{ |
114 |
new PPLinker(fen)}; |
new PPLinker(fen)}; |
115 |
|
*/ |
116 |
AbstractUpdateManager.chg(); |
AbstractUpdateManager.chg(); |
117 |
} |
} |
118 |
|
|
183 |
// -------------------------------------------------- |
// -------------------------------------------------- |
184 |
// ViewContext |
// ViewContext |
185 |
|
|
186 |
|
/* |
187 |
public class Context implements NodeView.Context, PpContext { |
public class Context implements NodeView.Context, PpContext { |
188 |
public void nodeIsToBePlaced(Object node, NodeView nv) { |
public void nodeIsToBePlaced(Object node, NodeView nv) { |
189 |
pa("view context is not implemented"); |
pa("view context is not implemented"); |
204 |
return paper.toString(); |
return paper.toString(); |
205 |
} |
} |
206 |
} |
} |
207 |
|
*/ |
208 |
|
|
209 |
// -------------------------------------------------- |
// -------------------------------------------------- |
210 |
// Let's get in action! |
// Let's get in action! |