bugged
stringlengths 6
599k
| fixed
stringlengths 6
40.8M
| __index_level_0__
int64 0
3.24M
|
|---|---|---|
public final char readChar() throws java.io.IOException { if (++curBuf.curPos >= curBuf.dataLen) { if (backupChars > 0) swapBuf(); else FillBuff(); }; char c = (char)((char)0xff & curBuf.buffer[curBuf.curPos]); // No need to update line numbers if we've already processed this char if (backupChars > 0) --backupChars; else UpdateLineColumn(c); return (c); }
|
public final char readChar() throws java.io.IOException { if (++curBuf.curPos >= curBuf.dataLen) { if (backupChars > 0) swapBuf(); else FillBuff(); }; char c = (char)((char)0xff & curBuf.buffer[curBuf.curPos]); // No need to update line numbers if we've already processed this char if (backupChars > 0) --backupChars; else UpdateLineColumn(c); return (c); }
| 3,237,039
|
private void swapBuf() { if (otherBuf == null) { curBuf = bufB; otherBuf = bufA; } else { Buffer tmp = curBuf; curBuf = otherBuf; otherBuf = tmp; } }
|
private void swapBuf() { if (otherBuf == null) { curBuf = bufB; otherBuf = bufA; } else { Buffer tmp = curBuf; curBuf = otherBuf; otherBuf = tmp; } }
| 3,237,040
|
public void nd_iter(NODE n) { u3 = n; }
|
public void nd_iter(NODE n) { u3 = n; }
| 3,237,041
|
public void execute(EvaluationState state, InstructionContext ctx) { LocalAsgnNode iVisited = (LocalAsgnNode)ctx; state.runtime.getCurrentContext().getCurrentScope().setValue(iVisited.getCount(), state.getResult()); }
|
public void execute(EvaluationState state, InstructionContext ctx) { LocalAsgnNode iVisited = (LocalAsgnNode)ctx; state.runtime.getCurrentContext().getCurrentScope().setValue(iVisited.getCount(), state.getResult()); }
| 3,237,042
|
private static RubyModule getEnclosingModule(EvaluationState state, Node node) { RubyModule enclosingModule = null; if (node instanceof Colon2Node) { state.begin(((Colon2Node) node).getLeftNode()); if (state.getResult() != null && !state.getResult().isNil()) { enclosingModule = (RubyModule) state.getResult(); } } if (enclosingModule == null) { enclosingModule = state.getThreadContext().getRubyClass(); } return enclosingModule; }
|
private static RubyModule getEnclosingModule(EvaluationState state, Node node) { RubyModule enclosingModule = null; if (node instanceof Colon2Node) { state.begin(((Colon2Node) node).getLeftNode()); if (state.getResult() != null && !state.getResult().isNil()) { enclosingModule = (RubyModule) state.getResult(); } else if (node instanceof Colon3Node) { enclosingModule = state.runtime.getObject(); } } else if (node instanceof Colon3Node) { enclosingModule = state.runtime.getObject(); } if (enclosingModule == null) { enclosingModule = state.getThreadContext().getRubyClass(); } else if (node instanceof Colon3Node) { enclosingModule = state.runtime.getObject(); } return enclosingModule; }
| 3,237,043
|
protected void setUp() throws Exception { data = (OMEData) factory.getContext().getBean("data"); iPojos = factory.getPojosService(); iQuery = factory.getQueryService(); iUpdate = factory.getUpdateService(); try { iQuery.get(Experimenter.class,0l); } catch (Throwable t){ // TODO no, no, really. This is ok. (And temporary) } iQuery.get(Experimenter.class,0l); // if this one fails, skip rest. Login rootLogin = (Login) factory.getContext().getBean("rootLogin"); ServiceFactory rootFactory = new ServiceFactory( rootLogin ); fixture = new CreatePojosFixture( rootFactory ); fixture.createAllPojos(); GROUP_FILTER = new PojoOptions().grp(fixture.g.getId()); OWNER_FILTER = new PojoOptions().exp(fixture.e.getId()); }
|
protected void setUp() throws Exception { data = (OMEData) factory.getContext().getBean("data"); iPojos = factory.getPojosService(); iQuery = factory.getQueryService(); iUpdate = factory.getUpdateService(); try { iQuery.get(Experimenter.class,0l); } catch (Throwable t){ // TODO no, no, really. This is ok. (And temporary) } iQuery.get(Experimenter.class,0l); // if this one fails, skip rest. Login rootLogin = (Login) factory.getContext().getBean("rootLogin"); ServiceFactory rootFactory = new ServiceFactory( rootLogin ); fixture = CreatePojosFixture.withNewUser( rootFactory ); fixture.createAllPojos(); GROUP_FILTER = new PojoOptions().grp(fixture.g.getId()); OWNER_FILTER = new PojoOptions().exp(fixture.e.getId()); }
| 3,237,044
|
protected void log(int level, String msg, Exception e) { super.log(level,msg,e); if ((level >= LogSource.WARNING) && hasTargets()) { _err.log("sys", LEVELS[level],msg,e); } }
|
protected void log(int level, String msg, Exception e) { super.log(level,msg,e); if ((level >= LogSource.NOTICE) && !hasTargets()) { _err.log("sys", LEVELS[level],msg,e); } }
| 3,237,045
|
public static void main(String[] args) { //@START int num = Integer.parseInt(args[0]); System.out.println("Ack(3," + num + "): " + Ack(3, num)); //@END }
|
public static void main(String[] args) { //@START int num = Integer.parseInt(args[0]); System.out.println("Ack(3," + num + "): " + Ack(3, num)); //@END }
| 3,237,046
|
final public Object build(BuildContext bc) throws BuildException { ArrayList strings = new ArrayList((elements.size())); ArrayList macros = new ArrayList((elements.size())); int[] ln = new int[elements.size()]; int[] cn = new int[elements.size()]; Stack iterStack = new Stack(); StringBuffer s = new StringBuffer(); Context.TemplateEvaluationContext tec = bc.getTemplateEvaluationContext(); // flatten everything and view the content as being: // string (macro string)* string // store that as an array of strings and an array of // Macro objects and create a block. BlockIterator iter = new BBIterator(); tec._templateName = name; while (iter.hasNext()) { Object o = iter.next(); // track line/column numbers in the build context // so that bc.getCurrentLocation() stays current tec._lineNo = iter.getLineNo(); tec._columnNo = iter.getColNo(); if (o instanceof Builder) o = ((Builder) o).build(bc); if (o instanceof Block) { iterStack.push(iter); iter = ((Block) o).getBlockIterator(); } else { if (o instanceof Macro) { strings.add(s.toString()); s = new StringBuffer(); // do not reuse StringBuffer, // otherwise all strings will contain char[] of max length!! macros.add(o); // Now deal with the line numbers int size = macros.size(); if (ln.length < size) { ln = resizeIntArray(ln, ln.length * 2); cn = resizeIntArray(cn, cn.length * 2); } ln[size - 1] = iter.getLineNo(); cn[size - 1] = iter.getColNo(); } else if (o != null) { s.append(o.toString()); } } while (!iter.hasNext() && !iterStack.empty()) iter = (BlockIterator) iterStack.pop(); } strings.add(s.toString()); Macro finalMacros[] = (Macro[]) macros.toArray(mArray); String finalStrings[] = (String[]) strings.toArray(sArray); int finalLines[] = resizeIntArray(ln, macros.size()); int finalCols[] = resizeIntArray(cn, macros.size()); return new Block(name, finalStrings, finalMacros, finalLines, finalCols); }
|
final public Object build(BuildContext bc) throws BuildException { ArrayList strings = new ArrayList((elements.size())); ArrayList macros = new ArrayList((elements.size())); int[] ln = new int[elements.size()]; int[] cn = new int[elements.size()]; Stack iterStack = new Stack(); StringBuffer s = new StringBuffer(); Context.TemplateEvaluationContext tec = bc.getTemplateEvaluationContext(); // flatten everything and view the content as being: // string (macro string)* string // store that as an array of strings and an array of // Macro objects and create a block. BlockIterator iter = new BBIterator(); tec._templateName = name; while (iter.hasNext()) { Object o = iter.next(); // track line/column numbers in the build context // so that bc.getCurrentLocation() stays current tec._lineNo = iter.getLineNo(); tec._columnNo = iter.getColNo(); if (o instanceof Builder) o = ((Builder) o).build(bc); if (o instanceof Block) { iterStack.push(iter); iter = ((Block) o).getBlockIterator(); } else { if (o instanceof Macro) { strings.add(s.toString()); s = new StringBuffer(); // do not reuse StringBuffer, // otherwise all strings will contain char[] of max length!! macros.add(o); // Now deal with the line numbers int size = macros.size(); if (ln.length < size) { ln = resizeIntArray(ln, ln.length * 2); cn = resizeIntArray(cn, cn.length * 2); } ln[size - 1] = iter.getLineNo(); cn[size - 1] = iter.getColNo(); } else if (o != null) { s.append(o.toString()); } } while (!iter.hasNext() && !iterStack.empty()) iter = (BlockIterator) iterStack.pop(); } strings.add(s.toString()); Macro finalMacros[] = (Macro[]) macros.toArray(mArray); String finalStrings[] = (String[]) strings.toArray(sArray); int finalLines[] = resizeIntArray(ln, macros.size()); int finalCols[] = resizeIntArray(cn, macros.size()); return new Block(name, finalStrings, finalMacros, finalLines, finalCols); }
| 3,237,047
|
public <T extends IObject> Map findAnnotations( @NotNull Class<T> rootNodeType, @NotNull @Validate(Long.class) Set<Long> rootNodeIds, @Validate(Long.class) Set<Long> annotatorIds, Map options);
|
public <T extends IObject> Map<Long, Set<? extends IObject>> findAnnotations( @NotNull Class<T> rootNodeType, @NotNull @Validate(Long.class) Set<Long> rootNodeIds, @Validate(Long.class) Set<Long> annotatorIds, Map options);
| 3,237,048
|
public void execute(EvaluationState state, InstructionContext ctx) { // now used as an interpreter event JumpException je = new JumpException(JumpException.JumpType.NextJump); je.setPrimaryData(state.getResult()); je.setSecondaryData(ctx); state.setCurrentException(je); throw je; }
|
public void execute(EvaluationState state, InstructionContext ctx) { // now used as an interpreter event JumpException je = new JumpException(JumpException.JumpType.NextJump); je.setPrimaryData(state.getResult()); je.setSecondaryData(ctx); state.setCurrentException(je); }
| 3,237,049
|
public void execute(EvaluationState state, InstructionContext ctx) { // now used as an interpreter event JumpException je = new JumpException(JumpException.JumpType.RedoJump); je.setSecondaryData(ctx); throw je; }
|
public void execute(EvaluationState state, InstructionContext ctx) { // now used as an interpreter event JumpException je = new JumpException(JumpException.JumpType.RedoJump); je.setSecondaryData(ctx); state.setCurrentException(je); }
| 3,237,050
|
public String toString(){ return "Category"+(attributeId==null ? ":Hash"+this.hashCode() : ":"+attributeId); }
|
public String toString(){ return "Category"+(attributeId==null ? ":Hash_"+this.hashCode() : ":Id_"+attributeId); }
| 3,237,051
|
private void resetAllFacades(String url){ String[] beans=SpringHarness.ctx.getBeanDefinitionNames(); for (int i=0;i<beans.length;i++) { HessianProxyFactoryBean fb = (HessianProxyFactoryBean) SpringHarness.ctx.getBean(SpringHarness.ctx.FACTORY_BEAN_PREFIX+beans[i]); String oldUrl = fb.getServiceUrl(); String service = oldUrl.substring(oldUrl.lastIndexOf("/")); fb.setServiceUrl(url+service); try { fb.afterPropertiesSet(); } catch (MalformedURLException e) { throw new OmeroException("Improperly formed url.",e); // TODO } } }
|
private void resetAllFacades(String url){ String[] beans=SpringHarness.ctx.getBeanDefinitionNames(); for (int i=0;i<beans.length;i++) { HessianProxyFactoryBean fb = (HessianProxyFactoryBean) SpringHarness.ctx.getBean(SpringHarness.ctx.FACTORY_BEAN_PREFIX+beans[i]); String oldUrl = fb.getServiceUrl(); String service = oldUrl.substring(oldUrl.lastIndexOf("/")); fb.setServiceUrl(url+service); try { fb.afterPropertiesSet(); } catch (MalformedURLException e) { throw new OmeroException("Improperly formed url.",e); // TODO } } }
| 3,237,052
|
private BufferedImage createScaledImage(Pixels pixels, RenderingDef def, Integer sizeX, Integer sizeY) { // Original sizes and thumbnail metadata int origSizeX = pixels.getSizeX(); int origSizeY = pixels.getSizeY(); // Lookup user's rendering definition if one is not given to us if (def == null) def = getRenderingDef(pixels); // Retrieve our rendered data and translate to a buffered image initializeRenderingEngine(pixels, def); RGBBuffer buf = re.render(new PlaneDef(PlaneDef.XY, re.getDefaultT())); BufferedImage image = createBufferedImage(buf, origSizeX, origSizeY); // Finally, scale our image using scaling factors (percentage). log.info("Setting xScale factor: " + sizeX + "/" + origSizeX); float xScale = (float) sizeX / origSizeX; log.info("Setting yScale factor: " + sizeX + "/" + origSizeX); float yScale = (float) sizeY / origSizeY; return iScale.scaleBufferedImage(image, xScale, yScale); }
|
private BufferedImage createScaledImage(Pixels pixels, RenderingDef def, Integer sizeX, Integer sizeY) { // Original sizes and thumbnail metadata int origSizeX = pixels.getSizeX(); int origSizeY = pixels.getSizeY(); // Lookup user's rendering definition if one is not given to us if (def == null) def = getRenderingDef(pixels); // Retrieve our rendered data and translate to a buffered image initializeRenderingEngine(pixels, def); RGBBuffer buf = re.render(new PlaneDef(PlaneDef.XY, re.getDefaultT())); BufferedImage image = createBufferedImage(buf, origSizeX, origSizeY); // Finally, scale our image using scaling factors (percentage). log.info("Setting xScale factor: " + sizeX + "/" + origSizeX); float xScale = (float) sizeX / origSizeX; log.info("Setting yScale factor: " + sizeX + "/" + origSizeX); float yScale = (float) sizeY / origSizeY; return iScale.scaleBufferedImage(image, xScale, yScale); }
| 3,237,059
|
void fireFilteredImageDataLoading(Set nodes) { Set ids = new HashSet(nodes.size()); Iterator i = nodes.iterator(); if (filterType == Browser.IN_DATASET_FILTER) { while (i.hasNext()) ids.add(new Long(((DatasetData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, DatasetData.class, ids, true); } else if (filterType == Browser.IN_CATEGORY_FILTER) { while (i.hasNext()) ids.add(new Long(((CategoryData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, CategoryData.class, ids, true); } currentLoader.load(); state = Browser.LOADING_DATA; }
|
void fireFilteredImageDataLoading(Set nodes) { Set ids = new HashSet(nodes.size()); Iterator i = nodes.iterator(); if (filterType == Browser.IN_DATASET_FILTER) { while (i.hasNext()) ids.add(new Long(((DatasetData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, DatasetData.class, ids, true); } else if (filterType == Browser.IN_CATEGORY_FILTER) { while (i.hasNext()) ids.add(new Long(((CategoryData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, CategoryData.class, ids, true); } currentLoader.load(); state = Browser.LOADING_DATA; }
| 3,237,060
|
void fireFilteredImageDataLoading(Set nodes) { Set ids = new HashSet(nodes.size()); Iterator i = nodes.iterator(); if (filterType == Browser.IN_DATASET_FILTER) { while (i.hasNext()) ids.add(new Long(((DatasetData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, DatasetData.class, ids, true); } else if (filterType == Browser.IN_CATEGORY_FILTER) { while (i.hasNext()) ids.add(new Long(((CategoryData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, CategoryData.class, ids, true); } currentLoader.load(); state = Browser.LOADING_DATA; }
|
void fireFilteredImageDataLoading(Set nodes) { Set ids = new HashSet(nodes.size()); Iterator i = nodes.iterator(); if (filterType == Browser.IN_DATASET_FILTER) { while (i.hasNext()) ids.add(new Long(((DatasetData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, DatasetData.class, ids, true); } else if (filterType == Browser.IN_CATEGORY_FILTER) { while (i.hasNext()) ids.add(new Long(((CategoryData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, CategoryData.class, ids, true); } currentLoader.load(); state = Browser.LOADING_DATA; }
| 3,237,061
|
void fireFilteredImageDataLoading(Set nodes) { Set ids = new HashSet(nodes.size()); Iterator i = nodes.iterator(); if (filterType == Browser.IN_DATASET_FILTER) { while (i.hasNext()) ids.add(new Long(((DatasetData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, DatasetData.class, ids, true); } else if (filterType == Browser.IN_CATEGORY_FILTER) { while (i.hasNext()) ids.add(new Long(((CategoryData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, CategoryData.class, ids, true); } currentLoader.load(); state = Browser.LOADING_DATA; }
|
void fireFilteredImageDataLoading(Set nodes) { Set ids = new HashSet(nodes.size()); Iterator i = nodes.iterator(); if (filterType == Browser.IN_DATASET_FILTER) { while (i.hasNext()) ids.add(new Long(((DatasetData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, DatasetData.class, ids, true); } else if (filterType == Browser.IN_CATEGORY_FILTER) { while (i.hasNext()) ids.add(new Long(((CategoryData) i.next()).getId())); currentLoader = new ImagesInContainerLoader(component, CategoryData.class, ids, true); } currentLoader.load(); }
| 3,237,062
|
void fireLeavesLoading() { Object ho = getLastSelectedDisplay().getUserObject(); long id = 0; Class nodeType = null; if (ho instanceof DatasetData) { nodeType = DatasetData.class; id = ((DatasetData) ho).getId(); } else if (ho instanceof CategoryData) { nodeType = CategoryData.class; id = ((CategoryData) ho).getId(); } else throw new IllegalArgumentException("Not valid selected display"); state = Browser.LOADING_LEAVES; currentLoader = new ImagesInContainerLoader(component, nodeType, id); currentLoader.load(); }
|
void fireLeavesLoading() { TreeImageDisplay node = getLastSelectedDisplay(); if (node instanceof TreeImageNode) return; Object ho = node.getUserObject(); long id = 0; Class nodeType = null; if (ho instanceof DatasetData) { nodeType = DatasetData.class; id = ((DatasetData) ho).getId(); } else if (ho instanceof CategoryData) { nodeType = CategoryData.class; id = ((CategoryData) ho).getId(); } else throw new IllegalArgumentException("Not valid selected display"); state = Browser.LOADING_LEAVES; currentLoader = new ImagesInContainerLoader(component, nodeType, id); currentLoader.load(); }
| 3,237,063
|
void fireLeavesLoading() { Object ho = getLastSelectedDisplay().getUserObject(); long id = 0; Class nodeType = null; if (ho instanceof DatasetData) { nodeType = DatasetData.class; id = ((DatasetData) ho).getId(); } else if (ho instanceof CategoryData) { nodeType = CategoryData.class; id = ((CategoryData) ho).getId(); } else throw new IllegalArgumentException("Not valid selected display"); state = Browser.LOADING_LEAVES; currentLoader = new ImagesInContainerLoader(component, nodeType, id); currentLoader.load(); }
|
void fireLeavesLoading() { Object ho = getLastSelectedDisplay().getUserObject(); long id = 0; Class nodeType = null; if (ho instanceof DatasetData) { nodeType = DatasetData.class; id = ((DatasetData) ho).getId(); } else if (ho instanceof CategoryData) { nodeType = CategoryData.class; id = ((CategoryData) ho).getId(); } else throw new IllegalArgumentException("Not valid selected display"); state = Browser.LOADING_LEAVES; currentLoader = new ImagesInContainerLoader(component, nodeType, id, (TreeImageSet) node); currentLoader.load(); }
| 3,237,064
|
void viewDataObject() { TreeImageDisplay d = getLastSelectedDisplay(); if (d == null) return; if (d.getUserObject() instanceof ImageData) { ViewCmd cmd = new ViewCmd(parent); cmd.execute(); } }
|
void viewDataObject() { TreeImageDisplay d = getLastSelectedDisplay(); if (d == null) return; if (d.getUserObject() instanceof ImageData) { ViewCmd cmd = new ViewCmd(parent); cmd.execute(); } }
| 3,237,065
|
public void propertyChange(PropertyChangeEvent pce) { String propName = pce.getPropertyName(); if (propName.equals(Browser.SELECTED_DISPLAY_PROPERTY)) handleBrowserSelectedDisplay(pce); else if (propName.equals(ClipBoard.LOCALIZE_IMAGE_DISPLAY)) { ImageDisplay node = (ImageDisplay) pce.getNewValue(); ImageDisplay parent = node.getParentDisplay(); scrollToNode(node.getBounds(), parent, (parent.getParentDisplay() == null)); } }
|
public void propertyChange(PropertyChangeEvent pce) { String propName = pce.getPropertyName(); if (propName.equals(Browser.SELECTED_DISPLAY_PROPERTY)) handleBrowserSelectedDisplay(pce); else if (propName.equals(ClipBoard.LOCALIZE_IMAGE_DISPLAY)) { ImageDisplay node = (ImageDisplay) pce.getNewValue(); ImageDisplay parent = node.getParentDisplay(); scrollToNode(node.getBounds(), parent, (parent.getParentDisplay() == null)); } }
| 3,237,067
|
public void propertyChange(PropertyChangeEvent pce) { String propName = pce.getPropertyName(); if (propName.equals(Browser.SELECTED_DISPLAY_PROPERTY)) handleBrowserSelectedDisplay(pce); else if (propName.equals(ClipBoard.LOCALIZE_IMAGE_DISPLAY)) { ImageDisplay node = (ImageDisplay) pce.getNewValue(); ImageDisplay parent = node.getParentDisplay(); scrollToNode(node.getBounds(), parent, (parent.getParentDisplay() == null)); } }
|
public void propertyChange(PropertyChangeEvent pce) { String propName = pce.getPropertyName(); if (propName.equals(Browser.SELECTED_DISPLAY_PROPERTY)) handleBrowserSelectedDisplay(pce); else if (name.equals(ClipBoard.LOCALIZE_IMAGE_DISPLAY)) { ImageDisplay node = (ImageDisplay) pce.getNewValue(); ImageDisplay parent = node.getParentDisplay(); scrollToNode(node.getBounds(), parent, (parent.getParentDisplay() == null)); } }
| 3,237,068
|
public RubyObject begin(RubyFixnum index) { if (outOfBounds(index)) { return getRuby().getNil(); } return RubyFixnum.newFixnum(getRuby(), begin[(int) index.getValue()]); }
|
public RubyObject begin(RubyFixnum index) { if (outOfBounds(index)) { return getRuby().getNil(); } return RubyFixnum.newFixnum(getRuby(), begin[(int) index.getLongValue()]); }
| 3,237,070
|
public RubyObject end(RubyFixnum index) { if (outOfBounds(index)) { return getRuby().getNil(); } return RubyFixnum.newFixnum(getRuby(), end[(int) index.getValue()]); }
|
public RubyObject end(RubyFixnum index) { if (outOfBounds(index)) { return getRuby().getNil(); } return RubyFixnum.newFixnum(getRuby(), end[(int) index.getLongValue()]); }
| 3,237,071
|
private JPanel builPermissionPanel() { permissionPanel = new JPanel(); permissionPanel.setLayout(new GridBagLayout()); return permissionPanel; }
|
private JPanel builPermissionPanel() { permissionPanel = new JPanel(); permissionPanel.setLayout(new BorderLayout()); return permissionPanel; }
| 3,237,072
|
private JPanel buildContentPanel() { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, 5, 0, 100} }; //rows TableLayout layout = new TableLayout(tl); content.setLayout(layout); content.setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10)); content.add(UIUtilities.setTextFont("Name"), "0, 0, l, c"); content.add(nameArea, "1, 0, f, c"); content.add(new JLabel(), "0, 1, 1, 1"); JLabel l = UIUtilities.setTextFont("Description"); int h = l.getFontMetrics(l.getFont()).getHeight()+5; layout.setRow(2, h); content.add(l, "0, 2, l, c"); JScrollPane pane = new JScrollPane(descriptionArea); content.add(pane, "1, 2, 1, 3"); return content; }
|
private JPanel buildContentPanel() { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, 5, 0, 100} }; //rows TableLayout layout = new TableLayout(tl); content.setLayout(layout); content.setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10)); content.add(UIUtilities.setTextFont("Name"), "0, 0, l, c"); content.add(nameArea, "1, 0, f, c"); content.add(new JLabel(), "0, 1, 1, 1"); JLabel l = UIUtilities.setTextFont("Description"); int h = l.getFontMetrics(l.getFont()).getHeight()+5; layout.setRow(2, h); content.add(l, "0, 2, l, c"); JScrollPane pane = new JScrollPane(descriptionArea); content.add(pane, "1, 2, 1, 3"); return content; }
| 3,237,073
|
private void buildGUI() { setBorder(new EmptyBorder(5, 5, 5, 5)); setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); setOpaque(true); add(UIUtilities.buildComponentPanel(titleLabel)); add(new JSeparator()); bodyPanel = buildContentPanel(); bodyPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); add(bodyPanel); add(new JSeparator()); add(builPermissionPanel()); add(UIUtilities.buildComponentPanelRight(buildToolBar())); }
|
private void buildGUI() { setBorder(new EmptyBorder(5, 5, 5, 5)); setLayout(new BorderLayout()); setOpaque(true); add(UIUtilities.buildComponentPanel(titleLabel)); add(new JSeparator()); bodyPanel = buildContentPanel(); bodyPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); add(bodyPanel); add(new JSeparator()); add(builPermissionPanel()); add(UIUtilities.buildComponentPanelRight(buildToolBar())); }
| 3,237,074
|
private void buildGUI() { setBorder(new EmptyBorder(5, 5, 5, 5)); setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); setOpaque(true); add(UIUtilities.buildComponentPanel(titleLabel)); add(new JSeparator()); bodyPanel = buildContentPanel(); bodyPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); add(bodyPanel); add(new JSeparator()); add(builPermissionPanel()); add(UIUtilities.buildComponentPanelRight(buildToolBar())); }
|
private void buildGUI() { setBorder(new EmptyBorder(5, 5, 5, 5)); setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); setOpaque(true); add(UIUtilities.buildComponentPanel(titleLabel)); add(new JSeparator()); bodyPanel = buildContentPanel(); bodyPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); add(bodyPanel); add(new JSeparator()); add(builPermissionPanel()); add(UIUtilities.buildComponentPanelRight(buildToolBar())); }
| 3,237,075
|
void displayDetails(Map details, PermissionData permission) { permissionPanel.removeAll(); if (details != null) { GridBagConstraints c = new GridBagConstraints(); c.anchor = GridBagConstraints.WEST; c.gridwidth = GridBagConstraints.REMAINDER; //end row c.fill = GridBagConstraints.HORIZONTAL; c.weightx = 1.0; permissionPanel.add( new PermissionPane(this, model, details, permission), c); } }
|
void displayDetails(Map details, PermissionData permission) { permissionPanel.removeAll(); if (details != null) { GridBagConstraints c = new GridBagConstraints(); c.anchor = GridBagConstraints.WEST; c.gridwidth = GridBagConstraints.REMAINDER; //end row c.fill = GridBagConstraints.HORIZONTAL; c.weightx = 1.0; permissionPanel.add( new PermissionPane(this, model, details, permission), c); } }
| 3,237,076
|
void displayDetails(Map details, PermissionData permission) { permissionPanel.removeAll(); if (details != null) { GridBagConstraints c = new GridBagConstraints(); c.anchor = GridBagConstraints.WEST; c.gridwidth = GridBagConstraints.REMAINDER; //end row c.fill = GridBagConstraints.HORIZONTAL; c.weightx = 1.0; permissionPanel.add( new PermissionPane(this, model, details, permission), c); } }
|
void displayDetails(Map details, PermissionData permission) { permissionPanel.removeAll(); if (details != null) { GridBagConstraints c = new GridBagConstraints(); c.anchor = GridBagConstraints.WEST; c.gridwidth = GridBagConstraints.REMAINDER; //end row c.fill = GridBagConstraints.HORIZONTAL; c.weightx = 1.0; permissionPanel.add( new PermissionPane(this, model, details, permission), BorderLayout.NORTH); } }
| 3,237,077
|
void setAreas(String name, String description, String title, boolean isWritable) { nameArea.setEnabled(isWritable); nameArea.getDocument().removeDocumentListener(nameAreaListener); nameArea.setText(name); nameArea.getDocument().addDocumentListener(nameAreaListener); descriptionArea.setEnabled(isWritable); descriptionArea.getDocument().removeDocumentListener( descriptionAreaListener); descriptionArea.setText(description); descriptionArea.getDocument().addDocumentListener( descriptionAreaListener); bodyPanel.setVisible(!(name.equals(""))); titleLabel.setText(title); }
|
void setAreas(String name, String description, String title, boolean isWritable) { nameArea.setEnabled(isWritable); nameArea.getDocument().removeDocumentListener(nameAreaListener); nameArea.setText(name); nameArea.getDocument().addDocumentListener(nameAreaListener); descriptionArea.setEnabled(isWritable); descriptionArea.getDocument().removeDocumentListener( descriptionAreaListener); descriptionArea.setText(description); descriptionArea.getDocument().addDocumentListener( descriptionAreaListener); tabs.setVisible(!(name.equals(""))); finishButton.setEnabled(!(name.equals(""))); titleLabel.setText(title); }
| 3,237,079
|
public int getChannelFamily(int w) { rwl.readLock().lock(); try { errorIfInvalidState(); ChannelBinding[] cb = renderer.getChannelBindings(); return QuantumFactory.convertFamilyType(cb[w].getFamily()); } finally { rwl.readLock().unlock(); } }
|
public Family getChannelFamily(int w) { rwl.readLock().lock(); try { errorIfInvalidState(); ChannelBinding[] cb = renderer.getChannelBindings(); return QuantumFactory.convertFamilyType(cb[w].getFamily()); } finally { rwl.readLock().unlock(); } }
| 3,237,081
|
public int getChannelFamily(int w) { rwl.readLock().lock(); try { errorIfInvalidState(); ChannelBinding[] cb = renderer.getChannelBindings(); return QuantumFactory.convertFamilyType(cb[w].getFamily()); } finally { rwl.readLock().unlock(); } }
|
public int getChannelFamily(int w) { rwl.readLock().lock(); try { errorIfInvalidState(); ChannelBinding[] cb = renderer.getChannelBindings(); return cb[w].getFamily(); } finally { rwl.readLock().unlock(); } }
| 3,237,082
|
public int getModel() { rwl.readLock().lock(); try { errorIfNullRenderingDef(); return RenderingDefConstants.convertType(rendDefObj.getModel()); } finally { rwl.readLock().unlock(); } }
|
public RenderingModel getModel() { rwl.readLock().lock(); try { errorIfNullRenderingDef(); return RenderingDefConstants.convertType(rendDefObj.getModel()); } finally { rwl.readLock().unlock(); } }
| 3,237,083
|
public int getModel() { rwl.readLock().lock(); try { errorIfNullRenderingDef(); return RenderingDefConstants.convertType(rendDefObj.getModel()); } finally { rwl.readLock().unlock(); } }
|
public int getModel() { rwl.readLock().lock(); try { errorIfNullRenderingDef(); return rendDefObj.getModel(); } finally { rwl.readLock().unlock(); } }
| 3,237,084
|
public int[] getRGBA(int w) { rwl.readLock().lock(); try { errorIfInvalidState(); int[] rgba = new int[4]; ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor, copy = new int[rgba.length]; // System.arraycopy(rgba, 0, copy, 0, rgba.length); // return copy; // NOTE: The rgba is supposed to be read-only; however we make a // copy to be on the safe side. // TODO rgba[0] = cb[w].getColor().getRed().intValue(); rgba[1] = cb[w].getColor().getGreen().intValue(); rgba[2] = cb[w].getColor().getBlue().intValue(); rgba[3] = cb[w].getColor().getAlpha().intValue(); return rgba; } finally { rwl.readLock().unlock(); } }
|
public int[] getRGBA(int w) { rwl.readLock().lock(); try {errorIfInvalidState();int[] rgba = new int[4];ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor, copy = new int[rgba.length]; // System.arraycopy(rgba, 0, copy, 0, rgba.length); // return copy;// NOTE: The rgba is supposed to be read-only; however we make a// copy to be on the safe side.// TODOrgba[0] = cb[w].getColor().getRed().intValue();rgba[1] = cb[w].getColor().getGreen().intValue();rgba[2] = cb[w].getColor().getBlue().intValue();rgba[3] = cb[w].getColor().getAlpha().intValue();return rgba; } finally {rwl.readLock().unlock(); } }
| 3,237,085
|
public int[] getRGBA(int w) { rwl.readLock().lock(); try { errorIfInvalidState(); int[] rgba = new int[4]; ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor, copy = new int[rgba.length]; // System.arraycopy(rgba, 0, copy, 0, rgba.length); // return copy; // NOTE: The rgba is supposed to be read-only; however we make a // copy to be on the safe side. // TODO rgba[0] = cb[w].getColor().getRed().intValue(); rgba[1] = cb[w].getColor().getGreen().intValue(); rgba[2] = cb[w].getColor().getBlue().intValue(); rgba[3] = cb[w].getColor().getAlpha().intValue(); return rgba; } finally { rwl.readLock().unlock(); } }
|
publicint[]getRGBA(intw){rwl.readLock().lock();try{errorIfInvalidState();int[]rgba=newint[4];ChannelBinding[]cb=renderer.getChannelBindings();//int[]rgba=cb[w].getColor,copy=newint[rgba.length];//System.arraycopy(rgba,0,copy,0,rgba.length);//returncopy;//NOTE:Thergbaissupposedtoberead-only;howeverwemakea//copytobeonthesafeside.//TODOrgba[0]=cb[w].getColor().getRed().intValue();rgba[1]=cb[w].getColor().getGreen().intValue();rgba[2]=cb[w].getColor().getBlue().intValue();rgba[3]=cb[w].getColor().getAlpha().intValue();returnrgba;}finally{rwl.readLock().unlock();}}
| 3,237,086
|
public void load() { rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); StatsFactory sf = new StatsFactory(); // FIXME: This should be stripped out /* if (rendDefObj == null) { this.rendDefObj = Helper.createDefaultRenderingDef(pixelsObj,pixelStats); pixelsObj.getSettings().add(rendDefObj); } */ renderer = new Renderer(pixelsObj, rendDefObj, buffer); } finally { rwl.writeLock().unlock(); } }
|
public void load() { rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); StatsFactory sf = new StatsFactory(); // FIXME: This should be stripped out /* if (rendDefObj == null) { this.rendDefObj = Helper.createDefaultRenderingDef(pixelsObj,pixelStats); pixelsObj.getSettings().add(rendDefObj); } */ renderer = new Renderer(pixelsObj, rendDefObj, buffer); } finally { rwl.writeLock().unlock(); } }
| 3,237,087
|
public void setModel(int model) { rwl.writeLock().lock(); try { errorIfInvalidState(); renderer.setModel(model); } finally { rwl.writeLock().unlock(); } }
|
public void setModel(RenderingModel model) { rwl.writeLock().lock(); try { errorIfInvalidState(); renderer.setModel(model); } finally { rwl.writeLock().unlock(); } }
| 3,237,089
|
public void setQuantizationMap(int w, int family, double coefficient, boolean noiseReduction) { rwl.writeLock().lock(); try { errorIfInvalidState(); renderer.setQuantizationMap(w, family, coefficient, noiseReduction); } finally { rwl.writeLock().unlock(); } }
|
public void setQuantizationMap(int w, Family family, double coefficient, boolean noiseReduction) { rwl.writeLock().lock(); try { errorIfInvalidState(); renderer.setQuantizationMap(w, family, coefficient, noiseReduction); } finally { rwl.writeLock().unlock(); } }
| 3,237,090
|
public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,data); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { _log.exception(e); _log.error("Template: Could not write to ByteArrayOutputStream!"); return null; } }
|
public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,data); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { _log.exception(e); _log.error("Template: Could not write to ByteArrayOutputStream!"); return null; } }
| 3,237,091
|
final Object getValue(Context context) throws InvalidContextException { try { return context.getTool(_names); } catch (Exception e) { Engine.log.exception(e); String warning = "Variable: unable to access " + this + ";"; throw new InvalidContextException(warning); } }
|
final Object getValue(Context context) throws ContextException { try { return context.getTool(_names); } catch (Exception e) { Engine.log.exception(e); String warning = "Variable: unable to access " + this + ";"; throw new InvalidContextException(warning); } }
| 3,237,092
|
final Object getValue(Context context) throws InvalidContextException { try { return context.getTool(_names); } catch (Exception e) { Engine.log.exception(e); String warning = "Variable: unable to access " + this + ";"; throw new InvalidContextException(warning); } }
|
final Object getValue(Context context) throws InvalidContextException { try { return context.getTool(_names); } catch (Exception e) { Engine.log.exception(e); String warning = "Variable: unable to access " + this + ";"; throw new ContextException(warning); } }
| 3,237,093
|
final void setValue(Context context, Object newValue) throws InvalidContextException { try{ if (!context.setTool(_names,newValue)) { throw new InvalidContextException("No method to set \"" + _vname + "\" to type " + ((newValue == null) ? "null" : newValue.getClass().toString()) + " in supplied context (" + context.getClass() + ")"); } } catch (Exception e) { Engine.log.exception(e); String warning = "Variable.setValue: unable to access " + this + " (is it a public method/field?)"; throw new InvalidContextException(warning); } }
|
final void setValue(Context context, Object newValue) throws ContextException { try{ if (!context.setTool(_names,newValue)) { throw new InvalidContextException("No method to set \"" + _vname + "\" to type " + ((newValue == null) ? "null" : newValue.getClass().toString()) + " in supplied context (" + context.getClass() + ")"); } } catch (Exception e) { Engine.log.exception(e); String warning = "Variable.setValue: unable to access " + this + " (is it a public method/field?)"; throw new InvalidContextException(warning); } }
| 3,237,094
|
final void setValue(Context context, Object newValue) throws InvalidContextException { try{ if (!context.setTool(_names,newValue)) { throw new InvalidContextException("No method to set \"" + _vname + "\" to type " + ((newValue == null) ? "null" : newValue.getClass().toString()) + " in supplied context (" + context.getClass() + ")"); } } catch (Exception e) { Engine.log.exception(e); String warning = "Variable.setValue: unable to access " + this + " (is it a public method/field?)"; throw new InvalidContextException(warning); } }
|
final void setValue(Context context, Object newValue) throws InvalidContextException { try{ if (!context.setTool(_names,newValue)) { throw new ContextException("No method to set \"" + _vname + "\" to type " + ((newValue == null) ? "null" : newValue.getClass().toString()) + " in supplied context (" + context.getClass() + ")"); } } catch (Exception e) { Engine.log.exception(e); String warning = "Variable.setValue: unable to access " + this + " (is it a public method/field?)"; throw new InvalidContextException(warning); } }
| 3,237,095
|
final void setValue(Context context, Object newValue) throws InvalidContextException { try{ if (!context.setTool(_names,newValue)) { throw new InvalidContextException("No method to set \"" + _vname + "\" to type " + ((newValue == null) ? "null" : newValue.getClass().toString()) + " in supplied context (" + context.getClass() + ")"); } } catch (Exception e) { Engine.log.exception(e); String warning = "Variable.setValue: unable to access " + this + " (is it a public method/field?)"; throw new InvalidContextException(warning); } }
|
final void setValue(Context context, Object newValue) throws InvalidContextException { try{ if (!context.setTool(_names,newValue)) { throw new InvalidContextException("No method to set \"" + _vname + "\" to type " + ((newValue == null) ? "null" : newValue.getClass().toString()) + " in supplied context (" + context.getClass() + ")"); } } catch (Exception e) { Engine.log.exception(e); String warning = "Variable.setValue: unable to access " + this + " (is it a public method/field?)"; throw new ContextException(warning); } }
| 3,237,096
|
public static RubyModule createFileTestModule(IRuby runtime) { RubyModule fileTestModule = runtime.defineModule("FileTest"); CallbackFactory callbackFactory = runtime.callbackFactory(RubyFileTest.class); fileTestModule.defineSingletonMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineSingletonMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineSingletonMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineSingletonMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); fileTestModule.defineMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); return fileTestModule; }
|
public static RubyModule createFileTestModule(IRuby runtime) { RubyModule fileTestModule = runtime.defineModule("FileTest"); CallbackFactory callbackFactory = runtime.callbackFactory(RubyFileTest.class); fileTestModule.defineSingletonMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineSingletonMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineSingletonMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineSingletonMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); fileTestModule.defineMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); return fileTestModule; }
| 3,237,097
|
public static RubyModule createFileTestModule(IRuby runtime) { RubyModule fileTestModule = runtime.defineModule("FileTest"); CallbackFactory callbackFactory = runtime.callbackFactory(RubyFileTest.class); fileTestModule.defineSingletonMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineSingletonMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineSingletonMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineSingletonMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); fileTestModule.defineMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); return fileTestModule; }
|
public static RubyModule createFileTestModule(IRuby runtime) { RubyModule fileTestModule = runtime.defineModule("FileTest"); CallbackFactory callbackFactory = runtime.callbackFactory(RubyFileTest.class); fileTestModule.defineSingletonMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineSingletonMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineSingletonMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineSingletonMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineSingletonMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineSingletonMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); fileTestModule.defineMethod("file?", callbackFactory.getSingletonMethod("file_p", RubyString.class)); fileTestModule.defineMethod("directory?", callbackFactory.getSingletonMethod("directory_p", RubyString.class)); fileTestModule.defineMethod("exist?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("exists?", callbackFactory.getSingletonMethod("exist_p", RubyString.class)); fileTestModule.defineMethod("readable?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("readable_real?", callbackFactory.getSingletonMethod("readable_p", RubyString.class)); fileTestModule.defineMethod("size", callbackFactory.getSingletonMethod("size", RubyString.class)); fileTestModule.defineMethod("writable?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("writable_real?", callbackFactory.getSingletonMethod("writable_p", RubyString.class)); fileTestModule.defineMethod("zero?", callbackFactory.getSingletonMethod("zero_p", RubyString.class)); return fileTestModule; }
| 3,237,098
|
public static RubyBoolean directory_p(IRubyObject recv, RubyString filename) { return recv.getRuntime().newBoolean(newFile(filename).isDirectory()); }
|
public static RubyBoolean directory_p(IRubyObject recv, IRubyObject filename) { return recv.getRuntime().newBoolean(newFile(filename).isDirectory()); }
| 3,237,099
|
public static IRubyObject exist_p(IRubyObject recv, RubyString filename) { return recv.getRuntime().newBoolean(newFile(filename).exists()); }
|
public static IRubyObject exist_p(IRubyObject recv, IRubyObject filename) { return recv.getRuntime().newBoolean(newFile(filename).exists()); }
| 3,237,100
|
public static RubyBoolean file_p(IRubyObject recv, RubyString filename) { JRubyFile file = newFile(filename); return filename.getRuntime().newBoolean(file.isFile()); }
|
public static RubyBoolean file_p(IRubyObject recv, IRubyObject filename) { JRubyFile file = newFile(filename); return filename.getRuntime().newBoolean(file.isFile()); }
| 3,237,101
|
private static JRubyFile newFile(RubyString path) { return JRubyFile.create(path.getRuntime().getCurrentDirectory(), path.toString()); }
|
private static JRubyFile newFile(RubyString path) { return JRubyFile.create(path.getRuntime().getCurrentDirectory(), path.toString()); }
| 3,237,102
|
public static RubyBoolean readable_p(IRubyObject recv, RubyString filename) { return filename.getRuntime().newBoolean(newFile(filename).canRead()); }
|
public static RubyBoolean readable_p(IRubyObject recv, IRubyObject filename) { return filename.getRuntime().newBoolean(newFile(filename).canRead()); }
| 3,237,103
|
public static IRubyObject size(IRubyObject recv, RubyString filename) { JRubyFile file = newFile(filename); if (!file.exists()) { throw recv.getRuntime().newErrnoENOENTError("No such file: " + filename); } return filename.getRuntime().newFixnum(file.length()); }
|
public static IRubyObject size(IRubyObject recv, IRubyObject filename) { JRubyFile file = newFile(filename); if (!file.exists()) { throw recv.getRuntime().newErrnoENOENTError("No such file: " + filename); } return filename.getRuntime().newFixnum(file.length()); }
| 3,237,104
|
public static RubyBoolean writable_p(IRubyObject recv, RubyString filename) { return filename.getRuntime().newBoolean(newFile(filename).canWrite()); }
|
public static RubyBoolean writable_p(IRubyObject recv, IRubyObject filename) { return filename.getRuntime().newBoolean(newFile(filename).canWrite()); }
| 3,237,105
|
public static RubyBoolean zero_p(IRubyObject recv, RubyString filename) { JRubyFile file = newFile(filename); return filename.getRuntime().newBoolean(file.exists() && file.length() == 0L); }
|
public static RubyBoolean zero_p(IRubyObject recv, IRubyObject filename) { JRubyFile file = newFile(filename); return filename.getRuntime().newBoolean(file.exists() && file.length() == 0L); }
| 3,237,106
|
void onCurveChange() { String f = model.getFamily(); gammaSlider.setEnabled(!(f.equals(RendererModel.LINEAR) || f.equals(RendererModel.LOGARITHMIC))); graphicsPane.onCurveChange(); }
|
void onCurveChange() { String f = model.getFamily(); gammaSlider.setEnabled(!(f.equals(RendererModel.LINEAR) || f.equals(RendererModel.LOGARITHMIC))); graphicsPane.onCurveChange(); }
| 3,237,107
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID) { Criteria c = buildCategoryGroupCriteria(groupID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("module_execution"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex c.addWantedField("module_execution", "experimenter"); if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID, int userID) { Criteria c = buildCategoryGroupCriteria(groupID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("module_execution"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex c.addWantedField("module_execution", "experimenter"); if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
| 3,237,108
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID) { Criteria c = buildCategoryGroupCriteria(groupID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("module_execution"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex c.addWantedField("module_execution", "experimenter"); if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID) { Criteria c = buildCategoryGroupCriteria(groupID, userID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("module_execution"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex c.addWantedField("module_execution", "experimenter"); if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
| 3,237,109
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID) { Criteria c = buildCategoryGroupCriteria(groupID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("module_execution"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex c.addWantedField("module_execution", "experimenter"); if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID) { Criteria c = buildCategoryGroupCriteria(groupID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex c.addWantedField("module_execution", "experimenter"); if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
| 3,237,110
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID) { Criteria c = buildCategoryGroupCriteria(groupID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("module_execution"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex c.addWantedField("module_execution", "experimenter"); if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
|
public static Criteria buildExtendedCategoryGroupCriteria(int groupID) { Criteria c = buildCategoryGroupCriteria(groupID); c.addWantedField("Name"); c.addWantedField("Description"); c.addWantedField("CategoryList"); c.addWantedField("module_execution"); c.addWantedField("CategoryList", "Name"); c.addWantedField("CategoryList", "ClassificationList"); c.addWantedField("CategoryList.ClassificationList", "Valid"); c.addWantedField("CategoryList.ClassificationList", "image"); c.addWantedField("CategoryList", "module_execution"); c.addWantedField("CategoryList.module_execution", "experimenter"); c.addWantedField("CategoryList.ClassificationList", "module_execution"); c.addWantedField("CategoryList.ClassificationList.module_execution", "experimenter"); //Specify which fields we want for the owner. //group mex if (groupID != -1) c.addFilter("id", new Integer(groupID)); return c; }
| 3,237,111
|
public IRubyObject inspect() { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); assert !member.isNil() : "uninitialized struct"; StringBuffer sb = new StringBuffer(100); sb.append("#<").append(getMetaClass().getName()).append(' '); for (int i = 0; i < member.getLength(); i++) { if (i > 0) { sb.append(", "); } sb.append(member.entry(i).asSymbol()).append("="); sb.append(values[i].callMethod("inspect")); } sb.append('>'); return getRuntime().newString(sb.toString()); // OBJ_INFECT }
|
public IRubyObject inspect() { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); assert !member.isNil() : "uninitialized struct"; StringBuffer sb = new StringBuffer(100); sb.append("#<struct ").append(getMetaClass().getName()).append(' '); for (int i = 0; i < member.getLength(); i++) { if (i > 0) { sb.append(", "); } sb.append(member.entry(i).asSymbol()).append("="); sb.append(values[i].callMethod("inspect")); } sb.append('>'); return getRuntime().newString(sb.toString()); // OBJ_INFECT }
| 3,237,112
|
public IRubyObject to_s() { return getRuntime().newString("#<" + getMetaClass().getName() + ">"); }
|
public IRubyObject to_s() { return inspect(); }
| 3,237,113
|
private String[] printError() { ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(2048); PrintStream stream = new PrintStream(byteArrayOutputStream); exception.printBacktrace(stream); String output = new String(byteArrayOutputStream.toByteArray()); String[] lines = output.split("\n"); return lines; }
|
private String[] printError() { ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(2048); PrintStream stream = new PrintStream(byteArrayOutputStream); exception.printBacktrace(stream); String output = new String(byteArrayOutputStream.toByteArray()); String[] lines = output.split("\n"); return lines; }
| 3,237,116
|
public void setUp() { interpreter = new MockInterpreter(); exception = new RubyException(interpreter, null, "test"); }
|
public void setUp() { interpreter = new MockInterpreter(); exception = new RubyException(interpreter, null, "test"); }
| 3,237,117
|
public void deleteSelfAndChildren() { for (DisplayedNote child : children) { child.deleteSelfAndChildren(); } treeNode.dispose(); if (tab != null) tab.dispose(); note.getParent().removeNote(note); }
|
public void deleteSelfAndChildren() { for (DisplayedNote child : children) { child.deleteSelfAndChildren(); } treeNode.dispose(); if (tab != null) tab.dispose(); note.getParent().removeNote(note); }
| 3,237,118
|
public void addProvider(Provider p, String pType) throws InitException { String name = pType; if (pType == null || pType.equals("")) pType = p.getType(); p.init(this, _config); _providers.put(pType, p); _log.info("Loaded provider " + p); if (!pType.equals(p.getType())) _log.info("Provider name remapped from " + p.getType() + " to " + pType); }
|
public void addProvider(Provider p, String pType) throws InitException { if (pType == null || pType.equals("")) pType = p.getType(); p.init(this, _config); _providers.put(pType, p); _log.info("Loaded provider " + p); if (!pType.equals(p.getType())) _log.info("Provider name remapped from " + p.getType() + " to " + pType); }
| 3,237,119
|
private Workspace() { MainWindow mainWindow = SparkManager.getMainWindow(); // Add MainWindow listener mainWindow.addMainWindowListener(new MainWindowListener() { public void shutdown() { // Close all Chats. final Iterator chatRooms = SparkManager.getChatManager().getChatContainer().getAllChatRooms(); while (chatRooms.hasNext()) { final ChatRoom chatRoom = (ChatRoom)chatRooms.next(); // Leave ChatRoom SparkManager.getChatManager().getChatContainer().leaveChatRoom(chatRoom); } conferences.shutdown(); } public void mainWindowActivated() { } public void mainWindowDeactivated() { } }); // Initialize workspace pane, defaulting the tabs to the bottom. workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM); //workspacePane.setBoldActiveTab(true); //workspacePane.setHideOneTab(true); // Build default workspace this.setLayout(new GridBagLayout()); add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(4, 4, 4, 4), 0, 0)); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(4, 4, 4, 4), 0, 0)); this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F12"), "showDebugger"); this.getActionMap().put("showDebugger", new AbstractAction("showDebugger") { public void actionPerformed(ActionEvent evt) { EnhancedDebuggerWindow window = EnhancedDebuggerWindow.getInstance(); window.setVisible(true); } }); // Set background Color menuBarColor = new Color(235, 233, 237); setBackground(menuBarColor); workspacePane.setActiveButtonBold(true); }
|
workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); private Workspace() {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); MainWindow mainWindow = SparkManager.getMainWindow();workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); // Add MainWindow listenerworkspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); mainWindow.addMainWindowListener(new MainWindowListener() {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); public void shutdown() {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); // Close all Chats.workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); final Iterator chatRooms = SparkManager.getChatManager().getChatContainer().getAllChatRooms();workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); while (chatRooms.hasNext()) {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); final ChatRoom chatRoom = (ChatRoom)chatRooms.next();workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); // Leave ChatRoomworkspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); SparkManager.getChatManager().getChatContainer().leaveChatRoom(chatRoom);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); }workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); conferences.shutdown();workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); }workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); public void mainWindowActivated() {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); }workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); public void mainWindowDeactivated() {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); }workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); });workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); // Initialize workspace pane, defaulting the tabs to the bottom.workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); //workspacePane.setBoldActiveTab(true);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); //workspacePane.setHideOneTab(true);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); // Build default workspaceworkspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); this.setLayout(new GridBagLayout());workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(4, 4, 4, 4), 0, 0));workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(4, 4, 4, 4), 0, 0));workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F12"), "showDebugger");workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); this.getActionMap().put("showDebugger", new AbstractAction("showDebugger") {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); public void actionPerformed(ActionEvent evt) {workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); EnhancedDebuggerWindow window = EnhancedDebuggerWindow.getInstance();workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); window.setVisible(true);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); }workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); });workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); // Set backgroundworkspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); Color menuBarColor = new Color(235, 233, 237);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); setBackground(menuBarColor);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true);workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); workspacePane.setActiveButtonBold(true); cardLayout = new CardLayout(); cardPanel = new JPanel(cardLayout); cardPanel.setOpaque(false); cardPanel.add(WORKSPACE_PANE, workspacePane); }
| 3,237,120
|
private Workspace() { MainWindow mainWindow = SparkManager.getMainWindow(); // Add MainWindow listener mainWindow.addMainWindowListener(new MainWindowListener() { public void shutdown() { // Close all Chats. final Iterator chatRooms = SparkManager.getChatManager().getChatContainer().getAllChatRooms(); while (chatRooms.hasNext()) { final ChatRoom chatRoom = (ChatRoom)chatRooms.next(); // Leave ChatRoom SparkManager.getChatManager().getChatContainer().leaveChatRoom(chatRoom); } conferences.shutdown(); } public void mainWindowActivated() { } public void mainWindowDeactivated() { } }); // Initialize workspace pane, defaulting the tabs to the bottom. workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM); //workspacePane.setBoldActiveTab(true); //workspacePane.setHideOneTab(true); // Build default workspace this.setLayout(new GridBagLayout()); add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(4, 4, 4, 4), 0, 0)); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(4, 4, 4, 4), 0, 0)); this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F12"), "showDebugger"); this.getActionMap().put("showDebugger", new AbstractAction("showDebugger") { public void actionPerformed(ActionEvent evt) { EnhancedDebuggerWindow window = EnhancedDebuggerWindow.getInstance(); window.setVisible(true); } }); // Set background Color menuBarColor = new Color(235, 233, 237); setBackground(menuBarColor); workspacePane.setActiveButtonBold(true); }
|
private Workspace() { MainWindow mainWindow = SparkManager.getMainWindow(); // Add MainWindow listener mainWindow.addMainWindowListener(new MainWindowListener() { public void shutdown() { // Close all Chats. final Iterator chatRooms = SparkManager.getChatManager().getChatContainer().getAllChatRooms(); while (chatRooms.hasNext()) { final ChatRoom chatRoom = (ChatRoom)chatRooms.next(); // Leave ChatRoom SparkManager.getChatManager().getChatContainer().leaveChatRoom(chatRoom); } conferences.shutdown(); } public void mainWindowActivated() { } public void mainWindowDeactivated() { } }); // Initialize workspace pane, defaulting the tabs to the bottom. workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM); //workspacePane.setBoldActiveTab(true); //workspacePane.setHideOneTab(true); // Build default workspace this.setLayout(new GridBagLayout()); add(cardPanel, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(4, 4, 4, 4), 0, 0)); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(4, 4, 4, 4), 0, 0)); this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F12"), "showDebugger"); this.getActionMap().put("showDebugger", new AbstractAction("showDebugger") { public void actionPerformed(ActionEvent evt) { EnhancedDebuggerWindow window = EnhancedDebuggerWindow.getInstance(); window.setVisible(true); } }); // Set background Color menuBarColor = new Color(235, 233, 237); setBackground(menuBarColor); workspacePane.setActiveButtonBold(true); }
| 3,237,121
|
private Workspace() { MainWindow mainWindow = SparkManager.getMainWindow(); // Add MainWindow listener mainWindow.addMainWindowListener(new MainWindowListener() { public void shutdown() { // Close all Chats. final Iterator chatRooms = SparkManager.getChatManager().getChatContainer().getAllChatRooms(); while (chatRooms.hasNext()) { final ChatRoom chatRoom = (ChatRoom)chatRooms.next(); // Leave ChatRoom SparkManager.getChatManager().getChatContainer().leaveChatRoom(chatRoom); } conferences.shutdown(); } public void mainWindowActivated() { } public void mainWindowDeactivated() { } }); // Initialize workspace pane, defaulting the tabs to the bottom. workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM); //workspacePane.setBoldActiveTab(true); //workspacePane.setHideOneTab(true); // Build default workspace this.setLayout(new GridBagLayout()); add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(4, 4, 4, 4), 0, 0)); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(4, 4, 4, 4), 0, 0)); this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F12"), "showDebugger"); this.getActionMap().put("showDebugger", new AbstractAction("showDebugger") { public void actionPerformed(ActionEvent evt) { EnhancedDebuggerWindow window = EnhancedDebuggerWindow.getInstance(); window.setVisible(true); } }); // Set background Color menuBarColor = new Color(235, 233, 237); setBackground(menuBarColor); workspacePane.setActiveButtonBold(true); }
|
private Workspace() { MainWindow mainWindow = SparkManager.getMainWindow(); // Add MainWindow listener mainWindow.addMainWindowListener(new MainWindowListener() { public void shutdown() { // Close all Chats. final Iterator chatRooms = SparkManager.getChatManager().getChatContainer().getAllChatRooms(); while (chatRooms.hasNext()) { final ChatRoom chatRoom = (ChatRoom)chatRooms.next(); // Leave ChatRoom SparkManager.getChatManager().getChatContainer().leaveChatRoom(chatRoom); } conferences.shutdown(); } public void mainWindowActivated() { } public void mainWindowDeactivated() { } }); // Initialize workspace pane, defaulting the tabs to the bottom. workspacePane = new SparkTabbedPane(JTabbedPane.BOTTOM); //workspacePane.setBoldActiveTab(true); //workspacePane.setHideOneTab(true); // Build default workspace this.setLayout(new GridBagLayout()); add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(4, 4, 4, 4), 0, 0)); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(4, 4, 4, 4), 0, 0)); this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F12"), "showDebugger"); this.getActionMap().put("showDebugger", new AbstractAction("showDebugger") { public void actionPerformed(ActionEvent evt) { EnhancedDebuggerWindow window = EnhancedDebuggerWindow.getInstance(); window.setVisible(true); } }); // Set background Color menuBarColor = new Color(235, 233, 237); setBackground(menuBarColor); }
| 3,237,122
|
public void onComponentStateChange(boolean b) { view.onComponentStateChange(b); }
|
publicvoidonComponentStateChange(booleanb){view.onComponentStateChange(b);}
| 3,237,123
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 10: case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 14: case 13: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 54: case 1: jjCheckNAddStates(0, 2); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 34) kind = 34; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); else if ((0x100000200L & l) != 0L) { if (kind > 29) kind = 29; } else if (curChar == 13) jjCheckNAddStates(7, 9); else if (curChar == 10) { if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); } if ((0x3ff000000000000L & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 53: jjCheckNAddStates(0, 2); break; case 3: jjCheckNAddStates(18, 20); break; case 6: jjCheckNAddStates(21, 24); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 18) kind = 18; jjstateSet[jjnewStateCnt++] = 11; break; case 15: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 19: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 32 && kind > 28) kind = 28; break; case 21: if ((0x100000200L & l) != 0L && kind > 29) kind = 29; break; case 22: if ((0xfc00ffffffffffffL & l) != 0L && kind > 34) kind = 34; break; case 23: if (curChar != 10) break; if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); break; case 24: case 25: if (curChar == 10) jjCheckNAddStates(28, 30); break; case 26: if (curChar == 13) jjCheckNAdd(25); break; case 27: if (curChar == 45) jjCheckNAdd(28); break; case 28: if ((0x100000200L & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(28); break; case 29: case 30: if (curChar == 10 && kind > 26) kind = 26; break; case 31: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 30; break; case 32: if (curChar == 13) jjCheckNAddStates(7, 9); break; case 33: if (curChar == 10) jjCheckNAddTwoStates(29, 31); break; case 34: if (curChar == 10 && kind > 27) kind = 27; break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 38; break; case 38: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 40) jjCheckNAdd(42); break; case 42: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if (curChar == 41 && kind > 22) kind = 22; break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 10: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 17) kind = 17; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 18) kind = 18; jjCheckNAdd(11); } break; case 14: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 64) jjCheckNAdd(15); break; case 54: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 7: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 34) kind = 34; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); else if (curChar == 94) jjCheckNAdd(9); break; case 53: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(18, 20); break; case 4: if (curChar == 93 && kind > 10) kind = 10; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(21, 24); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 18) kind = 18; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 13: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 15: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 22: if ((0xf8000001f8000001L & l) != 0L && kind > 34) kind = 34; break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: jjAddStates(44, 45); break; case 44: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x7fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 51: if (curChar == 96 && kind > 24) kind = 24; break; case 52: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 54: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 34) kind = 34; break; case 53: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 20); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(21, 24); break; case 42: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 53 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 10: case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 14: case 13: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 54: case 1: jjCheckNAddStates(0, 2); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 34) kind = 34; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); else if ((0x100000200L & l) != 0L) { if (kind > 29) kind = 29; } else if (curChar == 13) jjCheckNAddStates(7, 9); else if (curChar == 10) { if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); } if ((0x3ff000000000000L & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 53: jjCheckNAddStates(0, 2); break; case 3: jjCheckNAddStates(18, 20); break; case 6: jjCheckNAddStates(21, 24); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 18) kind = 18; jjstateSet[jjnewStateCnt++] = 11; break; case 15: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 19: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 32 && kind > 28) kind = 28; break; case 21: if ((0x100000200L & l) != 0L && kind > 29) kind = 29; break; case 22: if ((0xfc00ffffffffffffL & l) != 0L && kind > 34) kind = 34; break; case 23: if (curChar != 10) break; if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); break; case 24: case 25: if (curChar == 10) jjCheckNAddStates(28, 30); break; case 26: if (curChar == 13) jjCheckNAdd(25); break; case 27: if (curChar == 45) jjCheckNAdd(28); break; case 28: if ((0x100000200L & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(28); break; case 29: case 30: if (curChar == 10 && kind > 26) kind = 26; break; case 31: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 30; break; case 32: if (curChar == 13) jjCheckNAddStates(7, 9); break; case 33: if (curChar == 10) jjCheckNAddTwoStates(29, 31); break; case 34: if (curChar == 10 && kind > 27) kind = 27; break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 38; break; case 38: if ((0xa7ffec6000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0xa7ffec6000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 40) jjCheckNAdd(42); break; case 42: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if (curChar == 41 && kind > 22) kind = 22; break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 10: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 17) kind = 17; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 18) kind = 18; jjCheckNAdd(11); } break; case 14: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 64) jjCheckNAdd(15); break; case 54: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 7: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 34) kind = 34; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); else if (curChar == 94) jjCheckNAdd(9); break; case 53: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(18, 20); break; case 4: if (curChar == 93 && kind > 10) kind = 10; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(21, 24); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 18) kind = 18; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 13: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 15: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 22: if ((0xf8000001f8000001L & l) != 0L && kind > 34) kind = 34; break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: jjAddStates(44, 45); break; case 44: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x7fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 51: if (curChar == 96 && kind > 24) kind = 24; break; case 52: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 54: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 34) kind = 34; break; case 53: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 20); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(21, 24); break; case 42: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 53 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
| 3,237,124
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 10: case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 14: case 13: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 54: case 1: jjCheckNAddStates(0, 2); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 34) kind = 34; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); else if ((0x100000200L & l) != 0L) { if (kind > 29) kind = 29; } else if (curChar == 13) jjCheckNAddStates(7, 9); else if (curChar == 10) { if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); } if ((0x3ff000000000000L & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 53: jjCheckNAddStates(0, 2); break; case 3: jjCheckNAddStates(18, 20); break; case 6: jjCheckNAddStates(21, 24); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 18) kind = 18; jjstateSet[jjnewStateCnt++] = 11; break; case 15: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 19: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 32 && kind > 28) kind = 28; break; case 21: if ((0x100000200L & l) != 0L && kind > 29) kind = 29; break; case 22: if ((0xfc00ffffffffffffL & l) != 0L && kind > 34) kind = 34; break; case 23: if (curChar != 10) break; if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); break; case 24: case 25: if (curChar == 10) jjCheckNAddStates(28, 30); break; case 26: if (curChar == 13) jjCheckNAdd(25); break; case 27: if (curChar == 45) jjCheckNAdd(28); break; case 28: if ((0x100000200L & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(28); break; case 29: case 30: if (curChar == 10 && kind > 26) kind = 26; break; case 31: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 30; break; case 32: if (curChar == 13) jjCheckNAddStates(7, 9); break; case 33: if (curChar == 10) jjCheckNAddTwoStates(29, 31); break; case 34: if (curChar == 10 && kind > 27) kind = 27; break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 38; break; case 38: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 40) jjCheckNAdd(42); break; case 42: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if (curChar == 41 && kind > 22) kind = 22; break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 10: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 17) kind = 17; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 18) kind = 18; jjCheckNAdd(11); } break; case 14: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 64) jjCheckNAdd(15); break; case 54: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 7: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 34) kind = 34; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); else if (curChar == 94) jjCheckNAdd(9); break; case 53: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(18, 20); break; case 4: if (curChar == 93 && kind > 10) kind = 10; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(21, 24); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 18) kind = 18; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 13: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 15: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 22: if ((0xf8000001f8000001L & l) != 0L && kind > 34) kind = 34; break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: jjAddStates(44, 45); break; case 44: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x7fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 51: if (curChar == 96 && kind > 24) kind = 24; break; case 52: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 54: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 34) kind = 34; break; case 53: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 20); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(21, 24); break; case 42: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 53 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 10: case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 14: case 13: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 54: case 1: jjCheckNAddStates(0, 2); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 34) kind = 34; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); else if ((0x100000200L & l) != 0L) { if (kind > 29) kind = 29; } else if (curChar == 13) jjCheckNAddStates(7, 9); else if (curChar == 10) { if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); } if ((0x3ff000000000000L & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 53: jjCheckNAddStates(0, 2); break; case 3: jjCheckNAddStates(18, 20); break; case 6: jjCheckNAddStates(21, 24); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 18) kind = 18; jjstateSet[jjnewStateCnt++] = 11; break; case 15: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 19: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 32 && kind > 28) kind = 28; break; case 21: if ((0x100000200L & l) != 0L && kind > 29) kind = 29; break; case 22: if ((0xfc00ffffffffffffL & l) != 0L && kind > 34) kind = 34; break; case 23: if (curChar != 10) break; if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); break; case 24: case 25: if (curChar == 10) jjCheckNAddStates(28, 30); break; case 26: if (curChar == 13) jjCheckNAdd(25); break; case 27: if (curChar == 45) jjCheckNAdd(28); break; case 28: if ((0x100000200L & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(28); break; case 29: case 30: if (curChar == 10 && kind > 26) kind = 26; break; case 31: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 30; break; case 32: if (curChar == 13) jjCheckNAddStates(7, 9); break; case 33: if (curChar == 10) jjCheckNAddTwoStates(29, 31); break; case 34: if (curChar == 10 && kind > 27) kind = 27; break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 38; break; case 38: if ((0xa7ffec6000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0xa7ffec6000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 40) jjCheckNAdd(42); break; case 42: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if (curChar == 41 && kind > 22) kind = 22; break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 10: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 17) kind = 17; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 18) kind = 18; jjCheckNAdd(11); } break; case 14: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 64) jjCheckNAdd(15); break; case 54: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 7: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 34) kind = 34; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); else if (curChar == 94) jjCheckNAdd(9); break; case 53: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(18, 20); break; case 4: if (curChar == 93 && kind > 10) kind = 10; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(21, 24); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 18) kind = 18; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 13: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 15: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 22: if ((0xf8000001f8000001L & l) != 0L && kind > 34) kind = 34; break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: jjAddStates(44, 45); break; case 44: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x7fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 51: if (curChar == 96 && kind > 24) kind = 24; break; case 52: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 54: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 34) kind = 34; break; case 53: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 20); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(21, 24); break; case 42: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 53 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
| 3,237,125
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 10: case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 14: case 13: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 54: case 1: jjCheckNAddStates(0, 2); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 34) kind = 34; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); else if ((0x100000200L & l) != 0L) { if (kind > 29) kind = 29; } else if (curChar == 13) jjCheckNAddStates(7, 9); else if (curChar == 10) { if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); } if ((0x3ff000000000000L & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 53: jjCheckNAddStates(0, 2); break; case 3: jjCheckNAddStates(18, 20); break; case 6: jjCheckNAddStates(21, 24); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 18) kind = 18; jjstateSet[jjnewStateCnt++] = 11; break; case 15: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 19: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 32 && kind > 28) kind = 28; break; case 21: if ((0x100000200L & l) != 0L && kind > 29) kind = 29; break; case 22: if ((0xfc00ffffffffffffL & l) != 0L && kind > 34) kind = 34; break; case 23: if (curChar != 10) break; if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); break; case 24: case 25: if (curChar == 10) jjCheckNAddStates(28, 30); break; case 26: if (curChar == 13) jjCheckNAdd(25); break; case 27: if (curChar == 45) jjCheckNAdd(28); break; case 28: if ((0x100000200L & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(28); break; case 29: case 30: if (curChar == 10 && kind > 26) kind = 26; break; case 31: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 30; break; case 32: if (curChar == 13) jjCheckNAddStates(7, 9); break; case 33: if (curChar == 10) jjCheckNAddTwoStates(29, 31); break; case 34: if (curChar == 10 && kind > 27) kind = 27; break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 38; break; case 38: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 40) jjCheckNAdd(42); break; case 42: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if (curChar == 41 && kind > 22) kind = 22; break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 10: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 17) kind = 17; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 18) kind = 18; jjCheckNAdd(11); } break; case 14: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 64) jjCheckNAdd(15); break; case 54: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 7: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 34) kind = 34; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); else if (curChar == 94) jjCheckNAdd(9); break; case 53: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(18, 20); break; case 4: if (curChar == 93 && kind > 10) kind = 10; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(21, 24); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 18) kind = 18; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 13: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 15: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 22: if ((0xf8000001f8000001L & l) != 0L && kind > 34) kind = 34; break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: jjAddStates(44, 45); break; case 44: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x7fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 51: if (curChar == 96 && kind > 24) kind = 24; break; case 52: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 54: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 34) kind = 34; break; case 53: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 20); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(21, 24); break; case 42: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 53 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 53; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 10: case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 14: case 13: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 54: case 1: jjCheckNAddStates(0, 2); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 34) kind = 34; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); else if ((0x100000200L & l) != 0L) { if (kind > 29) kind = 29; } else if (curChar == 13) jjCheckNAddStates(7, 9); else if (curChar == 10) { if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); } if ((0x3ff000000000000L & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 53: jjCheckNAddStates(0, 2); break; case 3: jjCheckNAddStates(18, 20); break; case 6: jjCheckNAddStates(21, 24); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 18) kind = 18; jjstateSet[jjnewStateCnt++] = 11; break; case 15: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 16: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 17; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 19: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 32 && kind > 28) kind = 28; break; case 21: if ((0x100000200L & l) != 0L && kind > 29) kind = 29; break; case 22: if ((0xfc00ffffffffffffL & l) != 0L && kind > 34) kind = 34; break; case 23: if (curChar != 10) break; if (kind > 27) kind = 27; jjCheckNAddStates(10, 14); break; case 24: case 25: if (curChar == 10) jjCheckNAddStates(28, 30); break; case 26: if (curChar == 13) jjCheckNAdd(25); break; case 27: if (curChar == 45) jjCheckNAdd(28); break; case 28: if ((0x100000200L & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(28); break; case 29: case 30: if (curChar == 10 && kind > 26) kind = 26; break; case 31: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 30; break; case 32: if (curChar == 13) jjCheckNAddStates(7, 9); break; case 33: if (curChar == 10) jjCheckNAddTwoStates(29, 31); break; case 34: if (curChar == 10 && kind > 27) kind = 27; break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 38; break; case 38: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0xa7ffec6000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 40) jjCheckNAdd(42); break; case 42: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: if (curChar == 41 && kind > 22) kind = 22; break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 10: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 17) kind = 17; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 18) kind = 18; jjCheckNAdd(11); } break; case 14: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 64) jjCheckNAdd(15); break; case 54: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 7: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 34) kind = 34; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); else if (curChar == 94) jjCheckNAdd(9); break; case 53: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(18, 20); break; case 4: if (curChar == 93 && kind > 10) kind = 10; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(21, 24); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 17) kind = 17; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 18) kind = 18; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 13: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); break; case 15: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(15, 16); break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(18); break; case 18: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(25, 27); break; case 22: if ((0xf8000001f8000001L & l) != 0L && kind > 34) kind = 34; break; case 35: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAddStates(31, 33); break; case 39: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 22) kind = 22; jjCheckNAdd(39); break; case 40: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 42: jjAddStates(44, 45); break; case 44: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAdd(44); break; case 45: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); break; case 46: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(46, 47); break; case 47: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x7fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(34, 36); break; case 49: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 51: if (curChar == 96 && kind > 24) kind = 24; break; case 52: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(40, 43); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 54: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 34) kind = 34; break; case 53: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(0, 2); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 20); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(21, 24); break; case 42: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 53 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
| 3,237,126
|
final private void ForStatement() throws ParseException { jj_consume_token(FOR); jj_consume_token(LPAREN); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FINAL: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: ForInit(); break; default: jj_la1[118] = jj_gen; } jj_consume_token(SEMICOLON); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: Expression(); break; default: jj_la1[119] = jj_gen; } jj_consume_token(SEMICOLON); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: ForUpdate(); break; default: jj_la1[120] = jj_gen; } jj_consume_token(RPAREN); Statement(); }
|
final private void ForStatement() throws ParseException { jj_consume_token(FOR); jj_consume_token(LPAREN); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FINAL: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: ForInit(); break; default: jj_la1[118] = jj_gen; } jj_consume_token(SEMICOLON); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: Expression(); break; default: jj_la1[119] = jj_gen; } jj_consume_token(SEMICOLON); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: ForUpdate(); break; default: jj_la1[120] = jj_gen; } jj_consume_token(RPAREN); Statement(); }
| 3,237,127
|
final private void MethodDeclarator() throws ParseException { _sFunction = "." + new String(getToken(1).image); Identifier(); FormalParameters(); _sFunction += _sParameter; label_20: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACKET: break; default: jj_la1[45] = jj_gen; break label_20; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); _sFunction += "[]"; } }
|
final private void MethodDeclarator() throws ParseException { _sFunction = "." + new String(getToken(1).image); Identifier(); FormalParameters(); _sFunction += _sParameter; label_20: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACKET: break; default: jj_la1[45] = jj_gen; break label_20; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); _sFunction += "[]"; } }
| 3,237,128
|
final private void Name() throws ParseException { Identifier(); _sName = new String(getToken(0).image); label_25: while (true) { if (jj_2_15(2)) { } else { break label_25; } jj_consume_token(DOT); Identifier(); _sName += "." + (new String(getToken(0).image)); } }
|
final private void Name() throws ParseException { Identifier(); _sName = new String(getToken(0).image); label_25: while (true) { if (jj_2_15(2)) { } else { break label_25; } jj_consume_token(DOT); Identifier(); _sName += "." + (new String(getToken(0).image)); } }
| 3,237,129
|
final private void Name() throws ParseException { Identifier(); _sName = new String(getToken(0).image); label_25: while (true) { if (jj_2_15(2)) { } else { break label_25; } jj_consume_token(DOT); Identifier(); _sName += "." + (new String(getToken(0).image)); } }
|
final private void Name() throws ParseException { Identifier(); _sName = new String(getToken(0).image); label_25: while (true) { if (jj_2_15(2)) { } else { break label_25; } jj_consume_token(DOT); Identifier(); _sName += "." + (new String(getToken(0).image)); } }
| 3,237,130
|
final private void PackageDeclaration() throws ParseException { jj_consume_token(PACKAGE); Name(); jj_consume_token(SEMICOLON); getToken(0); getToken(0); _sPackage = (new String(_sName)) + "."; }
|
final private void PackageDeclaration() throws ParseException { jj_consume_token(PACKAGE); Name(); jj_consume_token(SEMICOLON); getToken(0); getToken(0); _sPackage = (new String(_sName)) + "."; }
| 3,237,131
|
final private void Statement() throws ParseException { _bReturn = false; if (jj_2_34(2)) { LabeledStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACE: Block(); break; case SEMICOLON: EmptyStatement(); break; default: jj_la1[104] = jj_gen; if (jj_2_35(2147483647)) { AssertStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpression(); jj_consume_token(SEMICOLON); break; case SWITCH: SwitchStatement(); break; case IF: IfStatement(); _cyc++; break; case WHILE: WhileStatement(); _cyc++; break; case DO: DoStatement(); _cyc++; break; case FOR: ForStatement(); _cyc++; break; case BREAK: BreakStatement(); break; case CONTINUE: ContinueStatement(); break; case RETURN: ReturnStatement(); break; case THROW: ThrowStatement(); break; case SYNCHRONIZED: SynchronizedStatement(); break; case TRY: TryStatement(); break; default: jj_la1[105] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } }
|
final private void Statement() throws ParseException { _bReturn = false; if (jj_2_34(2)) { LabeledStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACE: Block(); break; case SEMICOLON: EmptyStatement(); break; default: jj_la1[104] = jj_gen; if (jj_2_35(2147483647)) { AssertStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpression(); jj_consume_token(SEMICOLON); break; case SWITCH: SwitchStatement(); break; case IF: IfStatement(); _cyc++; break; case WHILE: WhileStatement(); _cyc++; break; case DO: DoStatement(); _cyc++; break; case FOR: ForStatement(); _cyc++; break; case BREAK: BreakStatement(); break; case CONTINUE: ContinueStatement(); break; case RETURN: ReturnStatement(); break; case THROW: ThrowStatement(); break; case SYNCHRONIZED: SynchronizedStatement(); break; case TRY: TryStatement(); break; default: jj_la1[105] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } }
| 3,237,132
|
final private void Statement() throws ParseException { _bReturn = false; if (jj_2_34(2)) { LabeledStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACE: Block(); break; case SEMICOLON: EmptyStatement(); break; default: jj_la1[104] = jj_gen; if (jj_2_35(2147483647)) { AssertStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpression(); jj_consume_token(SEMICOLON); break; case SWITCH: SwitchStatement(); break; case IF: IfStatement(); _cyc++; break; case WHILE: WhileStatement(); _cyc++; break; case DO: DoStatement(); _cyc++; break; case FOR: ForStatement(); _cyc++; break; case BREAK: BreakStatement(); break; case CONTINUE: ContinueStatement(); break; case RETURN: ReturnStatement(); break; case THROW: ThrowStatement(); break; case SYNCHRONIZED: SynchronizedStatement(); break; case TRY: TryStatement(); break; default: jj_la1[105] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } }
|
final private void Statement() throws ParseException { _bReturn = false; if (jj_2_34(2)) { LabeledStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACE: Block(); break; case SEMICOLON: EmptyStatement(); break; default: jj_la1[104] = jj_gen; if (jj_2_35(2147483647)) { AssertStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpression(); jj_consume_token(SEMICOLON); break; case SWITCH: SwitchStatement(); break; case IF: IfStatement(); _cyc++; break; case WHILE: WhileStatement(); _cyc++; break; case DO: DoStatement(); _cyc++; break; case FOR: ForStatement(); _cyc++; break; case BREAK: BreakStatement(); break; case CONTINUE: ContinueStatement(); break; case RETURN: ReturnStatement(); break; case THROW: ThrowStatement(); break; case SYNCHRONIZED: SynchronizedStatement(); break; case TRY: TryStatement(); break; default: jj_la1[105] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } }
| 3,237,133
|
final private void Statement() throws ParseException { _bReturn = false; if (jj_2_34(2)) { LabeledStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACE: Block(); break; case SEMICOLON: EmptyStatement(); break; default: jj_la1[104] = jj_gen; if (jj_2_35(2147483647)) { AssertStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpression(); jj_consume_token(SEMICOLON); break; case SWITCH: SwitchStatement(); break; case IF: IfStatement(); _cyc++; break; case WHILE: WhileStatement(); _cyc++; break; case DO: DoStatement(); _cyc++; break; case FOR: ForStatement(); _cyc++; break; case BREAK: BreakStatement(); break; case CONTINUE: ContinueStatement(); break; case RETURN: ReturnStatement(); break; case THROW: ThrowStatement(); break; case SYNCHRONIZED: SynchronizedStatement(); break; case TRY: TryStatement(); break; default: jj_la1[105] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } }
|
final private void Statement() throws ParseException { _bReturn = false; if (jj_2_34(2)) { LabeledStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACE: Block(); break; case SEMICOLON: EmptyStatement(); break; default: jj_la1[104] = jj_gen; if (jj_2_35(2147483647)) { AssertStatement(); } else { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ASSERT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpression(); jj_consume_token(SEMICOLON); break; case SWITCH: SwitchStatement(); break; case IF: IfStatement(); _cyc++; break; case WHILE: WhileStatement(); _cyc++; break; case DO: DoStatement(); _cyc++; break; case FOR: ForStatement(); _cyc++; break; case BREAK: BreakStatement(); break; case CONTINUE: ContinueStatement(); break; case RETURN: ReturnStatement(); break; case THROW: ThrowStatement(); break; case SYNCHRONIZED: SynchronizedStatement(); break; case TRY: TryStatement(); break; default: jj_la1[105] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } }
| 3,237,134
|
final private void Type() throws ParseException { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: PrimitiveType(); _sName = (new String(getToken(0).image)); break; case ASSERT: case IDENTIFIER: Name(); break; default: jj_la1[55] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_23: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACKET: break; default: jj_la1[56] = jj_gen; break label_23; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); _sName += "[]"; } }
|
final private void Type() throws ParseException { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: PrimitiveType(); _sName = (new String(getToken(0).image)); break; case ASSERT: case IDENTIFIER: Name(); break; default: jj_la1[55] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_23: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case LBRACKET: break; default: jj_la1[56] = jj_gen; break label_23; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); _sName += "[]"; } }
| 3,237,135
|
final private void UnmodifiedClassDeclaration() throws ParseException { String sOldClass = _sClass; int oldFunctions = _functions; if (!_sClass.equals("")) { _sClass += "."; } _sClass += new String(getToken(2).image); jj_consume_token(CLASS); Identifier(); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case EXTENDS: jj_consume_token(EXTENDS); Name(); break; default: jj_la1[16] = jj_gen; } switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case IMPLEMENTS: jj_consume_token(IMPLEMENTS); NameList(); break; default: jj_la1[17] = jj_gen; } ClassBody(); _functions = oldFunctions; _sClass = sOldClass; }
|
final private void UnmodifiedClassDeclaration() throws ParseException { String sOldClass = _sClass; int oldFunctions = _functions; if (!_sClass.equals("")) { _sClass += "."; } _sClass += new String(getToken(2).image); jj_consume_token(CLASS); Identifier(); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case EXTENDS: jj_consume_token(EXTENDS); Name(); break; default: jj_la1[16] = jj_gen; } switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case IMPLEMENTS: jj_consume_token(IMPLEMENTS); NameList(); break; default: jj_la1[17] = jj_gen; } ClassBody(); _functions = oldFunctions; _sClass = sOldClass; }
| 3,237,136
|
final private void UnmodifiedInterfaceDeclaration() throws ParseException { String sOldClass = _sClass; int oldFunctions = _functions; if (!_sClass.equals("")) { _sClass += "."; } _sClass += new String(getToken(2).image); jj_consume_token(INTERFACE); Identifier(); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case EXTENDS: jj_consume_token(EXTENDS); NameList(); break; default: jj_la1[29] = jj_gen; } jj_consume_token(LBRACE); label_14: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ABSTRACT: case ASSERT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case TESTAAAA: case SYNCHRONIZED: case TRANSIENT: case VOID: case VOLATILE: case IDENTIFIER: case SEMICOLON: break; default: jj_la1[30] = jj_gen; break label_14; } InterfaceMemberDeclaration(); } jj_consume_token(RBRACE); _functions = oldFunctions; _sClass = sOldClass; }
|
final private void UnmodifiedInterfaceDeclaration() throws ParseException { String sOldClass = _sClass; int oldFunctions = _functions; if (!_sClass.equals("")) { _sClass += "."; } _sClass += new String(getToken(2).image); jj_consume_token(INTERFACE); Identifier(); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case EXTENDS: jj_consume_token(EXTENDS); NameList(); break; default: jj_la1[29] = jj_gen; } jj_consume_token(LBRACE); label_14: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case ABSTRACT: case ASSERT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case TESTAAAA: case SYNCHRONIZED: case TRANSIENT: case VOID: case VOLATILE: case IDENTIFIER: case SEMICOLON: break; default: jj_la1[30] = jj_gen; break label_14; } InterfaceMemberDeclaration(); } jj_consume_token(RBRACE); _functions = oldFunctions; _sClass = sOldClass; }
| 3,237,137
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
| 3,237,138
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
| 3,237,139
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
| 3,237,140
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
|
public final Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop: for (;;) { try { curChar = input_stream.BeginToken(); } catch (java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch (curLexState) { case 0: try { input_stream.backup(0); while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 9; jjmatchedPos = -1; curPos = 0; curPos = jjMoveStringLiteralDfa0_1(); if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12)) { jjmatchedKind = 12; jjmatchedPos = 0; } break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 12) { jjmatchedKind = 12; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(); } else SkipLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }
| 3,237,141
|
private void buildGUI(int sizeX, int sizeY, int sizeZ) { //add(buildDimsPanel(sizeX, sizeY, sizeZ), BorderLayout.WEST); add(buildTable(sizeX, sizeY, sizeZ)); add(buildSliderPanel()); }
|
private void buildGUI(int sizeX, int sizeY, int sizeZ) { //add(buildDimsPanel(sizeX, sizeY, sizeZ), BorderLayout.WEST); add(buildTable(sizeX, sizeY, sizeZ)); add(buildSliderPanel()); }
| 3,237,142
|
private JPanel buildSliderPanel() { JPanel p = new JPanel(), field = new JPanel(), slider = new JPanel(); slider.setLayout(null); slider.setOpaque(false); slider.setPreferredSize(DIM); slider.setSize(DIM); zSlider.setPreferredSize(DIM); zSlider.setBounds(0, 0, PANEL_WIDTH, PANEL_HEIGHT); slider.add(zSlider); JLabel current = new JLabel("Current Z: "); current.setForeground(NavigationPalette.STEELBLUE); field.add(current); field.add(zField); field.setAlignmentX(LEFT_ALIGNMENT); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(field); p.add(slider); return p; }
|
private JPanel buildSliderPanel() { JPanel p = new JPanel(), field = new JPanel(), slider = new JPanel(); slider.setLayout(null); slider.setOpaque(false); slider.setPreferredSize(DIM); slider.setSize(DIM); zSlider.setPreferredSize(DIM); zSlider.setBounds(0, 0, PANEL_WIDTH, PANEL_HEIGHT); slider.add(zSlider); JLabel current = new JLabel("Current Z: "); current.setForeground(NavigationPalette.STEELBLUE); field.add(current); field.add(zField); field.setAlignmentX(LEFT_ALIGNMENT); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(field); p.add(slider); return p; }
| 3,237,143
|
private JPanel buildSliderPanel() { JPanel p = new JPanel(), field = new JPanel(), slider = new JPanel(); slider.setLayout(null); slider.setOpaque(false); slider.setPreferredSize(DIM); slider.setSize(DIM); zSlider.setPreferredSize(DIM); zSlider.setBounds(0, 0, PANEL_WIDTH, PANEL_HEIGHT); slider.add(zSlider); JLabel current = new JLabel("Current Z: "); current.setForeground(NavigationPalette.STEELBLUE); field.add(current); field.add(zField); field.setAlignmentX(LEFT_ALIGNMENT); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(field); p.add(slider); return p; }
|
private JPanel buildSliderPanel() { JPanel p = new JPanel(), field = new JPanel(), slider = new JPanel(); slider.setLayout(null); slider.setOpaque(false); slider.setPreferredSize(DIM); slider.setSize(DIM); zSlider.setPreferredSize(DIM); zSlider.setBounds(0, 0, PANEL_WIDTH, PANEL_HEIGHT); slider.add(zSlider); JLabel current = new JLabel("Current Z: "); current.setForeground(NavigationPalette.STEELBLUE); field.add(current); field.add(zField); field.setAlignmentX(LEFT_ALIGNMENT); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(field); p.add(slider); return p; }
| 3,237,144
|
private JPanel buildTable(int sizeX, int sizeY, int sizeZ) { JPanel p = new JPanel(); JTable table = new TableComponent(1, 2); tableLayout(table); table.setValueAt(buildDimsPanel(sizeX, sizeY, sizeZ), 0, 0); table.setValueAt(new JLabel(""), 0, 1); p.add(table); p.setOpaque(false); return p; }
|
private JPanel buildTable(int sizeX, int sizeY, int sizeZ) { JPanel p = new JPanel(); JTable table = new TableComponent(1, 2); tableLayout(table); table.setValueAt(buildDimsPanel(sizeX, sizeY, sizeZ), 0, 0); table.setValueAt(new JLabel(""), 0, 1); p.add(table); p.setOpaque(false); return p; }
| 3,237,145
|
private JPanel buildTable(int sizeX, int sizeY, int sizeZ) { JPanel p = new JPanel(); JTable table = new TableComponent(1, 2); tableLayout(table); table.setValueAt(buildDimsPanel(sizeX, sizeY, sizeZ), 0, 0); table.setValueAt(new JLabel(""), 0, 1); p.add(table); p.setOpaque(false); return p; }
|
private JPanel buildTable(int sizeX, int sizeY, int sizeZ) { JPanel p = new JPanel(); JTable table = new TableComponent(1, 2); tableLayout(table); table.setValueAt(buildDimsPanel(sizeX, sizeY, sizeZ), 0, 0); table.setValueAt(new JLabel(""), 0, 1); p.add(table); p.setOpaque(false); return p; }
| 3,237,146
|
private void initSlider(int sizeZ, int z) { zSlider = new JSlider(JSlider.HORIZONTAL, 0, sizeZ, z); zSlider.setToolTipText("Move the slider to navigate across Z stack"); zSlider.setMinorTickSpacing(1); zSlider.setMajorTickSpacing(10); zSlider.setPaintTicks(true); zSlider.setOpaque(false); Hashtable labelTable = new Hashtable(); labelTable.put(new Integer(0), new JLabel(""+0) ); labelTable.put(new Integer(sizeZ), new JLabel(""+sizeZ)); zSlider.setLabelTable(labelTable); zSlider.setPaintLabels(true); }
|
private void initSlider(int sizeZ, int z) { zSlider = new JSlider(JSlider.HORIZONTAL, 0, sizeZ, z); zSlider.setToolTipText("Move the slider to navigate across Z stack"); zSlider.setMinorTickSpacing(1); zSlider.setMajorTickSpacing(10); zSlider.setPaintTicks(true); zSlider.setOpaque(false); Hashtable labelTable = new Hashtable(); labelTable.put(new Integer(0), new JLabel(""+0) ); labelTable.put(new Integer(sizeZ), new JLabel(""+sizeZ)); zSlider.setLabelTable(labelTable); zSlider.setPaintLabels(true); }
| 3,237,147
|
private void initSlider(int sizeZ, int z) { zSlider = new JSlider(JSlider.HORIZONTAL, 0, sizeZ, z); zSlider.setToolTipText("Move the slider to navigate across Z stack"); zSlider.setMinorTickSpacing(1); zSlider.setMajorTickSpacing(10); zSlider.setPaintTicks(true); zSlider.setOpaque(false); Hashtable labelTable = new Hashtable(); labelTable.put(new Integer(0), new JLabel(""+0) ); labelTable.put(new Integer(sizeZ), new JLabel(""+sizeZ)); zSlider.setLabelTable(labelTable); zSlider.setPaintLabels(true); }
|
private void initSlider(int sizeZ, int z) { zSlider = new JSlider(JSlider.HORIZONTAL, 0, sizeZ, z); zSlider.setToolTipText("Move the slider to navigate across Z stack"); zSlider.setMinorTickSpacing(1); zSlider.setMajorTickSpacing(10); zSlider.setPaintTicks(true); zSlider.setOpaque(false); Hashtable labelTable = new Hashtable(); labelTable.put(new Integer(0), new JLabel(""+0) ); labelTable.put(new Integer(sizeZ), new JLabel(""+sizeZ)); zSlider.setLabelTable(labelTable); zSlider.setPaintLabels(true); }
| 3,237,148
|
private void initSlider(int sizeZ, int z) { zSlider = new JSlider(JSlider.HORIZONTAL, 0, sizeZ, z); zSlider.setToolTipText("Move the slider to navigate across Z stack"); zSlider.setMinorTickSpacing(1); zSlider.setMajorTickSpacing(10); zSlider.setPaintTicks(true); zSlider.setOpaque(false); Hashtable labelTable = new Hashtable(); labelTable.put(new Integer(0), new JLabel(""+0) ); labelTable.put(new Integer(sizeZ), new JLabel(""+sizeZ)); zSlider.setLabelTable(labelTable); zSlider.setPaintLabels(true); }
|
private void initSlider(int sizeZ, int z) { zSlider = new JSlider(JSlider.HORIZONTAL, 0, sizeZ, z); zSlider.setToolTipText("Move the slider to navigate across Z stack"); zSlider.setMinorTickSpacing(1); zSlider.setMajorTickSpacing(10); zSlider.setPaintTicks(true); zSlider.setOpaque(false); Hashtable labelTable = new Hashtable(); labelTable.put(new Integer(0), new JLabel(""+0) ); labelTable.put(new Integer(sizeZ), new JLabel(""+sizeZ)); zSlider.setLabelTable(labelTable); zSlider.setPaintLabels(true); }
| 3,237,149
|
private void initTextField(int sizeZ, int z) { zField = new JTextField(""+z, (""+sizeZ).length()); zField.setForeground(NavigationPalette.STEELBLUE); zField.setToolTipText("Enter a Z point"); }
|
private void initTextField(int sizeZ, int z) { zField = new JTextField(""+z, (""+sizeZ).length()); zField.setForeground(NavigationPalette.STEELBLUE); zField.setToolTipText("Enter a Z point"); }
| 3,237,150
|
private void initTextField(int sizeZ, int z) { zField = new JTextField(""+z, (""+sizeZ).length()); zField.setForeground(NavigationPalette.STEELBLUE); zField.setToolTipText("Enter a Z point"); }
|
private void initTextField(int sizeZ, int z) { zField = new JTextField(""+z, (""+sizeZ).length()); zField.setForeground(NavigationPalette.STEELBLUE); zField.setToolTipText("Enter a Z point"); }
| 3,237,151
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.