/*
*------------------------------------------------------------------------------
* Copyright (C) 2016 University of Dundee. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*------------------------------------------------------------------------------
*/
package org.openmicroscopy.shoola.agents.events.measurement;
import org.openmicroscopy.shoola.env.event.AgentEvent;
/**
* Event indicating that ROIs have changed (saved, removed, etc.)
*
* @author Domink Lindner <a
* href="mailto:d.lindner@dundee.ac.uk">d.lindner@dundee.ac.uk</a>
*
*/
public class ROIEvent extends AgentEvent {
/** The image id */
private long imageId = -1;
/**
* Creates a new instance
*
* @param imageId
* The image id
*/
public ROIEvent(long imageId) {
this.imageId = imageId;
}
/**
* Get the image id
*
* @return See above
*/
public long getImageId() {
return imageId;
}
/**
* Set the imageId
*
* @param imageId
* The image id
*/
public void setImageId(long imageId) {
this.imageId = imageId;
}
}