bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public ToolBar(ViewerCtrl control, Registry registry, int sizeT, int sizeZ, int t, int z) { initTxtWidth(); initComponents(registry, sizeZ, sizeT); initTextFields(t, z, sizeT, sizeZ); manager = new ToolBarManager(control, this, sizeT, t, sizeZ, z); manager.attachListeners(); buildToolBar(); } | public ToolBar(ViewerCtrl control, Registry registry, int sizeT, int sizeZ, int t, int z) { initTxtWidth(); initComponents(registry, sizeZ, sizeT); initTextFields(t, z, sizeT, sizeZ); manager = new ToolBarManager(control, this, sizeT, t, sizeZ, z); manager.attachListeners(); buildToolBar(); } | 3,233,644 |
private JToolBar buildBar() { JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.add(render); bar.add(inspector); bar.add(viewer3D); bar.add(movie); bar.add(saveAs); bar.add(new JSeparator(SwingConstants.VERTICAL)); return bar; } | private JToolBar buildBar() { JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.add(render); bar.add(inspector); bar.add(viewer3D); bar.add(movie); bar.add(saveAs); bar.add(new JSeparator(SwingConstants.VERTICAL)); return bar; } | 3,233,645 |
private void buildToolBar() { setLayout(new FlowLayout(FlowLayout.LEFT)); add(buildBar()); add(ztPanel); } | private void buildToolBar() { setLayout(new FlowLayout(FlowLayout.LEFT)); add(buildBar()); add(ztPanel); } | 3,233,646 |
private void initComponents(Registry registry, int maxZ, int maxT) { //buttons IconManager im = IconManager.getInstance(registry); viewer3D = new JButton(im.getIcon(IconManager.VIEWER3D)); viewer3D.setToolTipText( UIUtilities.formatToolTipText("Bring up the image3D viewer.")); viewer3D.setEnabled(maxZ == 0); ... | private void initComponents(Registry registry, int maxZ, int maxT) { //buttons IconManager im = IconManager.getInstance(registry); viewer3D = new JButton(im.getIcon(IconManager.VIEWER3D)); viewer3D.setToolTipText( UIUtilities.formatToolTipText("Bring up the image3D viewer.")); viewer3D.setEnabled(maxZ == 0); ... | 3,233,647 |
private void initComponents(Registry registry, int maxZ, int maxT) { //buttons IconManager im = IconManager.getInstance(registry); viewer3D = new JButton(im.getIcon(IconManager.VIEWER3D)); viewer3D.setToolTipText( UIUtilities.formatToolTipText("Bring up the image3D viewer.")); viewer3D.setEnabled(maxZ == 0); ... | private void initComponents(Registry registry, int maxZ, int maxT) { //buttons IconManager im = IconManager.getInstance(registry); viewer3D = new JButton(im.getIcon(IconManager.VIEWER3D)); viewer3D.setToolTipText( UIUtilities.formatToolTipText("Bring up the image3D viewer.")); viewer3D.setEnabled(maxZ == 0); ... | 3,233,648 |
private void initTextFields(int t, int z, int maxT, int maxZ) { zLabel = new JLabel("/"+maxZ); tLabel = new JLabel("/"+maxT); tField = new JTextField(""+t, (""+maxT).length()); //if (maxT == 0) tField.setEditable(false); tField.setEditable(maxT != 0); tField.setForeground(Viewer.STEELBLUE); tField.setToolTipTex... | private void initTextFields(int t, int z, int maxT, int maxZ) { zLabel = new JLabel("/"+maxZ); tLabel = new JLabel("/"+maxT); tField = new JTextField(""+t, (""+maxT).length()); //if (maxT == 0) tField.setEditable(false); tField.setEditable(maxT != 0); tField.setForeground(Viewer.STEELBLUE); tField.setToolTipTex... | 3,233,649 |
private void initTxtWidth() { FontMetrics metrics = getFontMetrics(getFont()); txtWidth = metrics.charWidth('m'); } | private void initTxtWidth() { FontMetrics metrics = getFontMetrics(getFont()); txtWidth = metrics.charWidth('m'); } | 3,233,650 |
private JPanel textFieldsPanel(int zLength, int tLength) { JPanel p = new JPanel(); JLabel l = new JLabel(" Z "); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.gridx = 0; c.gridy = 0; c.fill = GridBagConstraints.NONE; c.anchor = GridBagCo... | private JPanel textFieldsPanel(int zLength, int tLength) { JPanel p = new JPanel(); JLabel l = new JLabel(" Z "); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.gridx = 0; c.gridy = 0; c.fill = GridBagConstraints.NONE; c.anchor = GridBagCo... | 3,233,651 |
public IRubyObject dup() { IRubyObject dup = callMethod("clone"); if (!dup.getClass().equals(getClass())) { throw new TypeError(getRuntime(), "duplicated object must be same type"); } dup.toRubyObject().setRubyClass(type());// dup.infectObject(this); //Benoit done by c... | public IRubyObject dup() { IRubyObject dup = callMethod("clone"); if (!dup.getClass().equals(getClass())) { throw new TypeError(getRuntime(), "duplicated object must be same type"); } dup.toRubyObject().setRubyClass(type());// dup.infectObject(this); //Benoit done by c... | 3,233,653 |
public RubyClass getInternalClass() { if (isNil()) { return getRuntime().getClasses().getNilClass(); } return rubyClass; } | public RubyClass getInternalClass() { if (isNil()) { return getRuntime().getClasses().getNilClass(); } return internalClass; } | 3,233,654 |
public RubyClass makeMetaClass(RubyClass type) { type = type.newSingletonClass(); setRubyClass(type); type.attachSingletonClass(this); return type; } | public RubyClass makeMetaClass(RubyClass type) { type = type.newSingletonClass(); setInternalClass(type); type.attachSingletonClass(this); return type; } | 3,233,655 |
public IRubyObject rbClone() { try { IRubyObject clone = (IRubyObject)clone(); clone.toRubyObject().setupClone(this); if (getInstanceVariables() != null) { clone.toRubyObject().setInstanceVariables(getInstanceVariables().cloneRubyMap()); } ... | public IRubyObject rbClone() { try { IRubyObject clone = (IRubyObject)clone(); clone.setupClone(this); if (getInstanceVariables() != null) { clone.toRubyObject().setInstanceVariables(getInstanceVariables().cloneRubyMap()); } return clone; ... | 3,233,656 |
public IRubyObject rbClone() { try { IRubyObject clone = (IRubyObject)clone(); clone.toRubyObject().setupClone(this); if (getInstanceVariables() != null) { clone.toRubyObject().setInstanceVariables(getInstanceVariables().cloneRubyMap()); } ... | public IRubyObject rbClone() { try { IRubyObject clone = (IRubyObject)clone(); clone.toRubyObject().setupClone(this); if (getInstanceVariables() != null) { ((RubyObject)clone).setInstanceVariables(getInstanceVariables().cloneRubyMap()); } ... | 3,233,657 |
public void setupClone(IRubyObject obj) { setRubyClass(obj.getInternalClass().getSingletonClassClone()); getInternalClass().attachSingletonClass(this); frozen = obj.isFrozen(); taint = obj.isTaint(); } | public void setupClone(IRubyObject obj) { setInternalClass(obj.getInternalClass().getSingletonClassClone()); getInternalClass().attachSingletonClass(this); frozen = obj.isFrozen(); taint = obj.isTaint(); } | 3,233,658 |
public IRubyObject yieldUnder(RubyModule under) { return under.executeUnder(new Callback() { public IRubyObject execute(IRubyObject self, IRubyObject[] args) { // if () { Block oldBlock = ruby.getBlockStack().getCurrent().cloneBlock(); /* c... | public IRubyObject yieldUnder(RubyModule under) { return under.executeUnder(new Callback() { public IRubyObject execute(IRubyObject self, IRubyObject[] args) { // if () { Block oldBlock = ruby.getBlockStack().getCurrent().cloneBlock(); /* c... | 3,233,659 |
public IRubyObject execute(IRubyObject self, IRubyObject[] args) { // if () { Block oldBlock = ruby.getBlockStack().getCurrent().cloneBlock(); /* copy the block to avoid modifying global data. */ ruby.getBlockStack().getCurrent().getFr... | public IRubyObject execute(IRubyObject self, IRubyObject[] args) { // if () { Block oldBlock = ruby.getBlockStack().getCurrent().cloneBlock(); /* copy the block to avoid modifying global data. */ ruby.getBlockStack().getCurrent().getFr... | 3,233,660 |
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { return eval(ruby, recv); } | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyPointer args, boolean noSuper) { return eval(ruby, recv); } | 3,233,661 |
public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,data); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { _log.exception(e); _log... | public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, data.getEncoding()); write(fw,data); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { _log.exception(e); ... | 3,233,662 |
public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,data); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { _log.exception(e); _log... | public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,data); fw.flush(); return os.toString(data.getEncoding()); } catch (IOException e) { _log.exception(e); ... | 3,233,663 |
public HttpMethodBase marshal() { //Create request. PostMethod request = new PostMethod(); //Marshal. request.addParameter(SESSION_KEY_FIELD, sessionKey); request.addParameter(METHOD_FIELD, method); request.addParameter(PIXELS_ID_FIELD, Long.toString(pixelsID)); ... | public HttpMethod marshal() { //Create request. PostMethod request = new PostMethod(); //Marshal. request.addParameter(SESSION_KEY_FIELD, sessionKey); request.addParameter(METHOD_FIELD, method); request.addParameter(PIXELS_ID_FIELD, Long.toString(pixelsID)); ... | 3,233,664 |
public void actionPerformed(ActionEvent e) { int index = Integer.parseInt(e.getActionCommand()); try { switch (index) { case SAVE: saveSelection(); break; case ALL: selectAll(); break; case CANCEL: cancelSelection(); break; case SHOW_IMAGES: showImages(); }... | public void actionPerformed(ActionEvent e) { int index = Integer.parseInt(e.getActionCommand()); try { switch (index) { case SAVE: saveSelection(); break; case ALL: selectAll(); break; case CANCEL: cancelSelection(); break; case SHOW_IMAGES: showImages(); }... | 3,233,665 |
private void showImages() { int selectedIndex = view.selections.getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CategoryImagesDiffPane.IMAGES_IMPORTED: ... | private void showImages() { int selectedIndex = view.selections.getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CategoryImagesDiffPane.IMAGES_IMPORTED: ... | 3,233,667 |
private void showImages() { int selectedIndex = view.selections.getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CategoryImagesDiffPane.IMAGES_IMPORTED: ... | private void showImages() { int selectedIndex = view.selections.getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CategoryImagesDiffPane.IMAGES_IMPORTED: ... | 3,233,668 |
public static ProjectData getGlobalProjectData() { if (globalProjectData != null) return globalProjectData; initialize(); globalProjectData = new ProjectData(); return globalProjectData; } | public static ProjectData getGlobalProjectData() { if (globalProjectData != null) return globalProjectData; initialize(); globalProjectData = new ProjectData(); return globalProjectData; } | 3,233,669 |
public RubyClass newSubClass(String name, RubyModule parent) { return new NumericMetaClass(name, this, parent); } | public RubyClass newSubClass(String name, RubyModule parent) { return new NumericMetaClass(name, this, parent); } | 3,233,671 |
public RubyObject eval(Ruby ruby, RubyObject self) { RubyObject result; ruby.getBlock().push(getVarNode(), getBodyNode(), self); ruby.getIter().push(RubyIter.ITER_PRE); try { while (true) { try { return getIterNode().eval(ruby, self); ... | public RubyObject eval(Ruby ruby, RubyObject self) { RubyObject result; ruby.getBlock().push(getVarNode(), getBodyNode(), self); ruby.getIter().push(RubyIter.ITER_PRE); try { while (true) { try { return getIterNode().eval(ruby, self); ... | 3,233,672 |
public DefaultMethod(RubyModule implementationClass, ScopeNode body, ArgsNode argsNode, Visibility visibility, RubyModule parent) { super(implementationClass, visibility); this.body = body; this.argsNode = argsNode; this.parent = parent; assert body != null; assert argsNode != null... | public DefaultMethod(RubyModule implementationClass, ScopeNode body, ArgsNode argsNode, Visibility visibility, SinglyLinkedList cref) { super(implementationClass, visibility); this.body = body; this.argsNode = argsNode; this.parent = parent; assert body != null; assert argsNode != ... | 3,233,673 |
public DefaultMethod(RubyModule implementationClass, ScopeNode body, ArgsNode argsNode, Visibility visibility, RubyModule parent) { super(implementationClass, visibility); this.body = body; this.argsNode = argsNode; this.parent = parent; assert body != null; assert argsNode != null... | public DefaultMethod(RubyModule implementationClass, ScopeNode body, ArgsNode argsNode, Visibility visibility, RubyModule parent) { super(implementationClass, visibility); this.body = body; this.argsNode = argsNode; this.parent = parent; assert body != null; assert argsNode != null... | 3,233,674 |
public ICallable dup() { return new DefaultMethod(getImplementationClass(), body, argsNode, getVisibility(), parent); } | public ICallable dup() { return new DefaultMethod(getImplementationClass(), body, argsNode, getVisibility(), cref); } | 3,233,675 |
public void preMethod(IRuby runtime, RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { ThreadContext context = runtime.getCurrentContext(); context.preDefMethodInternalCall(implementationClass, recv, name, args, noSuper); } | public void preMethod(IRuby runtime, RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { ThreadContext context = runtime.getCurrentContext(); context.preDefMethodInternalCall(recv, name, args, noSuper, cref); } | 3,233,676 |
public void load() { rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); ... | public void load() { rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); ... | 3,233,677 |
public void load() { rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); ... | publicvoidload(){rwl.writeLock().lock();try{errorIfNullPixels();/**TODOwecouldalsoallowforsettingofthebuffer!perhaps*bettercaching,etc.*/PixelBufferbuffer=pixDataSrv.getPixelBuffer(pixelsObj);renderer=newRenderer(pixMetaSrv,pixelsObj,rendDefObj,buffer);}finally{rwl.writeLock().unlock();}} | 3,233,678 |
public void load() { rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); ... | public void load() { rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); ... | 3,233,679 |
public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); try { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); this.renderer = null; if ( rendDefObj == null ) throw new ValidationException( ... | public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); try { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); this.renderer = null; if ( rendDefObj == null ) throw new ValidationException( ... | 3,233,680 |
public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); try { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); this.renderer = null; if ( rendDefObj == null ) throw new ValidationException( ... | public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); try { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); this.renderer = null; if ( rendDefObj == null ) throw new ValidationException( ... | 3,233,681 |
public void loadFile(RubyString fname, boolean wrap) { // fname = findFile(fname); if (fname == null) { throw new RuntimeException("No such file to load -- " + fname.getValue()); } try { File rubyFile = new File(fname.getValue()); StringBuffer sou... | public void loadFile(RubyString fname, boolean wrap) { // fname = findFile(fname); if (fname == null) { throw new RuntimeException("No such file to load -- " + fname.getValue()); } try { File rubyFile = new File(fname.getValue()); StringBuffer sou... | 3,233,683 |
public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSecurityLevel() >= 4) { // Check_Type(fname, T_STRING); } else { ... | public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSecurityLevel() >= 4) { // Check_Type(fname, T_STRING); } else { ... | 3,233,684 |
public void onEnd() { //Last update with total number of tasks executed. splashScreen.updateProgress(""); //Try to log onto OMEDS and retry upon failure for at most as many //times as specified in the Container's configuration. Registry reg = container.getRegistry(); LoginConfig cfg = new Log... | public void onEnd() { //Last update with total number of tasks executed. splashScreen.updateProgress(""); //Try to log onto OMEDS and retry upon failure for at most as many //times as specified in the Container's configuration. Registry reg = container.getRegistry(); LoginConfig cfg = new Log... | 3,233,685 |
public void onEnd() { //Last update with total number of tasks executed. splashScreen.updateProgress(""); //Try to log onto OMEDS and retry upon failure for at most as many //times as specified in the Container's configuration. Registry reg = container.getRegistry(); LoginConfig cfg = new Log... | public void onEnd() { //Last update with total number of tasks executed. splashScreen.updateProgress(""); //Try to log onto OMEDS and retry upon failure for at most as many //times as specified in the Container's configuration. Registry reg = container.getRegistry(); LoginConfig cfg = new Log... | 3,233,686 |
public UserCredentials getUserCredentials(); | public UserCredentials getUserCredentials(); | 3,233,688 |
protected DataLoader createHierarchyLoader() { return new CategoryGroupLoader(component, ids); } | protected DataLoader createHierarchyLoader(boolean refresh) { return new CategoryGroupLoader(component, ids); } | 3,233,689 |
protected DataLoader createHierarchyLoader() { return new CategoryGroupLoader(component, ids); } | protected DataLoader createHierarchyLoader() { return new CategoryGroupLoader(component, ids, refresh); } | 3,233,690 |
public String toString(){ return "Group"+(attributeId==null ? ":Hash"+this.hashCode() : ":"+attributeId); } | public String toString(){ return "Group"+(attributeId==null ? ":Hash_"+this.hashCode() : ":Id_"+attributeId); } | 3,233,691 |
public void testInitLoad() { ArrayList list = new ArrayList(); //check without a RubyHome and with one parameter System.setProperty("jruby.home", ""); list.add("toto"); ruby.initLoad(list); //check that the global vars are correctly valuated RubyObject lCol = ruby.ge... | public void testInitLoad() { ArrayList list = new ArrayList(); //check without a RubyHome and with one parameter System.setProperty("jruby.home", ""); list.add("toto"); ruby.initLoad(list); //check that the global vars are correctly valuated RubyObject lCol = ruby.ge... | 3,233,693 |
private void handleViewSpots(ViewTrackSpotsEvent event) { ChainExecutionData exec = event.getChainExecution(); System.err.println("viewing spots for execution..."+exec.getID()); SpotsTrajectorySet trajectories = new SpotsTrajectorySet(registry,exec); if (trajectories.isEmpty()) { JOptionPane.showMessageDialog(... | private void handleViewSpots(ViewTrackSpotsEvent event) { ChainExecutionData exec = event.getChainExecution(); System.err.println("viewing spots for execution..."+exec.getID()); SpotsTrajectorySet trajectories = new SpotsTrajectorySet(registry,exec); if (trajectories.isEmpty()) { JOptionPane.showMessageDialog(... | 3,233,694 |
private void handleViewSpots(ViewTrackSpotsEvent event) { ChainExecutionData exec = event.getChainExecution(); System.err.println("viewing spots for execution..."+exec.getID()); SpotsTrajectorySet trajectories = new SpotsTrajectorySet(registry,exec); if (trajectories.isEmpty()) { JOptionPane.showMessageDialog(... | private void handleViewSpots(ViewTrackSpotsEvent event) { ChainExecutionData exec = event.getChainExecution(); System.err.println("viewing spots for execution..."+exec.getID()); SpotsTrajectorySet trajectories = new SpotsTrajectorySet(registry,exec); if (trajectories.isEmpty()) { JOptionPane.showMessageDialog(... | 3,233,695 |
public void setContext(Registry ctx) { System.err.println("setting context for spots.."); registry = ctx; //The container built our registry, store a reference. EventBus bus = registry.getEventBus(); bus.register(this,ViewTrackSpotsEvent.class); } | public void setContext(Registry ctx) { System.err.println("setting context for spots.."); registry = ctx; //The container built our registry, store a reference. EventBus bus = registry.getEventBus(); bus.register(this,ViewTrackSpotsEvent.class); } | 3,233,696 |
public JContactItemField(List items, Window parentWindow) { setLayout(new BorderLayout()); this.items = items; add(textField, BorderLayout.CENTER); textField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { char ch = keyEvent.getKey... | public JContactItemField(List items) { setLayout(new BorderLayout()); this.items = items; add(textField, BorderLayout.CENTER); textField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { char ch = keyEvent.getKeyChar(); ... | 3,233,697 |
public JContactItemField(List items, Window parentWindow) { setLayout(new BorderLayout()); this.items = items; add(textField, BorderLayout.CENTER); textField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { char ch = keyEvent.getKey... | public JContactItemField(List items, Window parentWindow) { setLayout(new BorderLayout()); this.items = items; add(textField, BorderLayout.CENTER); textField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { char ch = keyEvent.getKey... | 3,233,698 |
public void activate(Rectangle bounds) { switch (model.getState()) { case NEW: model.fireHierarchyLoading(); view.setComponentBounds(bounds); fireStateChange(); break; case DISCARDED: throw new IllegalStateExc... | public void activate(Rectangle bounds) { switch (model.getState()) { case NEW: model.fireHierarchyLoading(false); view.setComponentBounds(bounds); fireStateChange(); break; case DISCARDED: throw new IllegalSta... | 3,233,701 |
public void refresh() { } | publicmodel.fireHierarchyLoading(true); fireStateChange(); voidmodel.fireHierarchyLoading(true); fireStateChange(); refresh() { } | 3,233,702 |
public void setHierarchyRoots(Set roots, boolean flat) { if (model.getState() != LOADING_HIERARCHY) throw new IllegalStateException( "This method can only be invoked in the LOADING_HIERARCHY "+ "state."); model.createBrowser(roots, flat); ... | public void setHierarchyRoots(Set roots, boolean flat, boolean refresh) { if (model.getState() != LOADING_HIERARCHY) throw new IllegalStateException( "This method can only be invoked in the LOADING_HIERARCHY "+ "state."); model.createBrowser(... | 3,233,703 |
public void setHierarchyRoots(Set roots, boolean flat) { if (model.getState() != LOADING_HIERARCHY) throw new IllegalStateException( "This method can only be invoked in the LOADING_HIERARCHY "+ "state."); model.createBrowser(roots, flat); ... | public void setHierarchyRoots(Set roots, boolean flat) { if (model.getState() != LOADING_HIERARCHY) throw new IllegalStateException( "This method can only be invoked in the LOADING_HIERARCHY "+ "state."); model.createBrowser(roots, flat); ... | 3,233,704 |
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); // option... | 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); // option... | 3,233,705 |
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); // option... | 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); // option... | 3,233,706 |
public void actionPerformed(ActionEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse single click"); if (cachedEvent != null) doMouseClicked(cachedEvent); cachedEvent = null; timer.stop(); } | public void actionPerformed(ActionEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse single click"); if (cachedEvent != null) doMouseClicked(cachedEvent); cachedEvent = null; timer.stop(); } | 3,233,707 |
public void cancelModuleLinks() { if (ChainBuilderAgent.DEBUG) { System.err.println("cancelling module links..."); System.err.println("selected module is..."+selectedModule); } Iterator iter = links.iterator(); while (iter.hasNext()) { ParamLink link = (ParamLink) iter.next(); link.remove(); } if (ChainB... | public void cancelModuleLinks() { if (ChainBuilderAgent.DEBUG) { System.err.println("cancelling module links..."); System.err.println("selected module is..."+selectedModule); } Iterator iter = links.iterator(); while (iter.hasNext()) { ParamLink link = (ParamLink) iter.next(); link.remove(); } if (ChainB... | 3,233,708 |
public void cancelModuleLinks() { if (ChainBuilderAgent.DEBUG) { System.err.println("cancelling module links..."); System.err.println("selected module is..."+selectedModule); } Iterator iter = links.iterator(); while (iter.hasNext()) { ParamLink link = (ParamLink) iter.next(); link.remove(); } if (ChainB... | public void cancelModuleLinks() { if (ChainBuilderAgent.DEBUG > 3) { System.err.println("cancelling module links..."); System.err.println("selected module is..."+selectedModule); } Iterator iter = links.iterator(); while (iter.hasNext()) { ParamLink link = (ParamLink) iter.next(); link.remove(); } if (Ch... | 3,233,709 |
private void cancelModuleTargetLink() { moduleLink.remove(); moduleLink =null; cleanUpModuleTargetLink(); if (ChainBuilderAgent.DEBUG) System.err.println("cancel up module target link NOT_LINKING"); linkState = NOT_LINKING; } | private void cancelModuleTargetLink() { moduleLink.remove(); moduleLink =null; cleanUpModuleTargetLink(); if (ChainBuilderAgent.DEBUG) System.err.println("cancel up module target link NOT_LINKING"); linkState = NOT_LINKING; } | 3,233,710 |
private void cancelParamLink() { if (ChainBuilderAgent.DEBUG) System.err.println("canceling link"); if (link != null) link.remove(); link =null; cleanUParamLink(); } | private void cancelParamLink() { if (ChainBuilderAgent.DEBUG) System.err.println("canceling link"); if (link != null) link.remove(); link =null; cleanUParamLink(); } | 3,233,711 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | 3,233,712 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG > 3) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == L... | 3,233,713 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG >3 ) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == L... | 3,233,714 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG >3 ) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == L... | 3,233,715 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG >3 ) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == L... | 3,233,716 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | 3,233,717 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG > 3 ) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == ... | 3,233,718 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG > 3) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == L... | 3,233,719 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == LINKI... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. if (ChainBuilderAgent.DEBUG >3 ) { System.err.println("mouse clicked.."+e); System.err.println("link state is "+linkState); } if (linkState != NOT_LINKING) { if (linkState == L... | 3,233,720 |
private void doMouseDoubleClicked(PInputEvent e) { PNode node = e.getPickedNode(); if (ChainBuilderAgent.DEBUG) System.err.println("got a double click on "+node); if (node instanceof ModuleView){ selectedModule = (ModuleView) node; // only start links if it's linkable if (selectedModule.isLinkable()) ... | private void doMouseDoubleClicked(PInputEvent e) { PNode node = e.getPickedNode(); if (ChainBuilderAgent.DEBUG > 3) System.err.println("got a double click on "+node); if (node instanceof ModuleView){ selectedModule = (ModuleView) node; // only start links if it's linkable if (selectedModule.isLinkable()... | 3,233,721 |
private void evaluatePopup(PInputEvent e) { postPopup=true; PNode n = e.getPickedNode(); PNode p = n.getParent(); if (ChainBuilderAgent.DEBUG) System.err.println("popup. zooming out of "+n); if (n instanceof BufferedObject && (p == canvas.getLayer() || p instanceof ChainView)) { // if I'm on a module that... | private void evaluatePopup(PInputEvent e) { postPopup=true; PNode n = e.getPickedNode(); PNode p = n.getParent(); if (ChainBuilderAgent.DEBUG) System.err.println("popup. zooming out of "+n); if (n instanceof BufferedObject && (p == canvas.getLayer() || p instanceof ChainView)) { // if I'm on a module that... | 3,233,722 |
private void evaluatePopup(PInputEvent e) { postPopup=true; PNode n = e.getPickedNode(); PNode p = n.getParent(); if (ChainBuilderAgent.DEBUG) System.err.println("popup. zooming out of "+n); if (n instanceof BufferedObject && (p == canvas.getLayer() || p instanceof ChainView)) { // if I'm on a module that... | private void evaluatePopup(PInputEvent e) { postPopup=true; PNode n = e.getPickedNode(); PNode p = n.getParent(); if (ChainBuilderAgent.DEBUG) System.err.println("popup. zooming out of "+n); if (n instanceof BufferedObject && (p == canvas.getLayer() || p instanceof ChainView)) { // if I'm on a module that... | 3,233,723 |
public void finishModuleLinks(ModuleView mod) { Collection c; // if I started as inputs, get outputs of this node. if (moduleLinksStartedAsInputs == true) c = mod.getOutputParameters(); else c = mod.getInputParameters(); finishModuleLinks(c); links = new Vector(); if (ChainBuilderAgent.DEBUG) System.... | public void finishModuleLinks(ModuleView mod) { Collection c; // if I started as inputs, get outputs of this node. if (moduleLinksStartedAsInputs == true) c = mod.getOutputParameters(); else c = mod.getInputParameters(); finishModuleLinks(c); links = new Vector(); if (ChainBuilderAgent.DEBUG) System.... | 3,233,724 |
private void finishModuleTargetLink(ModuleLinkTarget n) { //first, if input and output are the same, barf. if (n.getModuleView() == moduleLinkOriginTarget.getModuleView()) { showSelfLinkError(); cancelModuleTargetLink(); return; } else if (n.isInputLinkTarget() && moduleLinkOriginTarget.isInputLinkTarge... | private void finishModuleTargetLink(ModuleLinkTarget n) { //first, if input and output are the same, barf. if (n.getModuleView() == moduleLinkOriginTarget.getModuleView()) { showSelfLinkError(); cancelModuleTargetLink(); return; } else if (n.isInputLinkTarget() && moduleLinkOriginTarget.isInputLinkTarge... | 3,233,725 |
private void finishModuleTargetLink(ModuleLinkTarget n) { //first, if input and output are the same, barf. if (n.getModuleView() == moduleLinkOriginTarget.getModuleView()) { showSelfLinkError(); cancelModuleTargetLink(); return; } else if (n.isInputLinkTarget() && moduleLinkOriginTarget.isInputLinkTarge... | private void finishModuleTargetLink(ModuleLinkTarget n) { //first, if input and output are the same, barf. if (n.getModuleView() == moduleLinkOriginTarget.getModuleView()) { showSelfLinkError(); cancelModuleTargetLink(); return; } else if (n.isInputLinkTarget() && moduleLinkOriginTarget.isInputLinkTarge... | 3,233,726 |
private void finishParamLink() { if (lastParameterEntered.getModuleView() == linkOrigin.getModuleView()) { showSelfLinkError(); cancelParamLink(); } else if (lastParameterEntered.getClass() == linkOrigin.getClass()) { showParameterInputOutputConflictError(linkOrigin); cancelParamLink(); } else if (lastPar... | private void finishParamLink() { if (lastParameterEntered.getModuleView() == linkOrigin.getModuleView()) { showSelfLinkError(); cancelParamLink(); } else if (lastParameterEntered.getClass() == linkOrigin.getClass()) { showParameterInputOutputConflictError(linkOrigin); cancelParamLink(); } else if (lastPar... | 3,233,727 |
private void finishParamLink() { if (lastParameterEntered.getModuleView() == linkOrigin.getModuleView()) { showSelfLinkError(); cancelParamLink(); } else if (lastParameterEntered.getClass() == linkOrigin.getClass()) { showParameterInputOutputConflictError(linkOrigin); cancelParamLink(); } else if (lastPar... | private void finishParamLink() { if (lastParameterEntered.getModuleView() == linkOrigin.getModuleView()) { showSelfLinkError(); cancelParamLink(); } else if (lastParameterEntered.getClass() == linkOrigin.getClass()) { showParameterInputOutputConflictError(linkOrigin); cancelParamLink(); } else if (lastPar... | 3,233,728 |
public void keyPressed(PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("a key was pressed "); int key = e.getKeyCode(); if (key != KeyEvent.VK_DELETE && key != KeyEvent.VK_BACK_SPACE) return; if (selectedLink != null) { selectedLink.remove(); selectedLink = null; } else if (selectedMo... | public void keyPressed(PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("a key was pressed "); int key = e.getKeyCode(); if (key != KeyEvent.VK_DELETE && key != KeyEvent.VK_BACK_SPACE) return; if (selectedLink != null) { selectedLink.remove(); selectedLink = null; } else if (selectedMo... | 3,233,729 |
public void mouseClicked(PInputEvent e) { if (timer.isRunning()) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse double click"); // this is effectively a double click. timer.stop(); if (wasDoubleClick == true) wasDoubleClick = false; else doMouseDoubleClicked(e); } else { timer.restar... | public void mouseClicked(PInputEvent e) { if (timer.isRunning()) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse double click"); // this is effectively a double click. timer.stop(); if (wasDoubleClick == true) wasDoubleClick = false; else doMouseDoubleClicked(e); } else { timer.restar... | 3,233,730 |
public void mouseClicked(PInputEvent e) { if (timer.isRunning()) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse double click"); // this is effectively a double click. timer.stop(); if (wasDoubleClick == true) wasDoubleClick = false; else doMouseDoubleClicked(e); } else { timer.restar... | public void mouseClicked(PInputEvent e) { if (timer.isRunning()) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse double click"); // this is effectively a double click. timer.stop(); if (wasDoubleClick == true) wasDoubleClick = false; else doMouseDoubleClicked(e); } else { timer.restar... | 3,233,731 |
public void mouseEntered(PInputEvent e) { PNode node = e.getPickedNode(); if (node instanceof FormalParameter) { lastParameterEntered = (FormalParameter) node; if (ChainBuilderAgent.DEBUG) System.err.println("mouse entered last entered.."+node); if (linkState == NOT_LINKING) { // turn on params for this... | public void mouseEntered(PInputEvent e) { PNode node = e.getPickedNode(); if (node instanceof FormalParameter) { lastParameterEntered = (FormalParameter) node; if (ChainBuilderAgent.DEBUG>3) System.err.println("mouse entered last entered.."+node); if (linkState == NOT_LINKING) { // turn on params for th... | 3,233,732 |
public void mouseExited(PInputEvent e) { PNode node = e.getPickedNode(); lastParameterEntered = null; if (ChainBuilderAgent.DEBUG) System.err.println("last parameter entered cleared"); if (node instanceof FormalParameter) { FormalParameter param = (FormalParameter) node; if (linkState == NOT_LINKING) { ... | public void mouseExited(PInputEvent e) { PNode node = e.getPickedNode(); lastParameterEntered = null; if (ChainBuilderAgent.DEBUG>3) System.err.println("last parameter entered cleared"); if (node instanceof FormalParameter) { FormalParameter param = (FormalParameter) node; if (linkState == NOT_LINKING) { ... | 3,233,733 |
public void mouseMoved(PInputEvent e) { Point2D pos = e.getPosition(); if (linkState == LINKING_PARAMS) { link.setEndCoords((float) pos.getX(),(float) pos.getY()); } else if (linkState == LINKING_MODULES) { Iterator iter = links.iterator(); ParamLink lnk; while (iter.hasNext()) { lnk = (ParamLink) iter.... | public void mouseMoved(PInputEvent e) { Point2D pos = e.getPosition(); if (linkState == LINKING_PARAMS) { link.setEndCoords((float) pos.getX(),(float) pos.getY()); } else if (linkState == LINKING_MODULES) { Iterator iter = links.iterator(); ParamLink lnk; while (iter.hasNext()) { lnk = (ParamLink) iter.... | 3,233,734 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; return; ... | public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG > 3) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; retu... | 3,233,735 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; return; ... | public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG > 3) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; retu... | 3,233,736 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; return; ... | public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG > 3) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; retu... | 3,233,737 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; return; ... | public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG > 3) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; retu... | 3,233,738 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; return; ... | public void mousePressed(PInputEvent e) { postLinkCompletion = false; if (ChainBuilderAgent.DEBUG > 3) System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { if (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); wasDoubleClick = false; retu... | 3,233,739 |
private void mousePressedChangingPoint(PNode node,PInputEvent e) { if (node instanceof PCamera) { if (ChainBuilderAgent.DEBUG) System.err.println("clearing link selection target.. not_LINKING."); linkState = NOT_LINKING; if (selectionTarget != null) { Link link = selectionTarget.getLink(); if (link !... | private void mousePressedChangingPoint(PNode node,PInputEvent e) { if (node instanceof PCamera) { if (ChainBuilderAgent.DEBUG >3) System.err.println("clearing link selection target.. not_LINKING."); linkState = NOT_LINKING; if (selectionTarget != null) { Link link = selectionTarget.getLink(); if (lin... | 3,233,740 |
private void mousePressedLink(PNode node) { if (linkState != LINK_CHANGING_POINT) { selectedLink = (Link) node; selectedLink.setSelected(true); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on a link when not changing. link state is NOT_LINKING"); linkState = NOT_LINKING; } } | private void mousePressedLink(PNode node) { if (linkState != LINK_CHANGING_POINT) { selectedLink = (Link) node; selectedLink.setSelected(true); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on a link when not changing. link state is NOT_LINKING"); linkState = NOT_LINKING; } } | 3,233,741 |
private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); if (e.getClickCount() ==2) { cancelModuleTargetLink(); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pr... | private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); if (e.getClickCount() ==2) { cancelModuleTargetLink(); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pr... | 3,233,742 |
private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); if (e.getClickCount() ==2) { cancelModuleTargetLink(); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pr... | private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); if (e.getClickCount() ==2) { cancelModuleTargetLink(); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pr... | 3,233,743 |
private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); if (ChainBuilderAgent.DEBUG) { System.err.println("node is..."+node); if (node instanceof ParamLink) System.err.println("param link"); if (node instanceof ModuleLink) System.err.println("module link"); Sy... | private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); if (ChainBuilderAgent.DEBUG) { System.err.println("node is..."+node); if (node instanceof ParamLink) System.err.println("param link"); if (node instanceof ModuleLink) System.err.println("module link"); Sy... | 3,233,744 |
private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); if (ChainBuilderAgent.DEBUG) { System.err.println("node is..."+node); if (node instanceof ParamLink) System.err.println("param link"); if (node instanceof ModuleLink) System.err.println("module link"); Sy... | private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); if (ChainBuilderAgent.DEBUG >3) { System.err.println("node is..."+node); if (node instanceof ParamLink) System.err.println("param link"); if (node instanceof ModuleLink) System.err.println("module link"); ... | 3,233,745 |
private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); if (ChainBuilderAgent.DEBUG) { System.err.println("node is..."+node); if (node instanceof ParamLink) System.err.println("param link"); if (node instanceof ModuleLink) System.err.println("module link"); Sy... | private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); if (ChainBuilderAgent.DEBUG) { System.err.println("node is..."+node); if (node instanceof ParamLink) System.err.println("param link"); if (node instanceof ModuleLink) System.err.println("module link"); Sy... | 3,233,746 |
private void mousePressedLinkingParams(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking params "+e); if (e.getClickCount() ==2) { cancelParamLink(); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking params. setting to linking cancellation"); linkState = LINKING_... | private void mousePressedLinkingParams(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking params "+e); if (e.getClickCount() ==2) { cancelParamLink(); if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking params. setting to linking cancellation"); linkState = LINKING_... | 3,233,747 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | 3,233,748 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | 3,233,749 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | 3,233,750 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | private void mousePressedNotLinking(PNode node,PInputEvent e) { if (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; if (ChainBuilderAg... | 3,233,751 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.