jaroslav@1023: /** jaroslav@1023: * Back 2 Browser Bytecode Translator jaroslav@1023: * Copyright (C) 2012 Jaroslav Tulach jaroslav@1023: * jaroslav@1023: * This program is free software: you can redistribute it and/or modify jaroslav@1023: * it under the terms of the GNU General Public License as published by jaroslav@1023: * the Free Software Foundation, version 2 of the License. jaroslav@1023: * jaroslav@1023: * This program is distributed in the hope that it will be useful, jaroslav@1023: * but WITHOUT ANY WARRANTY; without even the implied warranty of jaroslav@1023: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jaroslav@1023: * GNU General Public License for more details. jaroslav@1023: * jaroslav@1023: * You should have received a copy of the GNU General Public License jaroslav@1023: * along with this program. Look for COPYING file in the top folder. jaroslav@1023: * If not, see http://opensource.org/licenses/GPL-2.0. jaroslav@1023: */ jaroslav@1023: package org.apidesign.bck2brwsr.htmlpage; jaroslav@1023: jaroslav@1023: import net.java.html.json.Context; jaroslav@1023: import org.apidesign.html.json.spi.ContextProvider; jaroslav@1023: import org.openide.util.lookup.ServiceProvider; jaroslav@1023: jaroslav@1023: /** jaroslav@1023: * jaroslav@1023: * @author Jaroslav Tulach jaroslav@1023: */ jaroslav@1023: @ServiceProvider(service = ContextProvider.class) jaroslav@1023: public final class BrwsrCntxtPrvdr implements ContextProvider { jaroslav@1023: @Override jaroslav@1023: public Context findContext(Class requestor) { jaroslav@1023: return BrwsrCntxt.DEFAULT; jaroslav@1023: } jaroslav@1023: }