/[gzz]/gzz/gzz/modules/pp/PPMouseEvents.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp/PPMouseEvents.java

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

revision 1.14 by mudyc, Fri Jan 3 19:05:24 2003 UTC revision 1.15 by mudyc, Fri Jan 3 19:40:57 2003 UTC
# Line 34  public static final String rcsid = "$Id$ Line 34  public static final String rcsid = "$Id$
34    
35      private PPView2 ppv;      private PPView2 ppv;
36      PPActions ppactions;      PPActions ppactions;
     Space space;  
37    
38      private PPMouseEvents m_ev;      private PPMouseEvents m_ev;
39    
# Line 43  public static final String rcsid = "$Id$ Line 42  public static final String rcsid = "$Id$
42      public VobScene vs;      public VobScene vs;
43      public AbstractViewContext context;      public AbstractViewContext context;
44    
45      public PPMouseEvents(PPView2 pv, PPActions pa, Space s) {      public PPMouseEvents(PPView2 pv, PPActions pa) {
46          this.ppv = pv;          this.ppv = pv;
47          this.ppactions = pa;          this.ppactions = pa;
         this.space = s;  
48          this.m_ev = this;          this.m_ev = this;
49    
50          // press state saving          // press state saving
# Line 183  public static final String rcsid = "$Id$ Line 181  public static final String rcsid = "$Id$
181              try {              try {
182                  pa("Deleting paper!");                  pa("Deleting paper!");
183                  Cell c = context.getAccursed();                  Cell c = context.getAccursed();
184                  if (space.getHomeCell() != c) {                  if (ppv.space.getHomeCell() != c) {
185                      ppactions.deletePaper(c.getId() );                      ppactions.deletePaper(c.getId() );
186                      context.setAccursed(space.getHomeCell());                      context.setAccursed(ppv.space.getHomeCell());
187                  }                  }
188              } catch (Exception e) { pa(e.getMessage()); }              } catch (Exception e) { pa(e.getMessage()); }
189              AbstractUpdateManager.chg();              AbstractUpdateManager.chg();

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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