Changeset 5544
- Timestamp:
- 07/22/08 11:38:43 (3 months ago)
- Location:
- trunk/SRC/org/openmicroscopy/shoola
- Files:
-
- 2 modified
-
agents/measurement/view/IntensityResultsView.java (modified) (3 diffs)
-
util/roi/figures/MeasureBezierFigure.java (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/org/openmicroscopy/shoola/agents/measurement/view/IntensityResultsView.java
r5542 r5544 312 312 public void displayAnalysisResults() 313 313 { 314 //if(state==State.ANALYSING)315 // return;316 //state = State.ANALYSING;317 314 this.ROIStats = model.getAnalysisResults(); 318 315 if (ROIStats == null || ROIStats.size() == 0) return; … … 388 385 private void getResults(ROIShape shape) 389 386 { 390 // if(state==State.ANALYSING)391 // return;392 387 Vector<Vector> rows = new Vector<Vector>(); 393 388 … … 504 499 private void addResults() 505 500 { 501 Set<Figure> selectedFigures = view.getDrawingView().getSelectedFigures(); 502 if(selectedFigures.size()==0) 503 return; 506 504 if(state == State.ANALYSING) 507 505 return; 508 506 state = State.ANALYSING; 509 Set<Figure> selectedFigures = view.getDrawingView().getSelectedFigures();510 507 ArrayList<ROIShape> shapeList = new ArrayList<ROIShape>(); 511 508 Iterator<Figure> iterator = selectedFigures.iterator(); -
trunk/SRC/org/openmicroscopy/shoola/util/roi/figures/MeasureBezierFigure.java
r5194 r5544 68 68 { 69 69 70 71 boolean c; 70 72 /** The list of X coords of the nodes on the line. */ 71 73 private ArrayList<Double> pointArrayX; … … 93 95 { 94 96 super("Text"); 97 c = true; 95 98 shape = null; 96 99 roi = null; … … 107 110 { 108 111 super("Text", closed); 112 c = closed; 109 113 pointArrayX = new ArrayList<Double>(); 110 114 pointArrayY = new ArrayList<Double>(); … … 119 123 { 120 124 super(text, true); 125 c = true; 121 126 pointArrayX = new ArrayList<Double>(); 122 127 pointArrayY = new ArrayList<Double>(); … … 132 137 { 133 138 super(text, closed); 139 c = closed; 134 140 pointArrayX = new ArrayList<Double>(); 135 141 pointArrayY = new ArrayList<Double>();
