• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.clients
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Changeset
  • Next Changeset →

Changeset 5544

Show
Ignore:
Timestamp:
07/22/08 11:38:43 (3 months ago)
Author:
donald
Message:

fix to small bugs

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  
    312312        public void displayAnalysisResults() 
    313313        { 
    314                 //if(state==State.ANALYSING) 
    315                 //      return; 
    316                 //state = State.ANALYSING; 
    317314                this.ROIStats = model.getAnalysisResults(); 
    318315                if (ROIStats == null || ROIStats.size() == 0) return; 
    … …  
    388385        private void getResults(ROIShape shape) 
    389386        { 
    390         //      if(state==State.ANALYSING) 
    391         //              return; 
    392387                Vector<Vector> rows = new Vector<Vector>(); 
    393388                 
    … …  
    504499        private void addResults() 
    505500        { 
     501                Set<Figure> selectedFigures = view.getDrawingView().getSelectedFigures(); 
     502                if(selectedFigures.size()==0) 
     503                        return; 
    506504                if(state == State.ANALYSING) 
    507505                        return; 
    508506                state = State.ANALYSING; 
    509                 Set<Figure> selectedFigures = view.getDrawingView().getSelectedFigures();  
    510507                ArrayList<ROIShape> shapeList = new ArrayList<ROIShape>(); 
    511508                Iterator<Figure> iterator =  selectedFigures.iterator(); 
  • trunk/SRC/org/openmicroscopy/shoola/util/roi/figures/MeasureBezierFigure.java

    r5194 r5544  
    6868{ 
    6969 
     70         
     71        boolean c; 
    7072        /** The list of X coords of the nodes on the line. */ 
    7173        private ArrayList<Double>                       pointArrayX; 
    … …  
    9395        { 
    9496                super("Text"); 
     97                c = true; 
    9598                shape = null; 
    9699                roi = null; 
    … …  
    107110        { 
    108111                super("Text", closed); 
     112                c = closed; 
    109113                pointArrayX = new ArrayList<Double>(); 
    110114                pointArrayY = new ArrayList<Double>(); 
    … …  
    119123        { 
    120124                super(text, true); 
     125                c = true; 
    121126                pointArrayX = new ArrayList<Double>(); 
    122127                pointArrayY = new ArrayList<Double>(); 
    … …  
    132137        { 
    133138                super(text, closed); 
     139                c = closed; 
    134140                pointArrayX = new ArrayList<Double>(); 
    135141                pointArrayY = new ArrayList<Double>(); 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/