Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 067c4180dd
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (13 sloc) 0.483 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
class Tool {

  static final int STATUS_SKIP = 0;
  static final int STATUS_ACTIVE = 1;
  static final int STATUS_FINISHED = 2;

  View view;

  void attach(View _view){
    this.view = _view;
  }

  int mouseDown(double canvasX, double canvasY){return STATUS_SKIP;}
  int mouseUp(double canvasX, double canvasY){return STATUS_SKIP;}
  int mouseMove(double canvasX,double canvasY, double canvasXPrev, double canvasYPrev, MouseEvent evt){return STATUS_SKIP;}
  void cancel(){}
  
}
Something went wrong with that request. Please try again.