/[fenfire]/fenfire/org/fenfire/loom/Loom.java
ViewVC logotype

Diff of /fenfire/org/fenfire/loom/Loom.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by benja, Sun Mar 9 00:57:59 2003 UTC revision 1.19 by benja, Sun Mar 9 01:18:02 2003 UTC
# Line 242  public class Loom { Line 242  public class Loom {
242                      if(cs < 0) return;                      if(cs < 0) return;
243                      Object key = vs.matcher.getKey(cs);                      Object key = vs.matcher.getKey(cs);
244                      NodeView.Nodespec spec = (NodeView.Nodespec)key;                      NodeView.Nodespec spec = (NodeView.Nodespec)key;
245                      if(spec.node instanceof Resource) {                      if(m.getButton() == m.BUTTON3 ||
246                           spec.node instanceof Literal) {
247                            cursor.set(cursor.focus, spec.dir, spec.node);
248                            AbstractUpdateManager.chg();
249                        } else {
250                          lastFocus = new NodeView.Nodespec(cursor.focus);                          lastFocus = new NodeView.Nodespec(cursor.focus);
251                          lastRotation = spec;                          lastRotation = spec;
252                          cursor.set((Resource)spec.node);                          cursor.set((Resource)spec.node, -spec.dir, cursor.focus);
                         AbstractUpdateManager.chg();  
                     } else if(spec.node instanceof Literal) {  
                         cursor.set(cursor.focus, 1, spec.node);  
253                          AbstractUpdateManager.chg();                          AbstractUpdateManager.chg();
254                      }                      }
255                  }                  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26