001/* 002 * Copyright 2010-2015 Institut Pasteur. 003 * 004 * This file is part of Icy. 005 * 006 * Icy is free software: you can redistribute it and/or modify 007 * it under the terms of the GNU General Public License as published by 008 * the Free Software Foundation, either version 3 of the License, or 009 * (at your option) any later version. 010 * 011 * Icy is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 014 * GNU General Public License for more details. 015 * 016 * You should have received a copy of the GNU General Public License 017 * along with Icy. If not, see <http://www.gnu.org/licenses/>. 018 */ 019package icy.gui.main; 020 021/** 022 * @deprecated Use one of these interface instead:<br/> 023 * {@link GlobalViewerListener}<br/> 024 * {@link GlobalSequenceListener}<br/> 025 * {@link GlobalROIListener}<br/> 026 * {@link GlobalOverlayListener}<br/> 027 * {@link GlobalPluginListener} 028 * @author Stephane 029 */ 030@Deprecated 031public abstract class MainAdaptater implements MainListener 032{ 033 /* 034 * (non-Javadoc) 035 * 036 * @see icy.gui.main.MainListener#painterAdded(icy.gui.main.MainEvent) 037 */ 038 @Override 039 public void painterAdded(MainEvent event) 040 { 041 042 } 043 044 /* 045 * (non-Javadoc) 046 * 047 * @see icy.gui.main.MainListener#painterRemoved(icy.gui.main.MainEvent) 048 */ 049 @Override 050 public void painterRemoved(MainEvent event) 051 { 052 053 } 054 055 /* 056 * (non-Javadoc) 057 * 058 * @see icy.gui.main.MainListener#roiAdded(icy.gui.main.MainEvent) 059 */ 060 @Override 061 public void roiAdded(MainEvent event) 062 { 063 064 } 065 066 /* 067 * (non-Javadoc) 068 * 069 * @see icy.gui.main.MainListener#roiRemoved(icy.gui.main.MainEvent) 070 */ 071 @Override 072 public void roiRemoved(MainEvent event) 073 { 074 075 } 076 077 /* 078 * (non-Javadoc) 079 * 080 * @see icy.gui.main.MainListener#sequenceClosed(icy.gui.main.MainEvent) 081 */ 082 @Override 083 public void sequenceClosed(MainEvent event) 084 { 085 086 } 087 088 /* 089 * (non-Javadoc) 090 * 091 * @see icy.gui.main.MainListener#sequenceFocused(icy.gui.main.MainEvent) 092 */ 093 @Override 094 public void sequenceFocused(MainEvent event) 095 { 096 097 } 098 099 /* 100 * (non-Javadoc) 101 * 102 * @see icy.gui.main.MainListener#sequenceOpened(icy.gui.main.MainEvent) 103 */ 104 @Override 105 public void sequenceOpened(MainEvent event) 106 { 107 108 } 109 110 /* 111 * (non-Javadoc) 112 * 113 * @see icy.gui.main.MainListener#viewerClosed(icy.gui.main.MainEvent) 114 */ 115 @Override 116 public void viewerClosed(MainEvent event) 117 { 118 119 } 120 121 /* 122 * (non-Javadoc) 123 * 124 * @see icy.gui.main.MainListener#viewerFocused(icy.gui.main.MainEvent) 125 */ 126 @Override 127 public void viewerFocused(MainEvent event) 128 { 129 130 } 131 132 /* 133 * (non-Javadoc) 134 * 135 * @see icy.gui.main.MainListener#viewerOpened(icy.gui.main.MainEvent) 136 */ 137 @Override 138 public void viewerOpened(MainEvent event) 139 { 140 141 } 142 143 /* 144 * (non-Javadoc) 145 * 146 * @see icy.gui.main.MainListener#pluginClosed(icy.gui.main.MainEvent) 147 */ 148 @Override 149 public void pluginClosed(MainEvent event) 150 { 151 152 } 153 154 /* 155 * (non-Javadoc) 156 * 157 * @see icy.gui.main.MainListener#pluginOpened(icy.gui.main.MainEvent) 158 */ 159 @Override 160 public void pluginOpened(MainEvent event) 161 { 162 163 } 164 165}