Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.

1 package org.antlr.works.debugger.panels;2 3 import org.antlr.runtime.Token;4 importorg.antlr.works.debugger.input.DBInputProcessor;5 importorg.antlr.works.debugger.input.DBInputTextTokenInfo;6 7 import javax.swing.*;8 /*9 10 [The "BSD licence"]11 Copyright (c) 2005-2006 Jean Bovet12 All rights reserved.13 14 Redistribution and use in source and binary forms, with or without15 modification, are permitted provided that the following conditions16 are met:17 18 1. Redistributions of source code must retain the above copyright19 notice, this list of conditions and the following disclaimer.20 2. Redistributions in binary form must reproduce the above copyright21 notice, this list of conditions and the following disclaimer in the22 documentation and/or other materials provided with the distribution.23 3. The name of the author may not be used to endorse or promote products24 derived from this software without specific prior written permission.25 26 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR27 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES28 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.29 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,30 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT31 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,32 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY33 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT34 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF35 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.36 37 */38 39 publicinterface DBInputConcretePanel {40 41 publicvoid close();42 publicvoid stop();43 44 public JComponent getComponent();45 publicDBInputProcessor getInputProcessor();46 47 publicvoid toggleInputTextTokensBox();48 publicboolean isInputTokensBoxVisible();49 50 publicboolean isBreakpointAtToken(Token token);51 52 publicvoid selectToken(Token token);53 publicDBInputTextTokenInfo getTokenInfoForToken(Token token);54 55 publicvoid updateOnBreakEvent();56 57 }58