001/******************************************************************************* 002 * This software is provided as a supplement to the authors' textbooks on digital 003 * image processing published by Springer-Verlag in various languages and editions. 004 * Permission to use and distribute this software is granted under the BSD 2-Clause 005 * "Simplified" License (see http://opensource.org/licenses/BSD-2-Clause). 006 * Copyright (c) 2006-2016 Wilhelm Burger, Mark J. Burge. All rights reserved. 007 * Visit http://imagingbook.com for additional details. 008 *******************************************************************************/ 009 010package imagingbook.lib.ij; 011 012/** 013 * @author wilbur 014 * To be implemented by ImageJ plugins for supporting a simple callback mechanism. 015 * Examples can be found in classes IjPlugin_Handling_Callbacks and ClassCreatingCallbacks. 016 * 017 * @see CallbackSender 018 * 019 */ 020 021public interface CallbackHandler { 022 023 public void handleCallback(CallbackSender source, int id); 024 025} 026 027 028 029