bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void defineParameters(){ defs = new QueryParameterDef[]{ new QueryParameterDef(QP.CLASS,Class.class,false), new QueryParameterDef(QP.IDS,Collection.class,false), new QueryParameterDef(OWNER_ID,Long.class,true), new QueryParameterDef(QP.OPTIONS,Map.class,true) }; }
protected void defineParameters(){ defs = new QueryParameterDef[]{ new QueryParameterDef(QP.CLASS,Class.class,false), new QueryParameterDef(QP.IDS,Collection.class,false), new QueryParameterDef(QP.OPTIONS,Map.class,true) }; }
3,239,297
protected void enableFilters(Session session) { if (session.getEnabledFilter(Project.OWNER_FILTER) != null) projectOwnerFilterAlreadyEnabled = true; if (check(OWNER_ID)) { session.enableFilter(Project.OWNER_FILTER) .setParameter(OWNER_ID,value(OWNER_ID)); } }
protected void enableFilters(Session session) { if (session.getEnabledFilter(Project.OWNER_FILTER) != null) projectOwnerFilterAlreadyEnabled = true; if (check(OWNER_ID)) { session.enableFilter(Project.OWNER_FILTER) .setParameter(OWNER_ID,value(OWNER_ID)); } }
3,239,298
protected Object runQuery(Session session) throws HibernateException, SQLException { PojoOptions po = new PojoOptions((Map) value(QP.OPTIONS)); Criteria c = session.createCriteria((Class)value(QP.CLASS)); c.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); c.add(Restrictions.in("id",(Collection) value(QP.IDS))); int depth = po.isLeaves() ? 2 : 1; fetchChildren(c,Project.class,depth); return c.list(); }
protected Object runQuery(Session session) throws HibernateException, SQLException { PojoOptions po = new PojoOptions((Map) value(QP.OPTIONS)); Criteria c = session.createCriteria((Class)value(QP.CLASS)); c.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); c.add(Restrictions.in("id",(Collection) value(QP.IDS))); int depth = po.isLeaves() ? 2 : 1; fetchChildren(c,Project.class,depth); return c.list(); }
3,239,299
private static void computeLocationStats(Pixels pixels, List<ChannelBinding> cbs, PlaneDef planeDef, PixelBuffer buf) { if (planeDef == null) throw new NullPointerException("No plane definition."); StatsFactory sf = new StatsFactory(); int w = 0; List<Channel> channels = pixels.getChannels(); for (Channel channel : channels) { // FIXME: This is where we need to have the ChannelBinding --> // Channel linkage. Without it, we have to assume that the order in // which the channel bindings was created matches up with the order // of the channels linked to the pixels set. ChannelBinding cb = cbs.get(w); double gMin = channel.getStatsInfo().getGlobalMin(); double gMax = channel.getStatsInfo().getGlobalMax(); //Test sf.computeLocationStats(pixels, buf, planeDef, w); //cb[w].setNoiseReduction(new Boolean(sf.isNoiseReduction())); cb.setNoiseReduction(Boolean.TRUE); float start = cb.getInputStart(); float end = cb.getInputEnd(); //TODO: find a better way. if (gMax == end && gMin == start) cb.setInputStart(new Float(sf.getInputStart())); cb.setInputEnd(new Float(sf.getInputEnd())); w++; } }
private static void computeLocationStats(Pixels pixels, List<ChannelBinding> cbs, PlaneDef planeDef, PixelBuffer buf) { if (planeDef == null) throw new NullPointerException("No plane definition."); StatsFactory sf = new StatsFactory(); int w = 0; List<Channel> channels = pixels.getChannels(); for (Channel channel : channels) { // FIXME: This is where we need to have the ChannelBinding --> // Channel linkage. Without it, we have to assume that the order in // which the channel bindings was created matches up with the order // of the channels linked to the pixels set. ChannelBinding cb = cbs.get(w); double gMin = channel.getStatsInfo().getGlobalMin(); double gMax = channel.getStatsInfo().getGlobalMax(); //Test sf.computeLocationStats(pixels, buf, planeDef, w); //cb[w].setNoiseReduction(new Boolean(sf.isNoiseReduction())); cb.setNoiseReduction(Boolean.TRUE); float start = cb.getInputStart(); float end = cb.getInputEnd(); //TODO: find a better way. if (gMax == end && gMin == start) cb.setInputStart(new Float(sf.getInputStart())); cb.setInputEnd(new Float(sf.getInputEnd())); w++; } }
3,239,300
private static void computeLocationStats(Pixels pixels, List<ChannelBinding> cbs, PlaneDef planeDef, PixelBuffer buf) { if (planeDef == null) throw new NullPointerException("No plane definition."); StatsFactory sf = new StatsFactory(); int w = 0; List<Channel> channels = pixels.getChannels(); for (Channel channel : channels) { // FIXME: This is where we need to have the ChannelBinding --> // Channel linkage. Without it, we have to assume that the order in // which the channel bindings was created matches up with the order // of the channels linked to the pixels set. ChannelBinding cb = cbs.get(w); double gMin = channel.getStatsInfo().getGlobalMin(); double gMax = channel.getStatsInfo().getGlobalMax(); //Test sf.computeLocationStats(pixels, buf, planeDef, w); //cb[w].setNoiseReduction(new Boolean(sf.isNoiseReduction())); cb.setNoiseReduction(Boolean.TRUE); float start = cb.getInputStart(); float end = cb.getInputEnd(); //TODO: find a better way. if (gMax == end && gMin == start) cb.setInputStart(new Float(sf.getInputStart())); cb.setInputEnd(new Float(sf.getInputEnd())); w++; } }
private static void computeLocationStats(Pixels pixels, List<ChannelBinding> cbs, PlaneDef planeDef, PixelBuffer buf) { if (planeDef == null) throw new NullPointerException("No plane definition."); StatsFactory sf = new StatsFactory(); int w = 0; List<Channel> channels = pixels.getChannels(); for (Channel channel : channels) { // FIXME: This is where we need to have the ChannelBinding --> // Channel linkage. Without it, we have to assume that the order in // which the channel bindings was created matches up with the order // of the channels linked to the pixels set. ChannelBinding cb = cbs.get(w); double gMin = channel.getStatsInfo().getGlobalMin(); double gMax = channel.getStatsInfo().getGlobalMax(); //Test sf.computeLocationStats(pixels, buf, planeDef, w); //cb[w].setNoiseReduction(new Boolean(sf.isNoiseReduction())); cb.setNoiseReduction(Boolean.TRUE); float start = cb.getInputStart(); float end = cb.getInputEnd(); //TODO: find a better way. if (gMax == end && gMin == start) cb.setInputStart(new Float(sf.getInputStart())); cb.setInputEnd(new Float(sf.getInputEnd())); w++; } }
3,239,301
private void updateTreeModel() { if(source == null) { treeModel = new SemanticTypeTree("(empty)"); return; } List typesList = source.getRelevantTypes(); SemanticType[] types = new SemanticType[typesList.size()]; typesList.toArray(types); treeModel = new SemanticTypeTree(source.getDataset().getName()+ " Attributes",types); HeatMapFilter.filter(treeModel); for(Iterator iter = modelListeners.iterator(); iter.hasNext();) { HeatMapModelListener listener = (HeatMapModelListener)iter.next(); listener.modelChanged(treeModel); } }
private void updateTreeModel() { if(source == null) { treeModel = new SemanticTypeTree("(empty)"); return; } List typesList = source.getRelevantTypes(); SemanticType[] types = new SemanticType[typesList.size()]; typesList.toArray(types); treeModel = new SemanticTypeTree(source.getDataset().getName()+ " Attributes",types); HeatMapFilter.filter(treeModel); for(Iterator iter = modelListeners.iterator(); iter.hasNext();) { HeatMapModelListener listener = (HeatMapModelListener)iter.next(); listener.modelChanged(this); } }
3,239,302
private void init(BrowserTopModel topModel) { env = BrowserEnvironment.getInstance(); setBackground(new Color(192,192,192)); backgroundNode = new BackgroundNode(); getLayer().addChild(backgroundNode); layoutMap = new HashMap(); footprint = new Rectangle2D.Double(0,0,0,0); hoverSensitive = new HashSet(); regionSensitive = new HashSet(); removeInputEventListener(getZoomEventHandler()); removeInputEventListener(getPanEventHandler()); // default panning mode (may replace this, but probably not) overlayCamera = new BrowserCamera(topModel,getCamera()); hoverSensitive.add(overlayCamera); regionSensitive.add(overlayCamera); scaleToShow = true; addMouseListener(new MouseAdapter() { public void mouseEntered(MouseEvent me) { for(Iterator iter = hoverSensitive.iterator(); iter.hasNext();) { HoverSensitive hover = (HoverSensitive)iter.next(); hover.contextEntered(); } } public void mouseExited(MouseEvent me) { for(Iterator iter = hoverSensitive.iterator(); iter.hasNext();) { HoverSensitive hover = (HoverSensitive)iter.next(); hover.contextExited(); } } }); // OK, now, dispatch to the underlying nodes addInputEventListener(new PBasicInputEventHandler() { public void mouseClicked(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseDownSensitive) { ((MouseDownSensitive)node).respondMouseClick(e); e.setHandled(true); } else { pickPath.popNode(node); } } } public void mouseMoved(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseOverSensitive) { ((MouseOverSensitive)node).respondMouseEnter(e); e.setHandled(true); } else { pickPath.popNode(node); } } } }); addInputEventListener(new PDragSequenceEventHandler() { // OK, rant: this is stupid that this isn't the default behavior. // Jesse Grosjean, fix this thing, man, come on man. public void startDrag(PInputEvent e) { setIsDragging(true); } public void drag(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseDragSensitive) { ((MouseDragSensitive)node).respondDrag(e); e.setHandled(true); } else { pickPath.popNode(node); } } } public void endDrag(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseDragSensitive) { ((MouseDragSensitive)node).respondEndDrag(e); e.setHandled(true); } } } }); }
private void init(BrowserTopModel topModel) { env = BrowserEnvironment.getInstance(); setBackground(new Color(192,192,192)); backgroundNode = new BackgroundNode(); getLayer().addChild(backgroundNode); layoutMap = new HashMap(); footprint = new Rectangle2D.Double(0,0,0,0); hoverSensitive = new HashSet(); regionSensitive = new HashSet(); removeInputEventListener(getZoomEventHandler()); removeInputEventListener(getPanEventHandler()); // default panning mode (may replace this, but probably not) overlayCamera = new BrowserCamera(topModel,getCamera()); hoverSensitive.add(overlayCamera); regionSensitive.add(overlayCamera); scaleToShow = true; addMouseListener(new MouseAdapter() { public void mouseEntered(MouseEvent me) { for(Iterator iter = hoverSensitive.iterator(); iter.hasNext();) { HoverSensitive hover = (HoverSensitive)iter.next(); hover.contextEntered(); } } public void mouseExited(MouseEvent me) { for(Iterator iter = hoverSensitive.iterator(); iter.hasNext();) { HoverSensitive hover = (HoverSensitive)iter.next(); hover.contextExited(); } } }); // OK, now, dispatch to the underlying nodes addInputEventListener(new PBasicInputEventHandler() { public void mouseClicked(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseDownSensitive) { ((MouseDownSensitive)node).respondMouseClick(e); e.setHandled(true); } else { pickPath.popNode(node); } } } public void mouseMoved(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseOverSensitive) { ((MouseOverSensitive)node).respondMouseEnter(e); e.setHandled(true); } else { pickPath.popNode(node); } } } }); addInputEventListener(new PDragSequenceEventHandler() { // OK, rant: this is stupid that this isn't the default behavior. // Jesse Grosjean, fix this thing, man, come on man. public void startDrag(PInputEvent e) { setIsDragging(true); } public void drag(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseDragSensitive) { ((MouseDragSensitive)node).respondDrag(e); e.setHandled(true); } else { pickPath.popNode(node); } } } public void endDrag(PInputEvent e) { PPickPath pickPath = e.getPath(); PNode node; while((node = pickPath.getPickedNode()) != null && !e.isHandled()) { if(node instanceof MouseDragSensitive) { ((MouseDragSensitive)node).respondEndDrag(e); e.setHandled(true); } } } }); }
3,239,303
public org.jruby.runtime.RubyRuntime getRuntime() { return this.runtime; }
public RubyRuntime getRuntime() { Asserts.assertTrue(this.runtime != null, "runtime shouldn't be null"); return this.runtime; }
3,239,304
public void testHessian(){ OMEData data = new OMEPerformanceData(); OMEData old = getData(); Set imgs = new HashSet(); imgs.add(new Integer(101)); imgs.add(new Integer(12)); imgs.add(new Integer(5393)); imgs.add(new Integer(4954)); imgs.add(new Integer(3919)); imgs.add(new Integer(1273)); data.imgsCGCI=imgs; setData(data); Object o = this.testFindCGCIHierarchies(); Utils.structureSize(o); setData(old); log.info(getData()); Utils.structureSize(this.testFindCGCIHierarchies()); Utils.structureSize(this.testFindDatasetAnnotationsSet()); Utils.structureSize(this.testFindDatasetAnnotationsSetForExperimenter()); Utils.structureSize(this.testFindImageAnnotationsSet()); Utils.structureSize(this.testFindImageAnnotationsSetForExperimenter()); Utils.structureSize(this.testFindPDIHierarchies()); Utils.structureSize(this.testLoadCGCIHierarchyCategory()); Utils.structureSize(this.testLoadCGCIHierarchyCategoryGroup()); Utils.structureSize(this.testLoadPDIHierarchyDataset()); Utils.structureSize(this.testLoadPDIHierarchyProject()); }
public void testHessian(){ OMEData data = new OMEPerformanceData(); OMEData old = getData(); Set imgs = new HashSet(); imgs.add(new Integer(101)); imgs.add(new Integer(12)); imgs.add(new Integer(5393)); imgs.add(new Integer(4954)); imgs.add(new Integer(3919)); imgs.add(new Integer(1273)); data.imgsCGCI=imgs; setData(data); Object o = this.testFindDatasetAnnotationsSetForExperimenter(); Utils.structureSize(o); setData(old); log.info(getData()); Utils.structureSize(this.testFindCGCIHierarchies()); Utils.structureSize(this.testFindDatasetAnnotationsSet()); Utils.structureSize(this.testFindDatasetAnnotationsSetForExperimenter()); Utils.structureSize(this.testFindImageAnnotationsSet()); Utils.structureSize(this.testFindImageAnnotationsSetForExperimenter()); Utils.structureSize(this.testFindPDIHierarchies()); Utils.structureSize(this.testLoadCGCIHierarchyCategory()); Utils.structureSize(this.testLoadCGCIHierarchyCategoryGroup()); Utils.structureSize(this.testLoadPDIHierarchyDataset()); Utils.structureSize(this.testLoadPDIHierarchyProject()); }
3,239,305
protected void onContext(OmeroContext ctx) { IQuery q = (IQuery) ctx.getBean("queryService"); Advised aop = (Advised) q; System.out.println(Arrays.asList(aop.getAdvisors())); }
protected void onContext(OmeroContext ctx) { IQuery q = (IQuery) ctx.getBean("queryService"); Advised aop = (Advised) q; System.out.println(Arrays.asList(aop.getAdvisors())); }
3,239,307
public void testConfigureBean() throws Exception { OmeroContext ctx = OmeroContext.getInternalServerContext(); ctx.applyBeanPropertyValues(re,"omeis.providers.re.RenderingEngine"); assertTrue(re.pdCalled); assertTrue(re.pmCalled); }
public void testConfigureBean() throws Exception { OmeroContext ctx = OmeroContext.getInternalServerContext(); ctx.applyBeanPropertyValues(re,RenderingEngine.class); assertTrue(re.pdCalled); assertTrue(re.pmCalled); }
3,239,308
public void testListBeans() throws Exception { System.out.println(Arrays.asList( BeanFactoryUtils.beanNamesForTypeIncludingAncestors( OmeroContext.getManagedServerContext().getBeanFactory(), Object.class, true, true))); }
public void testListBeans() throws Exception { assertTrue(0 < Arrays.asList( BeanFactoryUtils.beanNamesForTypeIncludingAncestors( OmeroContext.getManagedServerContext().getBeanFactory(), Object.class, true, true))); }
3,239,309
public void testListBeans() throws Exception { System.out.println(Arrays.asList( BeanFactoryUtils.beanNamesForTypeIncludingAncestors( OmeroContext.getManagedServerContext().getBeanFactory(), Object.class, true, true))); }
public void testListBeans() throws Exception { System.out.println(Arrays.asList( BeanFactoryUtils.beanNamesForTypeIncludingAncestors( OmeroContext.getManagedServerContext().getBeanFactory(), Object.class, true, true)).size()); }
3,239,310
public void refreshClassification(ImageData[] images, Set categories, int m) { switch (model.getState()) { case NEW: case READY: break; default: new IllegalStateException("This method can only be invoked " + "in the NEW or READY state."); } if (categories == null) throw new IllegalArgumentException("Categories shouln't be null."); if (images == null) throw new IllegalArgumentException("No image."); if (images.length == 0) throw new IllegalArgumentException("No image."); if (m != Classifier.CLASSIFY_MODE && m != Classifier.DECLASSIFY_MODE) throw new IllegalArgumentException("Classification mode not " + "supported."); ImageData img; ClassificationVisitor visitor; List nodes; long userID = model.getUserID(); long groupID = model.getRootGroupID(); TreeImageDisplay d; int editorType = model.getBrowserType(); for (int i = 0; i < images.length; i++) { img = images[i]; visitor = new ClassificationVisitor(this, img, categories); accept(visitor, TreeImageDisplayVisitor.TREEIMAGE_NODE_ONLY); nodes = visitor.getFoundNodes(); d = TreeViewerTranslator.transformDataObject(img, userID, groupID); if (editorType == CATEGORY_EXPLORER) { if (m == Classifier.CLASSIFY_MODE) { createNodes(nodes, d, getLastSelectedDisplay().getParentDisplay()); } else removeNodes(nodes); } else if (editorType == PROJECT_EXPLORER || editorType == IMAGES_EXPLORER) view.updateNodes(nodes, img); } }
public void refreshClassification(ImageData[] images, Set categories, int m) { switch (model.getState()) { case NEW: case READY: break; default: new IllegalStateException("This method can only be invoked " + "in the NEW or READY state."); } if (categories == null) throw new IllegalArgumentException("Categories shouln't be null."); if (images == null) throw new IllegalArgumentException("No image."); if (images.length == 0) throw new IllegalArgumentException("No image."); if (m != Classifier.CLASSIFY_MODE && m != Classifier.DECLASSIFY_MODE) throw new IllegalArgumentException("Classification mode not " + "supported."); ImageData img; ClassificationVisitor visitor; List nodes; long userID = model.getUserID(); long groupID = model.getRootGroupID(); TreeImageDisplay d; int editorType = model.getBrowserType(); for (int i = 0; i < images.length; i++) { img = images[i]; visitor = new ClassificationVisitor(this, img, categories); accept(visitor, TreeImageDisplayVisitor.TREEIMAGE_NODE_ONLY); nodes = visitor.getFoundNodes(); d = TreeViewerTranslator.transformDataObject(img, userID, groupID); if (editorType == CATEGORY_EXPLORER) { if (m == Classifier.CLASSIFY_MODE) { createNodes(nodes, d, getLastSelectedDisplay().getParentDisplay()); } else removeNodes(nodes); } else if (editorType == PROJECT_EXPLORER || editorType == IMAGES_EXPLORER) view.updateNodes(nodes, img); } }
3,239,311
public void refreshClassification(ImageData[] images, Set categories, int m) { switch (model.getState()) { case NEW: case READY: break; default: new IllegalStateException("This method can only be invoked " + "in the NEW or READY state."); } if (categories == null) throw new IllegalArgumentException("Categories shouln't be null."); if (images == null) throw new IllegalArgumentException("No image."); if (images.length == 0) throw new IllegalArgumentException("No image."); if (m != Classifier.CLASSIFY_MODE && m != Classifier.DECLASSIFY_MODE) throw new IllegalArgumentException("Classification mode not " + "supported."); ImageData img; ClassificationVisitor visitor; List nodes; long userID = model.getUserID(); long groupID = model.getRootGroupID(); TreeImageDisplay d; int editorType = model.getBrowserType(); for (int i = 0; i < images.length; i++) { img = images[i]; visitor = new ClassificationVisitor(this, img, categories); accept(visitor, TreeImageDisplayVisitor.TREEIMAGE_NODE_ONLY); nodes = visitor.getFoundNodes(); d = TreeViewerTranslator.transformDataObject(img, userID, groupID); if (editorType == CATEGORY_EXPLORER) { if (m == Classifier.CLASSIFY_MODE) { createNodes(nodes, d, getLastSelectedDisplay().getParentDisplay()); } else removeNodes(nodes); } else if (editorType == PROJECT_EXPLORER || editorType == IMAGES_EXPLORER) view.updateNodes(nodes, img); } }
public void refreshClassification(ImageData[] images, Set categories, int m) { switch (model.getState()) { case NEW: case READY: break; default: new IllegalStateException("This method can only be invoked " + "in the NEW or READY state."); } if (categories == null) throw new IllegalArgumentException("Categories shouln't be null."); if (images == null) throw new IllegalArgumentException("No image."); if (images.length == 0) throw new IllegalArgumentException("No image."); if (m != Classifier.CLASSIFY_MODE && m != Classifier.DECLASSIFY_MODE) throw new IllegalArgumentException("Classification mode not " + "supported."); ImageData img; ClassificationVisitor visitor; List nodes; long userID = model.getUserID(); long groupID = model.getRootGroupID(); TreeImageDisplay d; int editorType = model.getBrowserType(); for (int i = 0; i < images.length; i++) { img = images[i]; visitor = new ClassificationVisitor(this, img, categories); accept(visitor, TreeImageDisplayVisitor.TREEIMAGE_NODE_ONLY); nodes = visitor.getFoundNodes(); d = TreeViewerTranslator.transformDataObject(img, userID, groupID); if (editorType == CATEGORY_EXPLORER) { if (m == Classifier.CLASSIFY_MODE) { createNodes(nodes, d, getLastSelectedDisplay().getParentDisplay()); } else removeNodes(nodes); } else if (editorType == PROJECT_EXPLORER || editorType == IMAGES_EXPLORER) view.updateNodes(nodes, img); } }
3,239,312
public void refreshClassification(ImageData[] images, Set categories, int m) { switch (model.getState()) { case NEW: case READY: break; default: new IllegalStateException("This method can only be invoked " + "in the NEW or READY state."); } if (categories == null) throw new IllegalArgumentException("Categories shouln't be null."); if (images == null) throw new IllegalArgumentException("No image."); if (images.length == 0) throw new IllegalArgumentException("No image."); if (m != Classifier.CLASSIFY_MODE && m != Classifier.DECLASSIFY_MODE) throw new IllegalArgumentException("Classification mode not " + "supported."); ImageData img; ClassificationVisitor visitor; List nodes; long userID = model.getUserID(); long groupID = model.getRootGroupID(); TreeImageDisplay d; int editorType = model.getBrowserType(); for (int i = 0; i < images.length; i++) { img = images[i]; visitor = new ClassificationVisitor(this, img, categories); accept(visitor, TreeImageDisplayVisitor.TREEIMAGE_NODE_ONLY); nodes = visitor.getFoundNodes(); d = TreeViewerTranslator.transformDataObject(img, userID, groupID); if (editorType == CATEGORY_EXPLORER) { if (m == Classifier.CLASSIFY_MODE) { createNodes(nodes, d, getLastSelectedDisplay().getParentDisplay()); } else removeNodes(nodes); } else if (editorType == PROJECT_EXPLORER || editorType == IMAGES_EXPLORER) view.updateNodes(nodes, img); } }
public void refreshClassification(ImageData[] images, Set categories, int m) { switch (model.getState()) { case NEW: case READY: break; default: new IllegalStateException("This method can only be invoked " + "in the NEW or READY state."); } if (categories == null) throw new IllegalArgumentException("Categories shouln't be null."); if (images == null) throw new IllegalArgumentException("No image."); if (images.length == 0) throw new IllegalArgumentException("No image."); if (m != Classifier.CLASSIFY_MODE && m != Classifier.DECLASSIFY_MODE) throw new IllegalArgumentException("Classification mode not " + "supported."); ImageData img; ClassificationVisitor visitor; List nodes; long userID = model.getUserID(); long groupID = model.getRootGroupID(); TreeImageDisplay d; int editorType = model.getBrowserType(); for (int i = 0; i < images.length; i++) { img = images[i]; visitor = new ClassificationVisitor(this, img, categories); accept(visitor, TreeImageDisplayVisitor.TREEIMAGE_NODE_ONLY); nodes = visitor.getFoundNodes(); d = TreeViewerTranslator.transformDataObject(img, userID, groupID); if (editorType == CATEGORY_EXPLORER) { if (m == Classifier.CLASSIFY_MODE) { createNodes(nodes, d, getLastSelectedDisplay().getParentDisplay()); } else removeNodes(nodes); } else if (editorType == PROJECT_EXPLORER || editorType == IMAGES_EXPLORER) */ view.updateNodes(nodes, img); } }
3,239,313
public void visitForNode(ForNode iVisited) { threadContext.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self); threadContext.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { ISourcePosition position = threadContext.getPosition(); Block tmpBlock = ArgsUtil.beginCallArgs(runtime); IRubyObject recv = null; try { recv = eval(iVisited.getIterNode()); } finally { threadContext.setPosition(position); ArgsUtil.endCallArgs(runtime, tmpBlock); } result = recv.getInternalClass().call(recv, "each", null, CallType.NORMAL); return; } catch (RetryJump rExcptn) { } } /* } catch (ReturnJump rExcptn) { result = rExcptn.getReturnValue(); */ } catch (BreakJump bExcptn) { // result = runtime.getNil(); throw new ReturnJump(runtime.getNil()); } finally { runtime.getIterStack().pop(); runtime.getBlockStack().pop(); } }
public void visitForNode(ForNode iVisited) { threadContext.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self); threadContext.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { ISourcePosition position = threadContext.getPosition(); Block tmpBlock = ArgsUtil.beginCallArgs(runtime); IRubyObject recv = null; try { recv = eval(iVisited.getIterNode()); } finally { threadContext.setPosition(position); ArgsUtil.endCallArgs(runtime, tmpBlock); } result = recv.getInternalClass().call(recv, "each", null, CallType.NORMAL); return; } catch (RetryJump rExcptn) { } } /* } catch (ReturnJump rExcptn) { result = rExcptn.getReturnValue(); */ } catch (BreakJump bExcptn) { // result = runtime.getNil(); result = runtime.getNil(); } finally { runtime.getIterStack().pop(); runtime.getBlockStack().pop(); } }
3,239,314
public void visitIterNode(IterNode iVisited) { threadContext.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self); threadContext.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { result = eval(iVisited.getIterNode()); return; } catch (RetryJump rExcptn) { } } /* } catch (ReturnJump rExcptn) { result = rExcptn.getReturnValue(); */ } catch (BreakJump bExcptn) { // result = runtime.getNil(); throw new ReturnJump(runtime.getNil()); } finally { threadContext.getIterStack().pop(); threadContext.getBlockStack().pop(); } }
public void visitIterNode(IterNode iVisited) { threadContext.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self); threadContext.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { result = eval(iVisited.getIterNode()); return; } catch (RetryJump rExcptn) { } } /* } catch (ReturnJump rExcptn) { result = rExcptn.getReturnValue(); */ } catch (BreakJump bExcptn) { // result = runtime.getNil(); result = runtime.getNil(); } finally { threadContext.getIterStack().pop(); threadContext.getBlockStack().pop(); } }
3,239,315
public IRubyObject yield(IRubyObject value, IRubyObject self, RubyModule klass, boolean checkArguments) { if (! ruby.isBlockGiven()) { throw new RaiseException(ruby, ruby.getExceptions().getLocalJumpError(), "yield called out of block"); } pushDynamicVars(); Block currentBlock = getBlockStack().getCurrent(); getFrameStack().push(currentBlock.getFrame()); Namespace oldNamespace = ruby.getNamespace(); ruby.setNamespace(getCurrentFrame().getNamespace()); Scope oldScope = (Scope) getScopeStack().getTop(); getScopeStack().setTop(currentBlock.getScope()); getBlockStack().pop(); getDynamicVarsStack().push(currentBlock.getDynamicVariables()); ruby.pushClass((klass != null) ? klass : currentBlock.getKlass()); if (klass == null) { self = currentBlock.getSelf(); } if (value == null) { value = RubyArray.newArray(ruby, 0); } ICallable method = currentBlock.getMethod(); if (method == null) { return ruby.getNil(); } getIterStack().push(currentBlock.getIter()); IRubyObject[] args = prepareArguments(value, self, currentBlock.getVar(), checkArguments); try { while (true) { try { return method.call(ruby, self, null, args, false); } catch (RedoJump rExcptn) { } } } catch (NextJump nExcptn) { return ruby.getNil(); } catch (ReturnJump rExcptn) { return rExcptn.getReturnValue(); } finally { getIterStack().pop(); ruby.popClass(); getDynamicVarsStack().pop(); getBlockStack().setCurrent(currentBlock); getFrameStack().pop(); ruby.setNamespace(oldNamespace); getScopeStack().setTop(oldScope); getDynamicVarsStack().pop(); } }
public IRubyObject yield(IRubyObject value, IRubyObject self, RubyModule klass, boolean checkArguments) { if (! ruby.isBlockGiven()) { throw new RaiseException(ruby, ruby.getExceptions().getLocalJumpError(), "yield called out of block"); } pushDynamicVars(); Block currentBlock = getBlockStack().getCurrent(); getFrameStack().push(currentBlock.getFrame()); Namespace oldNamespace = ruby.getNamespace(); ruby.setNamespace(getCurrentFrame().getNamespace()); Scope oldScope = (Scope) getScopeStack().getTop(); getScopeStack().setTop(currentBlock.getScope()); getBlockStack().pop(); getDynamicVarsStack().push(currentBlock.getDynamicVariables()); ruby.pushClass((klass != null) ? klass : currentBlock.getKlass()); if (klass == null) { self = currentBlock.getSelf(); } if (value == null) { value = RubyArray.newArray(ruby, 0); } ICallable method = currentBlock.getMethod(); if (method == null) { return ruby.getNil(); } getIterStack().push(currentBlock.getIter()); IRubyObject[] args = prepareArguments(value, self, currentBlock.getVar(), checkArguments); try { while (true) { try { return method.call(ruby, self, null, args, false); } catch (RedoJump rExcptn) { } } } catch (NextJump nExcptn) { return ruby.getNil(); } catch (ReturnJump rExcptn) { return rExcptn.getReturnValue(); } finally { getIterStack().pop(); ruby.popClass(); getDynamicVarsStack().pop(); getBlockStack().setCurrent(currentBlock); getFrameStack().pop(); ruby.setNamespace(oldNamespace); getScopeStack().setTop(oldScope); getDynamicVarsStack().pop(); } }
3,239,316
public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name == null) return; if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) { Browser browser = model.getSelectedBrowser(); if (browser != null) browser.cancel(); } else if (name.equals(Browser.POPUP_MENU_PROPERTY)) { Component c = (Component) pce.getNewValue(); Browser browser = model.getSelectedBrowser(); if (browser != null && c != null) view.showPopup(c, browser.getClickPoint()); } else if (name.equals(Browser.CLOSE_PROPERTY)) { Browser browser = (Browser) pce.getNewValue(); if (browser != null) view.removeBrowser(browser); } else if (name.equals(Editor.CLOSE_EDITOR_PROPERTY)) { Browser b = model.getSelectedBrowser(); TreeImageDisplay d = null; if (b != null) d = b.getLastSelectedDisplay(); int editorType = model.getEditorType(); model.removeEditor(); model.onComponentStateChange(true); if (editorType == TreeViewer.CREATE_EDITOR) resetSelectedDisplay(d); } else if (name.equals(Classifier.CLOSE_CLASSIFIER_PROPERTY)) { Browser b = model.getSelectedBrowser(); if (b != null) resetSelectedDisplay(b.getLastSelectedDisplay()); model.onComponentStateChange(true); } else if (name.equals(TreeViewer.FINDER_VISIBLE_PROPERTY)) { Boolean b = (Boolean) pce.getNewValue(); if (!b.booleanValue()) { model.clearFoundResults(); model.onComponentStateChange(true); } } else if (name.equals(TreeViewer.SELECTED_BROWSER_PROPERTY)) { Browser b = model.getSelectedBrowser(); Iterator i = model.getBrowsers().values().iterator(); Browser browser; while (i.hasNext()) { browser = (Browser) i.next(); browser.setSelected(browser.equals(b)); } } else if (name.equals(TreeViewer.THUMBNAIL_LOADING_PROPERTY)) { model.retrieveThumbnail((ImageData) pce.getNewValue()); } else if (name.equals(Browser.SELECTED_DISPLAY_PROPERTY)) { Object oldValue = pce.getOldValue(); Object newValue = pce.getNewValue(); if (oldValue != null && newValue != null) { //if (!(oldValue.getClass().equals(newValue.getClass()))) // model.setEditorSelectedPane(Editor.PROPERTIES_INDEX); } model.onSelectedDisplay(); view.updateMenuItems(); } else if (name.equals(TreeViewer.HIERARCHY_ROOT_PROPERTY)) { Map browsers = model.getBrowsers(); Iterator i = browsers.values().iterator(); while (i.hasNext()) ((Browser) i.next()).refreshTree(); } else if (name.equals( AddExistingObjectsDialog.EXISTING_ADD_PROPERTY)) { model.addExistingObjects((Set) pce.getNewValue()); } else if (name.equals(EditorSaverDialog.SAVING_DATA_EDITOR_PROPERTY)) { boolean b = ((Boolean) pce.getNewValue()).booleanValue(); model.saveInEditor(b); } else if (name.equals(DataHandler.ANNOTATED_PROPERTY) || name.equals(DataHandler.CLASSIFIED_PROPERTY)) { if (view.getDataHandler() == null) return; view.discardDataHandler(); Map browsers = model.getBrowsers(); Iterator i = browsers.values().iterator(); while (i.hasNext()) ((Browser) i.next()).refreshTree(); } }
if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } public void propertyChange(PropertyChangeEvent pce)if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } String name = pce.getPropertyName();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (name == null) return;if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Browser browser = model.getSelectedBrowser();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (browser != null) browser.cancel();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(Browser.POPUP_MENU_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Component c = (Component) pce.getNewValue();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Browser browser = model.getSelectedBrowser();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (browser != null && c != null)if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } view.showPopup(c, browser.getClickPoint());if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(Browser.CLOSE_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Browser browser = (Browser) pce.getNewValue();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (browser != null) view.removeBrowser(browser);if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(Editor.CLOSE_EDITOR_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Browser b = model.getSelectedBrowser();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } TreeImageDisplay d = null;if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (b != null) d = b.getLastSelectedDisplay();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } int editorType = model.getEditorType();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.removeEditor();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.onComponentStateChange(true);if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (editorType == TreeViewer.CREATE_EDITOR)if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } resetSelectedDisplay(d);if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(Classifier.CLOSE_CLASSIFIER_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Browser b = model.getSelectedBrowser();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (b != null) resetSelectedDisplay(b.getLastSelectedDisplay());if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.onComponentStateChange(true);if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(TreeViewer.FINDER_VISIBLE_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Boolean b = (Boolean) pce.getNewValue();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!b.booleanValue()) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.clearFoundResults();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.onComponentStateChange(true);if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } }if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(TreeViewer.SELECTED_BROWSER_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Browserif (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } b = model.getSelectedBrowser();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Iterator i = model.getBrowsers().values().iterator();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Browser browser;if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } while (i.hasNext()) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } browser = (Browser) i.next();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } browser.setSelected(browser.equals(b));if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } }if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(TreeViewer.THUMBNAIL_LOADING_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.retrieveThumbnail((ImageData) pce.getNewValue());if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(Browser.SELECTED_DISPLAY_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Object oldValue = pce.getOldValue();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Object newValue = pce.getNewValue();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (oldValue != null && newValue != null) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } //if (!(oldValue.getClass().equals(newValue.getClass())))if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } //if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.setEditorSelectedPane(Editor.PROPERTIES_INDEX);if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } }if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.onSelectedDisplay();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } view.updateMenuItems();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(TreeViewer.HIERARCHY_ROOT_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Map browsers = model.getBrowsers();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Iterator i = browsers.values().iterator();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } while (i.hasNext())if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } ((Browser) i.next()).refreshTree();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } AddExistingObjectsDialog.EXISTING_ADD_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.addExistingObjects((Set) pce.getNewValue());if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(EditorSaverDialog.SAVING_DATA_EDITOR_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } boolean b = ((Boolean) pce.getNewValue()).booleanValue();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } model.saveInEditor(b);if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } } else if (name.equals(DataHandler.ANNOTATED_PROPERTY) ||if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } name.equals(DataHandler.CLASSIFIED_PROPERTY)) {if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (view.getDataHandler() == null) return;if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } view.discardDataHandler();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Map browsers = model.getBrowsers();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } Iterator i = browsers.values().iterator();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } while (i.hasNext())if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } ((Browser) i.next()).refreshTree();if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } }if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } if (!(oldValue.getClass().equals(newValue.getClass()))) { if (oldValue instanceof TreeImageDisplay) { TreeImageDisplay d = (TreeImageDisplay) oldValue; if (d != null && (d.getUserObject() instanceof ImageData)) { int index = EditorFactory.getEditorSelectedPane(); if (index == Editor.INFO_INDEX) EditorFactory.setEditorSelectedPane( Editor.PROPERTIES_INDEX); } } } }
3,239,319
private String generateHtmlizedJavaSource(SourceFileData sourceFileData) { File sourceFile = null; try { sourceFile = finder.getFileForSource(sourceFileData.getName()); } catch (IOException e) { return "<p>Unable to locate " + sourceFileData.getName() + ". Have you specified the source directory?</p>"; } BufferedReader br = null; try { br = new BufferedReader(new FileReader(sourceFile)); } catch (FileNotFoundException e) { if (br != null) { try { br.close(); } catch (IOException e2) { } } return "<p>Unable to open " + sourceFile.getAbsolutePath() + "</p>"; } StringBuffer ret = new StringBuffer(); ret .append("<table cellspacing=\"0\" cellpadding=\"0\" class=\"src\">\n"); try { String lineStr; JavaToHtml javaToHtml = new JavaToHtml(); int lineNumber = 1; while ((lineStr = br.readLine()) != null) { ret.append("<tr>"); if (sourceFileData.isValidSourceLineNumber(lineNumber)) { long numberOfHits = sourceFileData.getHitCount(lineNumber); ret.append(" <td class=\"numLineCover\">&nbsp;" + lineNumber + "</td>"); if (numberOfHits > 0) { ret.append(" <td class=\"nbHitsCovered\">&nbsp;" + numberOfHits + "</td>"); ret .append(" <td class=\"src\"><pre class=\"src\">&nbsp;" + javaToHtml.process(lineStr) + "</pre></td>"); } else { ret.append(" <td class=\"nbHitsUncovered\">&nbsp;" + numberOfHits + "</td>"); ret .append(" <td class=\"src\"><pre class=\"src\"><span class=\"srcUncovered\">&nbsp;" + javaToHtml.process(lineStr) + "</span></pre></td>"); } } else { ret.append(" <td class=\"numLine\">&nbsp;" + lineNumber + "</td>"); ret.append(" <td class=\"nbHits\">&nbsp;</td>\n"); ret.append(" <td class=\"src\"><pre class=\"src\">&nbsp;" + javaToHtml.process(lineStr) + "</pre></td>"); } ret.append("</tr>\n"); lineNumber++; } } catch (IOException e) { ret.append("<tr><td>Error reading from file " + sourceFile.getAbsolutePath() + ": " + e.getLocalizedMessage() + "</td></tr>\n"); } finally { try { br.close(); } catch (IOException e) { } } ret.append("</table>\n"); return ret.toString(); }
private String generateHtmlizedJavaSource(SourceFileData sourceFileData) { File sourceFile = null; try { sourceFile = finder.getFileForSource(sourceFileData.getName()); } catch (IOException e) { return "<p>Unable to locate " + sourceFileData.getName() + ". Have you specified the source directory?</p>"; } BufferedReader br = null; try { br = new BufferedReader(new FileReader(sourceFile)); } catch (FileNotFoundException e) { if (br != null) { try { br.close(); } catch (IOException e2) { } } return "<p>Unable to open " + sourceFile.getAbsolutePath() + "</p>"; } StringBuffer ret = new StringBuffer(); ret .append("<table cellspacing=\"0\" cellpadding=\"0\" class=\"src\">\n"); try { String lineStr; JavaToHtml javaToHtml = new JavaToHtml(); int lineNumber = 1; while ((lineStr = br.readLine()) != null) { ret.append("<tr>"); if (sourceFileData.isValidSourceLineNumber(lineNumber)) { long numberOfHits = sourceFileData.getHitCount(lineNumber); ret.append(" <td class=\"numLineCover\">&nbsp;" + lineNumber + "</td>"); if (numberOfHits > 0) { ret.append(" <td class=\"nbHitsCovered\">&nbsp;" + numberOfHits + "</td>"); ret .append(" <td class=\"src\"><pre class=\"src\">&nbsp;" + javaToHtml.process(lineStr) + "</pre></td>"); } else { ret.append(" <td class=\"nbHitsUncovered\">&nbsp;" + numberOfHits + "</td>"); ret .append(" <td class=\"src\"><pre class=\"src\"><span class=\"srcUncovered\">&nbsp;" + javaToHtml.process(lineStr) + "</span></pre></td>"); } } else { ret.append(" <td class=\"numLine\">&nbsp;" + lineNumber + "</td>"); ret.append(" <td class=\"nbHits\">&nbsp;</td>\n"); ret.append(" <td class=\"src\"><pre class=\"src\">&nbsp;" + javaToHtml.process(lineStr) + "</pre></td>"); } ret.append("</tr>\n"); lineNumber++; } } catch (IOException e) { ret.append("<tr><td>Error reading from file " + sourceFile.getAbsolutePath() + ": " + e.getLocalizedMessage() + "</td></tr>\n"); } finally { try { br.close(); } catch (IOException e) { } } ret.append("</table>\n"); return ret.toString(); }
3,239,320
protected DataLoader createHierarchyLoader() { return new ProjectLoader(component, projectsID); }
protected DataLoader createHierarchyLoader(boolean refresh) { return new ProjectLoader(component, projectsID); }
3,239,321
protected DataLoader createHierarchyLoader() { return new ProjectLoader(component, projectsID); }
protected DataLoader createHierarchyLoader() { return new ProjectLoader(component, projectsID, refresh); }
3,239,322
public IconBar(int maxWidth) { this.maxWidth = maxWidth; backgroundColor = new Color(153,153,153,128); setBounds(getX(),getY(),maxWidth,currentHeight); }
public IconBar(int maxWidth) { this.maxWidth = maxWidth; backgroundColor = new Color(153,153,153,192); setBounds(getX(),getY(),maxWidth,currentHeight); }
3,239,323
TitleBar(String name) { setBounds(bounds); titleName = name; backgroundColor = new Color(0,51,153,128); titleNode = new PText(name); titleNode.setPaint(Color.white); titleNode.setFont(titleFont); actionSet = new MouseDragActions(); actionSet.setDragAction(PiccoloModifiers.NORMAL, PiccoloActions.DRAG_MOVE_ACTION); addChild(titleNode); titleNode.setOffset(4,4); minimizeNode = new MinimizeIcon(); addChild(minimizeNode); minimizeNode.setOffset(measuredWidth-60,0); // we assign the minimize icon's behavior here because it's // always going to be applicable here. MouseDownActions mouseActions = minimizeNode.getMouseDownActions(); mouseActions.setMouseClickAction(PiccoloModifiers.NORMAL, new PiccoloAction() { public void execute() { // TODO: actually do something useful System.err.println("Minimize clicked"); } public void execute(PInputEvent e) { execute(); } }); minimizeNode.setMouseDownActions(mouseActions); hideNode = new HideIcon(); addChild(hideNode); hideNode.setOffset(measuredWidth-40,0); closeNode = new CloseIcon(); addChild(closeNode); closeNode.setOffset(measuredWidth-20,0); }
TitleBar(String name) { setBounds(bounds); titleName = name; backgroundColor = new Color(0,51,153); titleNode = new PText(name); titleNode.setPaint(Color.white); titleNode.setFont(titleFont); actionSet = new MouseDragActions(); actionSet.setDragAction(PiccoloModifiers.NORMAL, PiccoloActions.DRAG_MOVE_ACTION); addChild(titleNode); titleNode.setOffset(4,4); minimizeNode = new MinimizeIcon(); addChild(minimizeNode); minimizeNode.setOffset(measuredWidth-60,0); // we assign the minimize icon's behavior here because it's // always going to be applicable here. MouseDownActions mouseActions = minimizeNode.getMouseDownActions(); mouseActions.setMouseClickAction(PiccoloModifiers.NORMAL, new PiccoloAction() { public void execute() { // TODO: actually do something useful System.err.println("Minimize clicked"); } public void execute(PInputEvent e) { execute(); } }); minimizeNode.setMouseDownActions(mouseActions); hideNode = new HideIcon(); addChild(hideNode); hideNode.setOffset(measuredWidth-40,0); closeNode = new CloseIcon(); addChild(closeNode); closeNode.setOffset(measuredWidth-20,0); }
3,239,324
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 48: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 3: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(14, 16); break; case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(17, 20); break; case 30: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (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 = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 32) kind = 32; break; case 49: case 1: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 48: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 3: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(14, 16); break; case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(17, 20); break; case 30: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3,239,325
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 48: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 3: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(14, 16); break; case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(17, 20); break; case 30: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (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 = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 48: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(14, 16); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(17, 20); break; case 30: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3,239,326
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 48: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 3: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(14, 16); break; case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(17, 20); break; case 30: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (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 = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 48: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(14, 16); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(17, 20); break; case 30: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3,239,327
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 48: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 3: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(14, 16); break; case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(17, 20); break; case 30: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (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 = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 48: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(14, 16); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(17, 20); break; case 30: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3,239,328
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 48: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 3: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(14, 16); break; case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(17, 20); break; case 30: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (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 = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 48: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(14, 16); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(17, 20); break; case 30: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3,239,329
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 48: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(11, 13); break; case 3: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(14, 16); break; case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddStates(17, 20); break; case 30: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (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 = 48; 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 > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; 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 > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L && kind > 32) kind = 32; break; case 49: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 48: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(14, 16); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(17, 20); break; case 30: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3,239,330
public static Test suite() { TestSuite suite= new TestSuite(); suite.addTest(new TestSyntheticTemplate("load") { protected WebMacro createWebMacro() throws Exception { return new WM("org/webmacro/template/TST.properties"); } protected void runTest() throws Exception { this.threadCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.ThreadCount", this.threadCount); this.iterationCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.IterationCount", this.threadCount); this.testLoadAndToss(); this.testLoad(); } } ); return suite; }
public static Test suite() { TestSuite suite= new TestSuite(); suite.addTest(new TestSyntheticTemplate("load") { protected WebMacro createWebMacro() throws Exception { return new WM("org/webmacro/template/TST.properties"); } protected void runTest() throws Exception { this.threadCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.ThreadCount", this.threadCount); this.iterationCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.IterationCount", this.IterationCount); this.testLoadAndToss(); this.testLoad(); } } ); return suite; }
3,239,331
protected void runTest() throws Exception { this.threadCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.ThreadCount", this.threadCount); this.iterationCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.IterationCount", this.threadCount); this.testLoadAndToss(); this.testLoad(); }
protected void runTest() throws Exception { this.threadCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.ThreadCount", this.threadCount); this.iterationCount = _wm.getBroker().getIntegerSetting("TestSyntheticTemplate.IterationCount", this.IterationCount); this.testLoadAndToss(); this.testLoad(); }
3,239,332
public IRubyObject callSuper(IRubyObject[] args) { if (ruby.getCurrentFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getCurrentFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIterStack().push(ruby.getCurrentIter().isNot() ? Iter.ITER_NOT : Iter.ITER_PRE); try { return ruby.getCurrentFrame().getLastClass().getSuperClass().call( ruby.getCurrentFrame().getSelf().toRubyObject(), ruby.getCurrentFrame().getLastFunc(), args, 3); } finally { ruby.getIterStack().pop(); } }
public IRubyObject callSuper(IRubyObject[] args) { if (ruby.getCurrentFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getCurrentFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIterStack().push(ruby.getCurrentIter().isNot() ? Iter.ITER_NOT : Iter.ITER_PRE); try { return ruby.getCurrentFrame().getLastClass().getSuperClass().call( ruby.getCurrentFrame().getSelf().toRubyObject(), ruby.getCurrentFrame().getLastFunc(), args, 3); } finally { ruby.getIterStack().pop(); } }
3,239,333
public synchronized void callTraceFunction(String event, String file, int line, IRubyObject self, String name, IRubyObject type) { if (!tracing && traceFunction != null) { tracing = true; // XXX if (file == null) { file = "(ruby)"; } if (type == null) type = ruby.getFalse(); ruby.getFrameStack().push(); try { traceFunction .call(new IRubyObject[] { RubyString.newString(ruby, event), RubyString.newString(ruby, file), RubyFixnum.newFixnum(ruby, line), RubySymbol.newSymbol(ruby, name), self.toRubyObject(), // XXX type.toRubyObject() }); } finally { ruby.getFrameStack().pop(); tracing = false; // XXX } } }
public synchronized void callTraceFunction(String event, String file, int line, IRubyObject self, String name, IRubyObject type) { if (!tracing && traceFunction != null) { tracing = true; // XXX if (file == null) { file = "(ruby)"; } if (type == null) type = ruby.getFalse(); ruby.getFrameStack().push(); try { traceFunction .call(new IRubyObject[] { RubyString.newString(ruby, event), RubyString.newString(ruby, file), RubyFixnum.newFixnum(ruby, line), RubySymbol.newSymbol(ruby, name), self, // XXX type.toRubyObject() }); } finally { ruby.getFrameStack().pop(); tracing = false; // XXX } } }
3,239,334
public synchronized void callTraceFunction(String event, String file, int line, IRubyObject self, String name, IRubyObject type) { if (!tracing && traceFunction != null) { tracing = true; // XXX if (file == null) { file = "(ruby)"; } if (type == null) type = ruby.getFalse(); ruby.getFrameStack().push(); try { traceFunction .call(new IRubyObject[] { RubyString.newString(ruby, event), RubyString.newString(ruby, file), RubyFixnum.newFixnum(ruby, line), RubySymbol.newSymbol(ruby, name), self.toRubyObject(), // XXX type.toRubyObject() }); } finally { ruby.getFrameStack().pop(); tracing = false; // XXX } } }
public synchronized void callTraceFunction(String event, String file, int line, IRubyObject self, String name, IRubyObject type) { if (!tracing && traceFunction != null) { tracing = true; // XXX if (file == null) { file = "(ruby)"; } if (type == null) type = ruby.getFalse(); ruby.getFrameStack().push(); try { traceFunction .call(new IRubyObject[] { RubyString.newString(ruby, event), RubyString.newString(ruby, file), RubyFixnum.newFixnum(ruby, line), RubySymbol.newSymbol(ruby, name), self.toRubyObject(), // XXX type }); } finally { ruby.getFrameStack().pop(); tracing = false; // XXX } } }
3,239,335
public String toString(){ return "ChannelComponent"+(attributeId==null ? ":Hash"+this.hashCode() : ":"+attributeId); }
public String toString(){ return "ChannelComponent"+(attributeId==null ? ":Hash_"+this.hashCode() : ":Id_"+attributeId); }
3,239,336
public RubyClass newSubClass(String name, RubyModule parent) { return new SymbolMetaClass(name, this, parent); }
public RubyClass newSubClass(String name, RubyModule parent) { return new SymbolMetaClass(name, this, parent); }
3,239,337
public void push(NODE v, NODE b, RubyObject newSelf) { RubyBlock oldBlock = new RubyBlock(var, body, self, frame, scope, klass, iter, vmode, flags, dynamicVars, origThread, prev, ruby); var = v; body = b; self = newSelf; frame = ruby.getInterpreter().getRubyFrame(); klass = ruby.getInterpreter().getRubyClass(); // _block.frame.file = ruby_sourcefile; // _block.frame.line = ruby_sourceline; scope = ruby.getRubyScope(); prev = oldBlock; iter = ruby.getInterpreter().getRubyIter().getIter(); vmode = ruby.getInterpreter().getActMethodScope(); flags = BLOCK_D_SCOPE; dynamicVars = ruby.getInterpreter().getDynamicVars(); }
public void push(NODE v, NODE b, RubyObject newSelf) { RubyBlock oldBlock = new RubyBlock(var, body, self, frame, scope, klass, iter, vmode, flags, dynamicVars, origThread, prev, ruby); var = v; body = b; self = newSelf; frame = ruby.getInterpreter().getRubyFrame(); klass = ruby.getRubyClass(); frame.setFile(ruby.getSourceFile()); frame.setLine(ruby.getSourceLine()); // _block.frame.file = ruby_sourcefile; // _block.frame.line = ruby_sourceline; scope = ruby.getRubyScope(); prev = oldBlock; iter = ruby.getInterpreter().getRubyIter().getIter(); vmode = ruby.getInterpreter().getActMethodScope(); flags = BLOCK_D_SCOPE; dynamicVars = ruby.getInterpreter().getDynamicVars(); }
3,239,339
public void push(NODE v, NODE b, RubyObject newSelf) { RubyBlock oldBlock = new RubyBlock(var, body, self, frame, scope, klass, iter, vmode, flags, dynamicVars, origThread, prev, ruby); var = v; body = b; self = newSelf; frame = ruby.getInterpreter().getRubyFrame(); klass = ruby.getInterpreter().getRubyClass(); // _block.frame.file = ruby_sourcefile; // _block.frame.line = ruby_sourceline; scope = ruby.getRubyScope(); prev = oldBlock; iter = ruby.getInterpreter().getRubyIter().getIter(); vmode = ruby.getInterpreter().getActMethodScope(); flags = BLOCK_D_SCOPE; dynamicVars = ruby.getInterpreter().getDynamicVars(); }
public void push(NODE v, NODE b, RubyObject newSelf) { RubyBlock oldBlock = new RubyBlock(var, body, self, frame, scope, klass, iter, vmode, flags, dynamicVars, origThread, prev, ruby); var = v; body = b; self = newSelf; frame = ruby.getInterpreter().getRubyFrame(); klass = ruby.getInterpreter().getRubyClass(); // _block.frame.file = ruby_sourcefile; // _block.frame.line = ruby_sourceline; scope = ruby.getRubyScope(); prev = oldBlock; iter = ruby.getInterpreter().getRubyIter().getIter(); vmode = ruby.getInterpreter().getActMethodScope(); flags = BLOCK_D_SCOPE; dynamicVars = ruby.getDynamicVars(); }
3,239,340
private void initComponents() { IconManager icons = IconManager.getInstance(); //movie controls play = new JButton(icons.getIcon(IconManager.PLAY)); play.setToolTipText(UIUtilities.formatToolTipText("Play movie.")); pause = new JButton(icons.getIcon(IconManager.PAUSE)); pause.setToolTipText(UIUtilities.formatToolTipText("Pause.")); stop = new JButton(icons.getIcon(IconManager.STOP)); stop.setToolTipText(UIUtilities.formatToolTipText("Stop movie.")); movieTypes = new JComboBox(selections); movieTypes.setSelectedIndex(getMovieTypeIndex(model.getMovieType())); // Spinner timepoint granularity is 1, so must be stepSize int max = model.getMaximumTimer(); fps = new JSpinner(new SpinnerNumberModel(model.getTimerDelay(), MoviePlayer.FPS_MIN, max, 1)); editor = new JTextField(""+model.getTimerDelay(), (""+max).length()); String s = "Select or enter the movie playback rate " + "(frames per second)."; editor.setToolTipText(UIUtilities.formatToolTipText(s)); fps.setEditor(editor); //movie selection int maxZ = model.getMaxZ(); zSlider = new TwoKnobsSlider(model.getMinZ(), maxZ, model.getStartZ(), model.getEndZ()); zSlider.setPaintEndLabels(false); zSlider.setPaintLabels(false); startZ = new JTextField(""+model.getStartZ(), (""+maxZ).length()); startZ.setToolTipText( UIUtilities.formatToolTipText("Enter the start z-section.")); endZ = new JTextField(""+model.getEndZ(), (""+maxZ).length()); endZ.setToolTipText( UIUtilities.formatToolTipText("Enter the end z-section.")); int maxT = model.getMaxT(); tSlider = new TwoKnobsSlider(model.getMinT(), maxT, model.getStartT(), model.getEndT()); tSlider.setPaintEndLabels(false); tSlider.setPaintLabels(false); startT = new JTextField(""+model.getStartT(), (""+maxT).length()); startT.setToolTipText( UIUtilities.formatToolTipText("Enter the start timepoint.")); endT = new JTextField(""+model.getEndT(), (""+maxT).length()); endT.setToolTipText( UIUtilities.formatToolTipText("Enter the end timepoint.")); acrossZ = new JRadioButton("Across Z"); acrossT = new JRadioButton("Across T"); acrossZT = new JRadioButton("Across Z and T"); ButtonGroup group = new ButtonGroup(); group.add(acrossZ); group.add(acrossT); group.add(acrossZT); }
private void initComponents() { IconManager icons = IconManager.getInstance(); //movie controls play = new JButton(icons.getIcon(IconManager.PLAY)); play.setToolTipText(UIUtilities.formatToolTipText("Play movie.")); pause = new JButton(icons.getIcon(IconManager.PAUSE)); pause.setToolTipText(UIUtilities.formatToolTipText("Pause.")); stop = new JButton(icons.getIcon(IconManager.STOP)); stop.setToolTipText(UIUtilities.formatToolTipText("Stop movie.")); movieTypes = new JComboBox(selections); movieTypes.setSelectedIndex(getMovieTypeIndex(model.getMovieType())); // Spinner timepoint granularity is 1, so must be stepSize int max = model.getMaximumTimer(); fps = new JSpinner(new SpinnerNumberModel(model.getTimerDelay(), MoviePlayer.FPS_MIN, max, 1)); editor = new JTextField(""+model.getTimerDelay(), (""+max).length()); String s = "Select or enter the movie playback rate " + "(frames per second)."; editor.setToolTipText(UIUtilities.formatToolTipText(s)); fps.setEditor(editor); //movie selection int maxZ = model.getMaxZ(); zSlider = new TwoKnobsSlider(model.getMinZ(), maxZ, model.getStartZ(), model.getEndZ()); zSlider.setPaintEndLabels(false); zSlider.setPaintLabels(false); startZ = new JTextField(""+model.getStartZ(), (""+maxZ).length()); startZ.setToolTipText( UIUtilities.formatToolTipText("Enter the start z-section.")); endZ = new JTextField(""+model.getEndZ(), (""+maxZ).length()); endZ.setToolTipText( UIUtilities.formatToolTipText("Enter the end z-section.")); int maxT = model.getMaxT(); tSlider = new TwoKnobsSlider(model.getMinT(), maxT, model.getStartT(), model.getEndT()); tSlider.setPaintEndLabels(false); tSlider.setPaintLabels(false); startT = new JTextField(""+model.getStartT(), (""+maxT).length()); startT.setToolTipText( UIUtilities.formatToolTipText("Enter the start timepoint.")); endT = new JTextField(""+model.getEndT(), (""+maxT).length()); endT.setToolTipText( UIUtilities.formatToolTipText("Enter the end timepoint.")); acrossZ = new JRadioButton("Across Z"); acrossT = new JRadioButton("Across T"); acrossZT = new JRadioButton("Across Z and T"); ButtonGroup group = new ButtonGroup(); group.add(acrossZ); group.add(acrossT); group.add(acrossZT); }
3,239,342
private void buildPresentation(PixelsDimensions pxsDims) { presentation = new ViewerUIF(control, registry, pxsDims, getDefaultT(), getDefaultZ()); control.setPresentation(presentation); control.attachListener(); }
private void buildPresentation(PixelsDimensions pxsDims) { presentation = new ViewerUIF(control, registry, pxsDims, getDefaultT(), getDefaultZ()); control.setPresentation(presentation); control.attachListener(); }
3,239,343
public void eventFired(AgentEvent e) { if (e instanceof ImageLoaded) handleImageLoaded((ImageLoaded) e); else if (e instanceof ImageRendered) handleImageRendered((ImageRendered) e); else if (e instanceof LoadImage) handleLoadImage((LoadImage) e); }
public void eventFired(AgentEvent e) { if (e instanceof ImageLoaded) handleImageLoaded((ImageLoaded) e); else if (e instanceof ImageRendered) handleImageRendered((ImageRendered) e); else if (e instanceof LoadImage) handleLoadImage((LoadImage) e); }
3,239,344
PixelsDimensions getPixelsDims() { return renderingControl.getPixelsDims(); }
PixelsDimensions getPixelsDims() { return renderingControl.getPixelsDims(); }
3,239,345
private void handleImageLoaded(ImageLoaded response) { LoadImage request = (LoadImage) response.getACT(); renderingControl = response.getProxy(); PixelsDimensions pxsDims = renderingControl.getPixelsDims(); //TODO: REMOVE COMMENTS //control.removeProgressNotifier(); if (curImageID != request.getImageID()) { if (presentation == null) buildPresentation(pxsDims); initPresentation(request.getImageName(), pxsDims, false); curImageID = request.getImageID(); curPixelsID = request.getPixelsID(); registry.getEventBus().post(new RenderImage(curPixelsID)); // have to dispose all windows linked control.disposeDialogs(); } showPresentation(); }
private void handleImageLoaded(ImageLoaded response) { LoadImage request = (LoadImage) response.getACT(); renderingControl = response.getProxy(); PixelsDimensions pxsDims = renderingControl.getPixelsDims(); //TODO: REMOVE COMMENTS //control.removeProgressNotifier(); if (curImageID != request.getImageID()) { if (presentation == null) buildPresentation(pxsDims); initPresentation(request.getImageName(), pxsDims, false); curImageID = request.getImageID(); curPixelsID = request.getPixelsID(); registry.getEventBus().post(new RenderImage(curPixelsID)); // have to dispose all windows linked control.disposeDialogs(); } showPresentation(); }
3,239,346
private void handleImageRendered(ImageRendered response) { curImage = null; curImage = response.getRenderedImage(); presentation.setImage(curImage); }
private void handleImageRendered(ImageRendered response) { curImage = null; curImage = response.getRenderedImage(); presentation.setImage(curImage); }
3,239,347
private void handleLoadImage(LoadImage request) { //TODO: REMOVE COMMENTS //control.showProgressNotifier(request.getImageName()); }
private void handleLoadImage(LoadImage request) { //TODO: REMOVE COMMENTS //control.showProgressNotifier(request.getImageName()); }
3,239,348
private void initPresentation(String imageName, PixelsDimensions pxsDims, boolean active) { curImageName = imageName; presentation.setDefaultZT(getDefaultT(), getDefaultZ(), pxsDims.sizeT, pxsDims.sizeZ); presentation.setImageName(imageName); presentation.setActive(active); presentation.resetMagFactor(); showPresentation(); }
private void initPresentation(String imageName, PixelsDimensions pxsDims, boolean active) { curImageName = imageName; presentation.setDefaultZT(getDefaultT(), getDefaultZ(), pxsDims.sizeT, pxsDims.sizeZ); presentation.setImageName(imageName); presentation.setActive(active); presentation.resetMagFactor(); showPresentation(); }
3,239,349
private void initPresentation(String imageName, PixelsDimensions pxsDims, boolean active) { curImageName = imageName; presentation.setDefaultZT(getDefaultT(), getDefaultZ(), pxsDims.sizeT, pxsDims.sizeZ); presentation.setImageName(imageName); presentation.setActive(active); presentation.resetMagFactor(); showPresentation(); }
private void initPresentation(String imageName, PixelsDimensions pxsDims, boolean active) { curImageName = imageName; presentation.setDefaultZT(getDefaultT(), getDefaultZ(), pxsDims.sizeT, pxsDims.sizeZ); presentation.setImageName(imageName); presentation.setActive(active); presentation.resetMagFactor(); showPresentation(); }
3,239,350
void onPlaneSelected(int z, int t) { PlaneDef def = new PlaneDef(PlaneDef.XY, t); def.setZ(z); RenderImage renderImage = new RenderImage(curPixelsID, def); registry.getEventBus().post(renderImage); }
void onPlaneSelected(int z, int t) { PlaneDef def = new PlaneDef(PlaneDef.XY, t); def.setZ(z); RenderImage renderImage = new RenderImage(curPixelsID, def); registry.getEventBus().post(renderImage); }
3,239,351
public void setContext(Registry ctx) { registry = ctx; EventBus bus = registry.getEventBus(); bus.register(this, LoadImage.class); bus.register(this, ImageLoaded.class); bus.register(this, ImageRendered.class); control = new ViewerCtrl(this); }
public void setContext(Registry ctx) { registry = ctx; EventBus bus = registry.getEventBus(); bus.register(this, LoadImage.class); bus.register(this, ImageLoaded.class); bus.register(this, ImageRendered.class); control = new ViewerCtrl(this); }
3,239,352
private void showPresentation() { if (presentation.getExtendedState() == Frame.ICONIFIED) presentation.setExtendedState(Frame.NORMAL); presentation.setVisible(true); }
private void showPresentation() { if (presentation.getExtendedState() == Frame.ICONIFIED) presentation.setExtendedState(Frame.NORMAL); presentation.setVisible(true); }
3,239,353
void showRendering() { registry.getEventBus().post(new DisplayRendering()); }
void showRendering() { registry.getEventBus().post(new DisplayRendering()); }
3,239,354
public void setSelected(boolean selected) { super.setSelected(selected); this.selected = selected; if (boldWhenActive && selected) { textLabel.setFont(textLabel.getFont().deriveFont(Font.BOLD)); } else { // textLabel.setFont(defaultFont); } invalidate(); repaint(); }
public void setSelected(boolean selected) { super.setSelected(selected); this.selected = selected; if (boldWhenActive && selected) { textLabel.setFont(textLabel.getFont().deriveFont(Font.BOLD)); } else if (!selected && boldWhenActive) { textLabel.setFont(defaultFont); } else if(selected){ textLabel.setFont(defaultFont); // textLabel.setFont(defaultFont); } invalidate(); repaint(); }
3,239,355
public void testFindAnnotations() throws Exception { T t = new T(ApiUsageException.class){ @Override public void doTest(Object[] arg) { manager.findAnnotations((Class) arg[0], (Set) arg[1], (Set) arg[2], (Map) arg[3]); } }; // param1: not null or wrong type t.blowup(true,null,new HashSet(),new HashSet(), new HashMap()); t.blowup(true,Project.class,new HashSet(),new HashSet(), new HashMap()); t.blowup(false,Image.class,new HashSet(),new HashSet(), new HashMap()); // FIXME should check for empty sets. t.blowup(false,Dataset.class,new HashSet(),new HashSet(), new HashMap()); // param2: not null t.blowup(true,Dataset.class,null,new HashSet(), new HashMap()); // eek t.blowup(false,Dataset.class,new HashSet(),new HashSet(), null); }
public void testFindAnnotations() throws Exception { T t = new T(ApiUsageException.class){ @Override public void doTest(Object[] arg) { manager.findAnnotations((Class) arg[0], (Set) arg[1], (Set) arg[2], (Map) arg[3]); } }; // param1: not null or wrong type t.blowup(true,null,new HashSet(),new HashSet(), new HashMap()); t.blowup(true,Project.class,new HashSet(),new HashSet(), new HashMap()); t.blowup(false,Image.class,new HashSet(),new HashSet(), new HashMap()); // FIXME should check for empty sets. t.blowup(false,Dataset.class,new HashSet(),new HashSet(), new HashMap()); // param2: not null t.blowup(true,Dataset.class,null,new HashSet(), new HashMap()); // eek t.blowup(false,Dataset.class,new HashSet(),new HashSet(), null); }
3,239,356
public void testFindContainerHierarchies() throws Exception { T t = new T(ApiUsageException.class){ @Override public void doTest(Object[] arg) { manager.findContainerHierarchies((Class)arg[0],(Set)arg[1],(Map)arg[2]); } }; // param1: not null or wrong type t.blowup(true,null,new HashSet(), new HashMap()); t.blowup(true,Dataset.class,new HashSet(),new HashMap()); t.blowup(true,Image.class,new HashSet(),new HashMap()); t.blowup(false,Project.class,new HashSet(), new HashMap()); t.blowup(false,CategoryGroup.class,new HashSet(), new HashMap()); // param2: t.blowup(true,Project.class,null, new HashMap()); t.blowup(false,Project.class,new HashSet(),new HashMap()); }
public void testFindContainerHierarchies() throws Exception { T t = new T(ApiUsageException.class){ @Override public void doTest(Object[] arg) { manager.findContainerHierarchies((Class)arg[0],(Set)arg[1],(Map)arg[2]); } }; // param1: not null or wrong type t.blowup(true,null,new HashSet(), new HashMap()); t.blowup(true,Dataset.class,new HashSet(),new HashMap()); t.blowup(true,Image.class,new HashSet(),new HashMap()); t.blowup(false,Project.class,new HashSet(), new HashMap()); t.blowup(false,CategoryGroup.class,new HashSet(), new HashMap()); // param2: t.blowup(true,Project.class,null, new HashMap()); t.blowup(false,Project.class,new HashSet(),new HashMap()); }
3,239,357
public void testFindContainerHierarchies() throws Exception { T t = new T(ApiUsageException.class){ @Override public void doTest(Object[] arg) { manager.findContainerHierarchies((Class)arg[0],(Set)arg[1],(Map)arg[2]); } }; // param1: not null or wrong type t.blowup(true,null,new HashSet(), new HashMap()); t.blowup(true,Dataset.class,new HashSet(),new HashMap()); t.blowup(true,Image.class,new HashSet(),new HashMap()); t.blowup(false,Project.class,new HashSet(), new HashMap()); t.blowup(false,CategoryGroup.class,new HashSet(), new HashMap()); // param2: t.blowup(true,Project.class,null, new HashMap()); t.blowup(false,Project.class,new HashSet(),new HashMap()); }
public void testFindContainerHierarchies() throws Exception { T t = new T(ApiUsageException.class){ @Override public void doTest(Object[] arg) { manager.findContainerHierarchies((Class)arg[0],(Set)arg[1],(Map)arg[2]); } }; // param1: not null or wrong type t.blowup(true,null,new HashSet(), new HashMap()); t.blowup(true,Dataset.class,new HashSet(),new HashMap()); t.blowup(true,Image.class,new HashSet(),new HashMap()); t.blowup(false,Project.class,new HashSet(), new HashMap()); t.blowup(false,CategoryGroup.class,new HashSet(), new HashMap()); // param2: t.blowup(true,Project.class,null, new HashMap()); t.blowup(false,Project.class,new HashSet(),new HashMap()); }
3,239,358
public RaiseException(RubyException actException) { super(JumpType.RaiseJump); setException(actException, false); }
public RaiseException(RubyException actException) { super(JumpType.RaiseJump); setException(actException, false); }
3,239,359
protected NamespaceHandlerResolver createDefaultNamespaceHandlerResolver() { return new XBeanNamespaceHandlerResolver(getBeanClassLoader()); }
protected NamespaceHandlerResolver createDefaultNamespaceHandlerResolver() { ClassLoader classLoader = getBeanClassLoader(); if (classLoader == null) { classLoader = Thread.currentThread().getContextClassLoader(); } return new XBeanNamespaceHandlerResolver(classLoader); }
3,239,360
private final boolean exists(URL url) { InputStream _is = null; try { _is = url.openStream(); System.out.println(url +" exists"); return true; } catch (IOException e) { System.out.println(url +" does not exist"); return false; } finally { if (_is != null) { try { _is.close(); } catch (Exception ignore) {} } } }
private final boolean exists(URL url) { InputStream _is = null; try { _is = url.openStream(); System.out.println(url +" exists"); return true; } catch (IOException e) { System.out.println(url +" does not exist"); return false; } finally { if (_is != null) { try { _is.close(); } catch (Exception ignore) {} } } }
3,239,362
private final boolean exists(URL url) { InputStream _is = null; try { _is = url.openStream(); System.out.println(url +" exists"); return true; } catch (IOException e) { System.out.println(url +" does not exist"); return false; } finally { if (_is != null) { try { _is.close(); } catch (Exception ignore) {} } } }
private final boolean exists(URL url) { InputStream _is = null; try { _is = url.openStream(); System.out.println(url +" exists"); return true; } catch (IOException e) { System.out.println(url +" does not exist"); return false; } finally { if (_is != null) { try { _is.close(); } catch (Exception ignore) {} } } }
3,239,363
private final URL searchClasspath(String resource) { _log.debug("Searching classpath for "+resource); URL url = _broker.getResource(resource); if (url != null) { return url; } /* * look for locale specific resources AAAA{_xxxx_yyyyy_....}BBBBB */ String[] parts = parseLocalePath(resource); if (parts != null) { if (parts[1] != null) { resource = buildPath(parts[0],parts[1], parts[2]); return searchClasspath(resource); } } return null; }
private final URL searchClasspath(String resource) { _log.debug("Searching classpath for "+resource); URL url = null; ClassLoader cl = this.getClass().getClassLoader(); if (cl != null) { url = cl.getResource(resource); } else { url = ClassLoader.getSystemResource(resource); } if (url != null) { return url; } /* * look for locale specific resources AAAA{_xxxx_yyyyy_....}BBBBB */ String[] parts = parseLocalePath(resource); if (parts != null) { if (parts[1] != null) { resource = buildPath(parts[0],parts[1], parts[2]); return searchClasspath(resource); } } return null; }
3,239,364
private List getDatasetAnnotations(List ids, int uID) throws DSOutOfServiceException, DSAccessException { if (ids.size() == 0) return null; Criteria c = AnnotationMapper.buildDatasetAnnotationCriteria(ids, uID); return (List) gateway.retrieveListSTSData("DatasetAnnotation", c); }
private List getDatasetAnnotations(List ids, int uID) throws DSOutOfServiceException, DSAccessException { if (ids!= null && ids.size() == 0) return null; Criteria c = AnnotationMapper.buildDatasetAnnotationCriteria(ids, uID); return (List) gateway.retrieveListSTSData("DatasetAnnotation", c); }
3,239,365
public void testfindCGCIHiearchies(){ /* * CGCI Hierachies */ // Arguments Integer id = new Integer(1); Set ids = new HashSet(); ids.add(id); // Result Image img = new Image(); img.setImageId(id); img.setClassifications(new HashSet()); Classification cla1 = new Classification(); img.getClassifications().add(cla1); Category c1 = new Category(); CategoryGroup cg1 = new CategoryGroup(); cla1.setCategory(c1); c1.setCategoryGroup(cg1); List result = new ArrayList(); result.add(img); // Run containerDao.expects(once()).method("findCGCIHierarchies").with(same(ids)).will(returnValue(result)); Set set = manager.findCGCIHierarchies(ids); List list = new ArrayList(set); assertTrue("There should only be one category group in the result not "+list.size(),list.size()==1); assertTrue("And that one c. group should be this one not "+list.get(0),list.get(0)==cg1); containerDao.verify(); containerDao.reset(); }
daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); public void testfindCGCIHiearchies(){daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); /*daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); * CGCI HierachiesdaoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); */daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); // ArgumentsdaoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); Integer id = new Integer(1);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); Set ids = new HashSet();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); ids.add(id);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); // ResultdaoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); Image img = new Image();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); img.setImageId(id);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); img.setClassifications(new HashSet());daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); Classification cla1 = new Classification();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); img.getClassifications().add(cla1);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); Category c1 = new Category();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); CategoryGroup cg1 = new CategoryGroup();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); cla1.setCategory(c1);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); c1.setCategoryGroup(cg1);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); List result = new ArrayList();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); result.add(img);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); // RundaoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); containerDao.expects(once()).method("findCGCIHierarchies").with(same(ids)).will(returnValue(result));daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); Set set = manager.findCGCIHierarchies(ids);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); List list = new ArrayList(set);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); assertTrue("There should only be one category group in the result not "+list.size(),list.size()==1);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); assertTrue("And that one c. group should be this one not "+list.get(0),list.get(0)==cg1);daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); containerDao.verify();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); containerDao.reset();daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); daoUtils.verify(); daoUtils.reset(); }
3,239,369
protected Object parseChildExtensionBean(Element element) { NodeList nl = element.getChildNodes(); for (int i = 0; i < nl.getLength(); i++) { Node node = nl.item(i); if (node instanceof Element) { Element childElement = (Element) node; String uri = childElement.getNamespaceURI(); String localName = childElement.getLocalName(); if (!isEmpty(uri) || !reservedElementNames.contains(localName)) { Object value = parseBeanFromExtensionElement(childElement); if (value != null) { return value; } } else if (isEmpty(uri)) { if (BEAN_ELEMENT.equals(localName)) { return parseBeanDefinitionElement(childElement, true); } } } } return null; }
protected Object parseChildExtensionBean(Element element) { NodeList nl = element.getChildNodes(); for (int i = 0; i < nl.getLength(); i++) { Node node = nl.item(i); if (node instanceof Element) { Element childElement = (Element) node; String uri = childElement.getNamespaceURI(); String localName = childElement.getLocalName(); if (uri == null || uri.equals(SPRING_SCHEMA)) { if (BEAN_ELEMENT.equals(localName)) { return parseBeanDefinitionElement(childElement, true); } } else { Object value = parseBeanFromExtensionElement(childElement); if (value != null) { return value; } } else if (isEmpty(uri)) { if (BEAN_ELEMENT.equals(localName)) { return parseBeanDefinitionElement(childElement, true); } } } } return null; }
3,239,371
protected Object parseChildExtensionBean(Element element) { NodeList nl = element.getChildNodes(); for (int i = 0; i < nl.getLength(); i++) { Node node = nl.item(i); if (node instanceof Element) { Element childElement = (Element) node; String uri = childElement.getNamespaceURI(); String localName = childElement.getLocalName(); if (!isEmpty(uri) || !reservedElementNames.contains(localName)) { Object value = parseBeanFromExtensionElement(childElement); if (value != null) { return value; } } else if (isEmpty(uri)) { if (BEAN_ELEMENT.equals(localName)) { return parseBeanDefinitionElement(childElement, true); } } } } return null; }
protected Object parseChildExtensionBean(Element element) { NodeList nl = element.getChildNodes(); for (int i = 0; i < nl.getLength(); i++) { Node node = nl.item(i); if (node instanceof Element) { Element childElement = (Element) node; String uri = childElement.getNamespaceURI(); String localName = childElement.getLocalName(); if (!isEmpty(uri) || !reservedElementNames.contains(localName)) { Object value = parseBeanFromExtensionElement(childElement); if (value != null) { return value; } } else if (isEmpty(uri)) { if (BEAN_ELEMENT.equals(localName)) { return parseBeanDefinitionElement(childElement, true); } } } } return null; }
3,239,372
public ROIShape(Shape shape, int index, Color lineColor, int shapeType, int channelIndex, ImageAffineTransform affineTransform) { this.shape = shape; this.index = index; this.lineColor = lineColor; this.channelIndex = channelIndex; this.shapeType = shapeType; this.affineTransform = affineTransform; text = "#"+index; }
public ROIShape(Shape shape, int index, Color lineColor, int shapeType, int channelIndex, ImageAffineTransform affineTransform) { this.shape = shape; this.index = index; this.lineColor = lineColor; this.channelIndex = channelIndex; this.shapeType = shapeType; this.affineTransform = affineTransform; label = "#"+index; annotation = null; }
3,239,373
public static RubyObject m_p(Ruby ruby, RubyObject recv, RubyObject args[]) { for (int i = 0; i < args.length; i++) { if (args[i] != null) { System.out.println(((RubyString)args[i].funcall(ruby.intern("inspect"))).getValue()); } } return ruby.getNil(); }
public static RubyObject m_p(Ruby ruby, RubyObject recv, RubyObject args[]) { for (int i = 0; i < args.length; i++) { if (args[i] != null) { ruby.getRuntime().getOutputStream().println(((RubyString)args[i].funcall(ruby.intern("inspect"))).getValue()); } } return ruby.getNil(); }
3,239,374
public static RubyObject m_print(Ruby ruby, RubyObject recv, RubyObject args[]) { RubyObject ofsObj = ruby.getGlobalVar("$,"); RubyObject orsObj = ruby.getGlobalVar("$\\"); String ofs = ofsObj.isNil() ? "" : RubyString.stringValue(ofsObj).getValue(); for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (i > 0) { System.out.print(ofs); } System.out.print(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } System.out.print(orsObj.isNil() ? "" : RubyString.stringValue(orsObj).getValue()); return ruby.getNil(); }
public static RubyObject m_print(Ruby ruby, RubyObject recv, RubyObject args[]) { RubyObject ofsObj = ruby.getGlobalVar("$,"); RubyObject orsObj = ruby.getGlobalVar("$\\"); String ofs = ofsObj.isNil() ? "" : RubyString.stringValue(ofsObj).getValue(); for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (i > 0) { ruby.getRuntime().getOutputStream().print(ofs); } System.out.print(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } System.out.print(orsObj.isNil() ? "" : RubyString.stringValue(orsObj).getValue()); return ruby.getNil(); }
3,239,375
public static RubyObject m_print(Ruby ruby, RubyObject recv, RubyObject args[]) { RubyObject ofsObj = ruby.getGlobalVar("$,"); RubyObject orsObj = ruby.getGlobalVar("$\\"); String ofs = ofsObj.isNil() ? "" : RubyString.stringValue(ofsObj).getValue(); for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (i > 0) { System.out.print(ofs); } System.out.print(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } System.out.print(orsObj.isNil() ? "" : RubyString.stringValue(orsObj).getValue()); return ruby.getNil(); }
public static RubyObject m_print(Ruby ruby, RubyObject recv, RubyObject args[]) { RubyObject ofsObj = ruby.getGlobalVar("$,"); RubyObject orsObj = ruby.getGlobalVar("$\\"); String ofs = ofsObj.isNil() ? "" : RubyString.stringValue(ofsObj).getValue(); for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (i > 0) { System.out.print(ofs); } ruby.getRuntime().getOutputStream().print(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } System.out.print(orsObj.isNil() ? "" : RubyString.stringValue(orsObj).getValue()); return ruby.getNil(); }
3,239,376
public static RubyObject m_print(Ruby ruby, RubyObject recv, RubyObject args[]) { RubyObject ofsObj = ruby.getGlobalVar("$,"); RubyObject orsObj = ruby.getGlobalVar("$\\"); String ofs = ofsObj.isNil() ? "" : RubyString.stringValue(ofsObj).getValue(); for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (i > 0) { System.out.print(ofs); } System.out.print(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } System.out.print(orsObj.isNil() ? "" : RubyString.stringValue(orsObj).getValue()); return ruby.getNil(); }
public static RubyObject m_print(Ruby ruby, RubyObject recv, RubyObject args[]) { RubyObject ofsObj = ruby.getGlobalVar("$,"); RubyObject orsObj = ruby.getGlobalVar("$\\"); String ofs = ofsObj.isNil() ? "" : RubyString.stringValue(ofsObj).getValue(); for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (i > 0) { System.out.print(ofs); } System.out.print(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } ruby.getRuntime().getOutputStream().print(orsObj.isNil() ? "" : RubyString.stringValue(orsObj).getValue()); return ruby.getNil(); }
3,239,377
public static RubyObject m_printf(Ruby ruby, RubyObject recv, RubyObject args[]) { System.out.print(((RubyString)m_sprintf(ruby, recv, args)).getValue()); return ruby.getNil(); }
public static RubyObject m_printf(Ruby ruby, RubyObject recv, RubyObject args[]) { ruby.getRuntime().getOutputStream().print(((RubyString)m_sprintf(ruby, recv, args)).getValue()); return ruby.getNil(); }
3,239,378
public static RubyObject m_puts(Ruby ruby, RubyObject recv, RubyObject args[]) { if (args.length == 0) { System.out.println(); return ruby.getNil(); } for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (args[i] instanceof RubyArray) { m_puts(ruby, recv, ((RubyArray)args[i]).toJavaArray()); } else { System.out.println(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } } return ruby.getNil(); }
public static RubyObject m_puts(Ruby ruby, RubyObject recv, RubyObject args[]) { if (args.length == 0) { ruby.getRuntime().getOutputStream().println(); return ruby.getNil(); } for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (args[i] instanceof RubyArray) { m_puts(ruby, recv, ((RubyArray)args[i]).toJavaArray()); } else { System.out.println(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } } return ruby.getNil(); }
3,239,379
public static RubyObject m_puts(Ruby ruby, RubyObject recv, RubyObject args[]) { if (args.length == 0) { System.out.println(); return ruby.getNil(); } for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (args[i] instanceof RubyArray) { m_puts(ruby, recv, ((RubyArray)args[i]).toJavaArray()); } else { System.out.println(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } } return ruby.getNil(); }
public static RubyObject m_puts(Ruby ruby, RubyObject recv, RubyObject args[]) { if (args.length == 0) { System.out.println(); return ruby.getNil(); } for (int i = 0; i < args.length; i++) { if (args[i] != null) { if (args[i] instanceof RubyArray) { m_puts(ruby, recv, ((RubyArray)args[i]).toJavaArray()); } else { ruby.getRuntime().getOutputStream().println(args[i].isNil() ? "nil" : ((RubyString)args[i].funcall(ruby.intern("to_s"))).getValue()); } } } return ruby.getNil(); }
3,239,380
public static RubyObject m_require(Ruby ruby, RubyObject recv, RubyString arg1) { if (arg1.getValue().endsWith(".jar")) { File jarFile = new File(arg1.getValue()); if (!jarFile.exists()) { jarFile = new File(new File(ruby.getSourceFile()).getParentFile(), arg1.getValue()); if (!jarFile.exists()) { System.err.println("[Error] Jarfile + \"" + jarFile.getAbsolutePath() + "\"not found."); } } if (jarFile.exists()) { try { ClassLoader javaClassLoader = new URLClassLoader(new URL[] { jarFile.toURL() }, ruby.getJavaClassLoader()); ruby.setJavaClassLoader(javaClassLoader); } catch (MalformedURLException murlExcptn) { } } } else { if (!arg1.getValue().endsWith(".rb")) { arg1 = RubyString.m_newString(ruby, arg1.getValue() + ".rb"); } ruby.getRuntime().loadFile(arg1, false); } return ruby.getNil(); }
public static RubyObject m_require(Ruby ruby, RubyObject recv, RubyString arg1) { if (arg1.getValue().endsWith(".jar")) { File jarFile = new File(arg1.getValue()); if (!jarFile.exists()) { jarFile = new File(new File(ruby.getSourceFile()).getParentFile(), arg1.getValue()); if (!jarFile.exists()) { ruby.getRuntime().getErrorStream().println("[Error] Jarfile + \"" + jarFile.getAbsolutePath() + "\"not found."); } } if (jarFile.exists()) { try { ClassLoader javaClassLoader = new URLClassLoader(new URL[] { jarFile.toURL() }, ruby.getJavaClassLoader()); ruby.setJavaClassLoader(javaClassLoader); } catch (MalformedURLException murlExcptn) { } } } else { if (!arg1.getValue().endsWith(".rb")) { arg1 = RubyString.m_newString(ruby, arg1.getValue() + ".rb"); } ruby.getRuntime().loadFile(arg1, false); } return ruby.getNil(); }
3,239,381
public static IRubyObject loadAndCall(IRubyObject self, String name, byte[] javaClass, String methodName) throws Throwable { Loader loader = new Loader(); Class c = loader.loadClass(name, javaClass); Method method = c.getMethod(methodName, new Class[] { Ruby.class, IRubyObject.class }); try { return (IRubyObject) method.invoke(null, new Object[] { self.getRuntime(), self }); } catch (InvocationTargetException e) { throw unrollException(e); } }
public static IRubyObject loadAndCall(IRubyObject self, String name, byte[] javaClass, String methodName) throws Throwable { Loader loader = new Loader(); Class c = loader.loadClass(name, javaClass); Method method = c.getMethod(methodName, new Class[] { Ruby.class, IRubyObject.class }); try { return (IRubyObject) method.invoke(null, new Object[] { runtime, self }); } catch (InvocationTargetException e) { throw unrollException(e); } }
3,239,382
public static JavaMethod createDeclared(IRuby runtime, Class javaClass, String methodName, Class[] argumentTypes) { try { Method method = javaClass.getDeclaredMethod(methodName, argumentTypes); return create(runtime, method); } catch (NoSuchMethodException e) { throw runtime.newNameError("undefined method '" + methodName + "' for class '" + javaClass.getName() + "'"); } }
public static JavaMethod createDeclared(IRuby runtime, Class javaClass, String methodName, Class[] argumentTypes) { try { Method method = javaClass.getDeclaredMethod(methodName, argumentTypes); return create(runtime, method); } catch (NoSuchMethodException e) { throw runtime.newNameError("undefined method '" + methodName + "' for class '" + javaClass.getName() + "'", methodName); } }
3,239,384
public static Map fillImageAnnotations(List l, TreeMap map) { Iterator i = l.iterator(); ImageAnnotation imgA; AnnotationData data; int ownerID; List list; Timestamp time = null; Experimenter experimenter; ModuleExecution mex; while (i.hasNext()) { imgA = (ImageAnnotation) i.next(); list = new ArrayList(); mex = imgA.getModuleExecution(); if (mex.getTimestamp() != null) time = PrimitiveTypesMapper.getTimestamp(mex.getTimestamp()); else time = PrimitiveTypesMapper.getDefaultTimestamp(); experimenter = imgA.getExperimenter(); ownerID = experimenter.getID(); data = new AnnotationData(imgA.getID(), ownerID, time); data.setAnnotation(imgA.getContent()); data.setOwnerFirstName(experimenter.getFirstName()); data.setOwnerLastName(experimenter.getLastName()); if (imgA.getTheZ() != null) data.setTheZ(imgA.getTheZ().intValue()); if (imgA.getTheT() != null) data.setTheT(imgA.getTheT().intValue()); list.add(data); map.put(new Integer(ownerID), list); } return map; }
public static Map fillImageAnnotations(List l, TreeMap map) { Iterator i = l.iterator(); ImageAnnotation imgA; AnnotationData data; int ownerID; List list; Timestamp time = null; Experimenter experimenter; ModuleExecution mex; while (i.hasNext()) { imgA = (ImageAnnotation) i.next(); list = new ArrayList(); mex = imgA.getModuleExecution(); if (mex.getTimestamp() != null) time = PrimitiveTypesMapper.getTimestamp(mex.getTimestamp()); else time = PrimitiveTypesMapper.getDefaultTimestamp(); experimenter = mex.getExperimenter(); ownerID = experimenter.getID(); data = new AnnotationData(imgA.getID(), ownerID, time); data.setAnnotation(imgA.getContent()); data.setOwnerFirstName(experimenter.getFirstName()); data.setOwnerLastName(experimenter.getLastName()); if (imgA.getTheZ() != null) data.setTheZ(imgA.getTheZ().intValue()); if (imgA.getTheT() != null) data.setTheT(imgA.getTheT().intValue()); list.add(data); map.put(new Integer(ownerID), list); } return map; }
3,239,385
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
3,239,386
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); legendPanel.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
3,239,387
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
3,239,388
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; legendPanel.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
3,239,389
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; legendPanel.add(buildLegend( colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
3,239,390
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; legendPanel.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
3,239,391
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return p; }
private JPanel buildLegendPanel() { JPanel p = new JPanel(); p.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); // griddy constraints c.anchor = GridBagConstraints.NORTHWEST; c.fill = GridBagConstraints.NONE; // one c.insets = new Insets(1, 1, 1, 1); Colors colors = Colors.getInstance(); p.add(buildLegend(colors.getColor(Colors.TITLE_BAR_HIGHLIGHT), "Currently selected"), c); // two c.gridx = 1; c.gridy = 0; p.add(buildLegend(colors.getColor(Colors.REGEX_ANNOTATION), "Found in annotation"), c); // three c.gridx = 0; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE), "Found in title"), c); // four c.gridx = 1; c.gridy = 1; p.add(buildLegend(colors.getColor(Colors.REGEX_TITLE_AND_ANNOTATION), "Found in either"), c); //five c.gridx = 0; c.gridy = 2; p.add(buildLegend(colors.getColor(Colors.ANNOTATED), "Found in annotated"), c); return legendPanel; }
3,239,392
public RubyObject eval(Ruby ruby, RubyObject self) { return StringEvaluate.eval(ruby, self, this); }
public RubyObject eval(Ruby ruby, RubyObject self) { if (simple) { return getLiteral().to_s(); } else { return StringEvaluate.eval(ruby, self, this); } }
3,239,393
public void activate() { switch (model.getState()) { case NEW: if (model.getEditorType() == PROPERTIES_EDITOR) { int index = model.getSelectedTabbedIndex(); if (index == EditorUI.PROPERTIES_INDEX) { int subIndex = model.getSelectedSubPane(); if (model.isAnnotatable() && subIndex == EditorUI.ANNOTATION_SUB_INDEX) { retrieveAnnotations(); } else if (model.isClassified() && subIndex == EditorUI.CLASSIFICATION_SUB_INDEX) loadClassifications(); } else model.setState(READY); fireStateChange(); } break; case DISCARDED: throw new IllegalStateException( "This method can't be invoked in the DISCARDED state."); } }
public void activate() { switch (model.getState()) { case NEW: if (model.getEditorType() == PROPERTIES_EDITOR) { int index = model.getSelectedTabbedIndex(); if (index == EditorUI.PROPERTIES_INDEX) { int subIndex = model.getSelectedSubPane(); if (model.isAnnotatable() && subIndex == EditorUI.ANNOTATION_SUB_INDEX) { retrieveAnnotations(); } else if (model.isClassified() && subIndex == EditorUI.CLASSIFICATION_SUB_INDEX) loadClassifications(); } else model.setState(READY); fireStateChange(); } break; case DISCARDED: throw new IllegalStateException( "This method can't be invoked in the DISCARDED state."); } }
3,239,395
void initialize() { controller.initialize(view); view.initialize(controller, model); model.getParentModel().addPropertyChangeListener( TreeViewer.THUMBNAIL_LOADED_PROPERTY, controller); }
void initialize() { controller.initialize(view); view.initialize(controller, model); model.getParentModel().addPropertyChangeListener( TreeViewer.THUMBNAIL_LOADED_PROPERTY, controller); }
3,239,396
public void setAnnotations(Map map) { if (model.getState() == LOADING_ANNOTATION) { if (map != null) { model.setAnnotations(map); view.showAnnotations(); if (model.hasThumbnail()) firePropertyChange(TreeViewer.THUMBNAIL_LOADING_PROPERTY, null, model.getHierarchyObject()); } model.setState(READY); model.getParentModel().setStatus(false, "", true); fireStateChange(); } }
public void setAnnotations(Map map) { if (model.getState() == LOADING_ANNOTATION) { if (map != null) { model.setAnnotations(map); view.showAnnotations(); if (model.hasThumbnail()) firePropertyChange(TreeViewer.THUMBNAIL_LOADING_PROPERTY, null, model.getHierarchyObject()); } model.setState(READY); model.getParentModel().setStatus(false, "", true); fireStateChange(); } }
3,239,398
public void setThumbnail(BufferedImage thumbnail) { if (model.getState() != DISCARDED) { if (thumbnail == null) throw new IllegalArgumentException("No thumbnail."); view.setThumbnail(thumbnail); model.setState(READY); fireStateChange(); } }
public void setThumbnail(BufferedImage thumbnail) { if (model.getState() != DISCARDED) { if (thumbnail == null) return; model.setThumbnailLoaded(true); view.setThumbnail(thumbnail); model.setState(READY); fireStateChange(); } }
3,239,401
ClassifiedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); //B/c button=icon. setFocusPainted(false); //Don't paint focus box on top of icon. setRolloverEnabled(true); IconManager im = IconManager.getInstance(); setIcon(im.getIcon(IconManager.CLASSIFIED_SMALL)); setRolloverIcon(im.getIcon(IconManager.CLASSIFIED_SMALL_OVER)); setToolTipText(DESCRIPTION); addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { parentNode.fireClassification(); } }); }
ClassifiedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); //B/c button=icon. setFocusPainted(false); //Don't paint focus box on top of icon. IconManager im = IconManager.getInstance(); setIcon(im.getIcon(IconManager.CLASSIFIED_SMALL)); setRolloverIcon(im.getIcon(IconManager.CLASSIFIED_SMALL_OVER)); setToolTipText(DESCRIPTION); addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { parentNode.fireClassification(); } }); }
3,239,403
ClassifiedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); //B/c button=icon. setFocusPainted(false); //Don't paint focus box on top of icon. setRolloverEnabled(true); IconManager im = IconManager.getInstance(); setIcon(im.getIcon(IconManager.CLASSIFIED_SMALL)); setRolloverIcon(im.getIcon(IconManager.CLASSIFIED_SMALL_OVER)); setToolTipText(DESCRIPTION); addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { parentNode.fireClassification(); } }); }
ClassifiedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); //B/c button=icon. setFocusPainted(false); //Don't paint focus box on top of icon. setRolloverEnabled(true); IconManager im = IconManager.getInstance(); setIcon(im.getIcon(IconManager.CLASSIFIED_SMALL)); setToolTipText(DESCRIPTION); addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { parentNode.fireClassification(); } }); }
3,239,404
public Group(Integer attributeId, String name, org.openmicroscopy.omero.model.Experimenter leader, org.openmicroscopy.omero.model.Experimenter contact, org.openmicroscopy.omero.model.ModuleExecution moduleExecution, Set datasets, Set images, Set projects, Set experimenters, Set moduleExecutions, Set imageInfos) { this.attributeId = attributeId; this.name = name; this.leader = leader; this.contact = contact; this.moduleExecution = moduleExecution; this.datasets = datasets; this.images = images; this.projects = projects; this.experimenters = experimenters; this.moduleExecutions = moduleExecutions; this.imageInfos = imageInfos; }
public Group(Integer attributeId, String name, org.openmicroscopy.omero.model.Experimenter leader, org.openmicroscopy.omero.model.Experimenter contact, org.openmicroscopy.omero.model.ModuleExecution moduleExecution, Set datasets, Set images, Set projects, Set experimenters, Set moduleExecutions, Set imageInfos) { this.attributeId = attributeId; this.name = name; this.leader = leader; this.contact = contact; this.moduleExecution = moduleExecution; this.datasets = datasets; this.images = images; this.projects = projects; this.experimenters = experimenters; this.moduleExecutions = moduleExecutions; this.imageInfos = imageInfos; }
3,239,405
public org.openmicroscopy.omero.model.Experimenter getContact() { return this.contact; }
public Experimenter getContact() { return this.contact; }
3,239,406
public org.openmicroscopy.omero.model.Experimenter getLeader() { return this.leader; }
public Experimenter getLeader() { return this.leader; }
3,239,407
public org.openmicroscopy.omero.model.ModuleExecution getModuleExecution() { return this.moduleExecution; }
public ModuleExecution getModuleExecution() { return this.moduleExecution; }
3,239,408
public void setContact(org.openmicroscopy.omero.model.Experimenter contact) { this.contact = contact; }
public void setContact(Experimenter contact) { this.contact = contact; }
3,239,409
public void setLeader(org.openmicroscopy.omero.model.Experimenter leader) { this.leader = leader; }
public void setLeader(Experimenter leader) { this.leader = leader; }
3,239,410
public void setModuleExecution(org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
public void setModuleExecution(ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
3,239,411
public RubyClass defineClassUnder(String name, RubyClass superClass, RubyModule parentModule) { throw new MockException(); }
public RubyClass defineClassUnder(String name, RubyClass superClass, RubyModule parentModule) { throw new MockException(); }
3,239,413