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.imagej.patches; 020 021 022/** 023 * @author Stephane 024 */ 025public class MacAdapterMethods 026{ 027 private MacAdapterMethods() 028 { 029 // prevent instantiation of utility class 030 } 031 032 /** Replaces {@link MacAdapter#run(java.lang.String)}. */ 033 public static void run(final Object obj, Object event) 034 { 035 // do nothing 036 } 037 038 /** Replaces {@link MacAdapter#handleAbout(com.apple.eawt.ApplicationEvent)}. */ 039 public static void handleAbout(final Object obj, Object event) 040 { 041 // do nothing 042 } 043 044 /** Replaces {@link MacAdapter#handleOpenApplication(com.apple.eawt.ApplicationEvent)}. */ 045 public static void handleOpenApplication(final Object obj, Object event) 046 { 047 // do nothing 048 } 049 050 /** Replaces {@link MacAdapter#handleOpenFile(com.apple.eawt.ApplicationEvent)}. */ 051 public static void handleOpenFile(final Object obj, Object event) 052 { 053 // do nothing 054 } 055 056 /** Replaces {@link MacAdapter#handlePreferences(com.apple.eawt.ApplicationEvent)}. */ 057 public static void handlePreferences(final Object obj, Object event) 058 { 059 // do nothing 060 } 061 062 /** Replaces {@link MacAdapter#handlePrintFile(com.apple.eawt.ApplicationEvent)}. */ 063 public static void handlePrintFile(final Object obj, Object event) 064 { 065 // do nothing 066 } 067 068 /** Replaces {@link MacAdapter#handleQuit(com.apple.eawt.ApplicationEvent)}. */ 069 public static void handleQuit(final Object obj, Object event) 070 { 071 // do nothing 072 } 073 074 /** Replaces {@link MacAdapter#handleReOpenApplication(com.apple.eawt.ApplicationEvent)}. */ 075 public static void handleReOpenApplication(final Object obj, Object event) 076 { 077 // do nothing 078 } 079}