1 /* 2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package com.sun.glass.ui.lens; 27 28 import com.sun.glass.ui.MenuItem.Callback; 29 import com.sun.glass.ui.Pixels; 30 import com.sun.glass.ui.delegate.MenuDelegate; 31 import com.sun.glass.ui.delegate.MenuItemDelegate; 32 33 final class LensMenuDelegate implements MenuDelegate, MenuItemDelegate { 34 35 public boolean createMenu(String title, boolean enabled) { 36 LensLogger.getLogger().severe("Not implemented"); 37 return true; 38 } 39 40 public boolean setTitle(String title) { 41 LensLogger.getLogger().severe("Not implemented"); 42 return true; 43 } 44 45 public boolean setEnabled(boolean enabled) { 46 LensLogger.getLogger().severe("Not implemented"); 47 return true; 48 } 49 50 public boolean insert(MenuDelegate menu, int pos) { 51 LensLogger.getLogger().severe("Not implemented"); 52 return true; 53 } 54 55 public boolean insert(MenuItemDelegate item, int pos) { 56 LensLogger.getLogger().severe("Not implemented"); 57 return true; 58 } 59 60 public boolean remove(MenuDelegate menu, int pos) { 61 LensLogger.getLogger().severe("Not implemented"); 62 return true; 63 } 64 65 public boolean remove(MenuItemDelegate item, int pos) { 66 LensLogger.getLogger().severe("Not implemented"); 67 return true; 68 } 69 70 public boolean createMenuItem(String title, Callback callback, int shortcutKey, int shortcutModifiers, Pixels pixels, boolean enabled, boolean checked) { 71 LensLogger.getLogger().severe("Not implemented"); 72 return true; 73 } 74 75 public boolean setCallback(Callback callback) { 76 LensLogger.getLogger().severe("Not implemented"); 77 return true; 78 } 79 80 public boolean setShortcut(int shortcutKey, int shortcutModifiers) { 81 LensLogger.getLogger().severe("Not implemented"); 82 return true; 83 } 84 85 public boolean setPixels(Pixels pixels) { 86 LensLogger.getLogger().severe("Not implemented"); 87 return true; 88 } 89 90 public boolean setChecked(boolean checked) { 91 LensLogger.getLogger().severe("Not implemented"); 92 return true; 93 } 94 95 }