bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private static void runTestAntScript(String testName, String target) throws IOException { Java task = new Java(); task.setTaskName("java"); task.setProject(new Project()); task.init(); // Call ant launcher. Requires ant-lancher.jar. task.setClassname("org.apache.tools.ant.launch.Launcher"); task.setFork(true);... | private static void runTestAntScript(String testName, String target) throws IOException { Java task = new Java(); task.setTaskName("java"); task.setProject(new Project()); task.init(); // Call ant launcher. Requires ant-lancher.jar. task.setClassname("org.apache.tools.ant.launch.Launcher"); task.setFork(true);... | 3,236,707 |
public XMLReport(Map coverageData, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<coverage ... | public XMLReport(Map coverageData, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<coverage ... | 3,236,708 |
public XMLReport(Map coverageData, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<coverage ... | public XMLReport(Map coverageData, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<coverage ... | 3,236,709 |
public static Block createBlock(INode var, ICallable method, IRubyObject self) { Ruby ruby = self.toRubyObject().getRuntime(); return new Block(var, method, self, ruby.getCurrentFrame(), ruby.currentScope(), ruby.getRubyClass(), ruby.getCurrentIter(), ruby.getDynamicVars()/*, null*/); } | public static Block createBlock(INode var, ICallable method, IRubyObject self) { Ruby ruby = self.getRuntime(); return new Block(var, method, self, ruby.getCurrentFrame(), ruby.currentScope(), ruby.getRubyClass(), ruby.getCurrentIter(), ruby.getDynamicVars()/*, null*/); } | 3,236,710 |
public List childNodes() { return Collections.EMPTY_LIST; } | public List childNodes() { return EMPTY_LIST; } | 3,236,711 |
private void buildGUI() { Container c = getContentPane(); c.setLayout(new GridBagLayout()); // Create and initialize the tabs JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT)... | private void buildGUI() { Container c = getContentPane(); // Create and initialize the tabs JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ControlPane pane = (Contro... | 3,236,712 |
private void buildGUI() { Container c = getContentPane(); c.setLayout(new GridBagLayout()); // Create and initialize the tabs JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT)... | private void buildGUI() { Container c = getContentPane(); c.setLayout(new GridBagLayout()); // Create and initialize the tabs JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT)... | 3,236,713 |
public List childNodes() { return Collections.EMPTY_LIST; } | public List childNodes() { return EMPTY_LIST; } | 3,236,714 |
public IRubyObject at(RubyNumeric pos) { return entry(pos.getLongValue()); } | public IRubyObject at(RubyNumeric pos) { return entry(pos.getLongValue()); } | 3,236,715 |
public static RubyClass createArrayClass(Ruby runtime) { RubyClass arrayClass = runtime.defineClass("Array", runtime.getClasses().getObjectClass()); arrayClass.includeModule(runtime.getModule("Enumerable")); CallbackFactory callbackFactory = runtime.callbackFactory(RubyArray.class); arra... | public static RubyClass createArrayClass(Ruby runtime) { RubyClass arrayClass = runtime.defineClass("Array", runtime.getClasses().getObjectClass()); arrayClass.includeModule(runtime.getModule("Enumerable")); CallbackFactory callbackFactory = runtime.callbackFactory(RubyArray.class); arra... | 3,236,716 |
public IRubyObject initialize(IRubyObject[] args) { int argc = checkArgumentCount(args, 0, 2); RubyArray arrayInitializer = null; long len = 0; if (argc != 0) { if (args[0] instanceof RubyNumeric) { len = RubyNumeric.fix2long(args[0]); } else if (args[0] instance... | public IRubyObject initialize(IRubyObject[] args) { int argc = checkArgumentCount(args, 0, 2); RubyArray arrayInitializer = null; long len = 0; if (argc != 0) { if (args[0] instanceof RubyNumeric) { len = RubyNumeric.fix2long(args[0]); } else if (args[0] instance... | 3,236,717 |
public void initialize() { // Retrieve ChatManager from the SparkManager ChatManager chatManager = SparkManager.getChatManager(); // Add to a new ChatRoom when the ChatRoom opens. chatManager.addChatRoomListener(new ChatRoomListenerAdapter() { public void chatRoomOpened(ChatRo... | public void initialize() { // Retrieve ChatManager from the SparkManager ChatManager chatManager = SparkManager.getChatManager(); // Add to a new ChatRoom when the ChatRoom opens. chatManager.addChatRoomListener(new ChatRoomListenerAdapter() { public void chatRoomOpened(ChatRo... | 3,236,720 |
public void chatRoomOpened(ChatRoom room) { // only do the translation for single chat if (room instanceof ChatRoomImpl) { final ChatRoomImpl roomImpl = (ChatRoomImpl)room; // Create a new ChatRoomButton. final JComboBox ... | public void chatRoomOpened(ChatRoom room) { // only do the translation for single chat if (room instanceof ChatRoomImpl) { final ChatRoomImpl roomImpl = (ChatRoomImpl)room; // Create a new ChatRoomButton. final JComboBox ... | 3,236,721 |
public void sendingMessage(Message message) { String currentBody = message.getBody(); TranslatorUtil.TranslationType type = (TranslatorUtil.TranslationType)translatorBox.getSelectedItem(); ... | public void sendingMessage(Message message) { String currentBody = message.getBody(); TranslatorUtil.TranslationType type = (TranslatorUtil.TranslationType)translatorBox.getSelectedItem(); ... | 3,236,722 |
public void deleteSelfAndChildren() { for (DisplayedNote child : displayedNotes) { child.deleteSelfAndChildren(); } treeNode.dispose(); if (tab != null) tab.dispose(); holder.removeDisplayedNote(this); note.getHolder().removeNote(note); } | public void deleteSelfAndChildren() { for (DisplayedNote child : displayedNotes) { child.deleteSelfAndChildren(); } treeNode.dispose(); if (tab != null) tab.dispose(); holder.removeDisplayedNote(this); note.getHolder().removeNote(note); } | 3,236,723 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,724 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,725 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,726 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,727 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,728 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,729 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,730 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,731 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,732 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,733 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,734 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,735 |
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50... | 3,236,736 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,737 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,738 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,739 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,740 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,741 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,742 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,743 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,744 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,745 |
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 300, 190, 190, 591, 281, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 601, 552, 234, 234... | 3,236,746 |
public String[] getNames() { getFiles(); ArrayList allMatchedNames = new ArrayList(); for (Iterator iter = patterns.iterator(); iter.hasNext();) { GlobPattern pattern = (GlobPattern) iter.next(); allMatchedNames.addAll(pattern.getMatchedFiles()); } return (String[]) allMatchedNames.toArr... | public String[] getNames() { getFiles(); ArrayList allMatchedNames = new ArrayList(); for (Iterator iter = patterns.iterator(); iter.hasNext();) { GlobPattern pattern = (GlobPattern) iter.next(); allMatchedNames.addAll(pattern.getMatchedFiles()); } return (String[]) allMatchedNames.toArr... | 3,236,747 |
public String toString(){ return "Classification"+(attributeId==null ? ":Hash"+this.hashCode() : ":"+attributeId); } | public String toString(){ return "Classification"+(attributeId==null ? ":Hash_"+this.hashCode() : ":Id_"+attributeId); } | 3,236,749 |
public void actionPerformed(ActionEvent e) { //System.err.println("mouse single click"); if (cachedEvent != null) doMouseClicked(cachedEvent); cachedEvent = null; timer.stop(); } | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse single click"); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse single click"); actionPerformed(ActionEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse single click"); e)if (ChainBuilderAgent.DEBUG) System.err.println("mouse single click... | 3,236,750 |
public void cancelModuleLinks() { //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(); } //System.err.println("cancelling modules li... | public void cancelModuleLinks() { //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(); } //System.err.println("cancelling modules li... | 3,236,751 |
public void cancelModuleLinks() { //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(); } //System.err.println("cancelling modules li... | publicif (ChainBuilderAgent.DEBUG) System.err.println("cancelling modules links. link state is NOT_LINKING"); voidif (ChainBuilderAgent.DEBUG) System.err.println("cancelling modules links. link state is NOT_LINKING"); cancelModuleLinks()if (ChainBuilderAgent.DEBUG) System.err.println("cancelling modules links. link st... | 3,236,752 |
private void cancelParamLink() { //System.err.println("canceling link"); if (link != null) link.remove(); link =null; cleanUParamLink(); } | privateif (ChainBuilderAgent.DEBUG) System.err.println("canceling link"); voidif (ChainBuilderAgent.DEBUG) System.err.println("canceling link"); cancelParamLink()if (ChainBuilderAgent.DEBUG) System.err.println("canceling link"); { //System.err.println("cancelingif (ChainBuilderAgent.DEBUG) System.err.println("canceli... | 3,236,753 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | 3,236,754 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) System.err.println("cancelled link. set to not linking"); voidif (ChainBuilderAgent.DEBUG) System.err.println("cancelled link. set to not linking"); doMouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("cancelled link. set to not linking"); e)if (ChainBuilderAgen... | 3,236,755 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) System.err.println("linking..."); voidif (ChainBuilderAgent.DEBUG) System.err.println("linking..."); doMouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("linking..."); e)if (ChainBuilderAgent.DEBUG) System.err.println("linking..."); { ifif (ChainBuilderAgent.DE... | 3,236,756 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) System.err.println("post popup"); voidif (ChainBuilderAgent.DEBUG) System.err.println("post popup"); doMouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("post popup"); e)if (ChainBuilderAgent.DEBUG) System.err.println("post popup"); { ifif (ChainBuilderAgent.DE... | 3,236,757 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse clicked on .."+node); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse clicked on .."+node); doMouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse clicked on .."+node); e)if (ChainBuilderAgent.DEBUG) System.err.println("m... | 3,236,758 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) { System.err.println("zooming in on node..."+node); System.err.println("camera view scale was "+camera.getViewScale()); } voidif (ChainBuilderAgent.DEBUG) { System.err.println("zooming in on node..."+node); System.err.println("camera view scale was "+camera.getViewScale()); } doMouse... | 3,236,759 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicvoiddoMouseClicked(PInputEvente){ if(postLinkCompletion==true) return; //weonlyscaleifwe'renotdrawingalink. // System.err.println("mouseclicked.."+e); //System.err.println("linkstateis"+linkState); if(linkState!=NOT_LINKING){ if(linkState==LINKING_CANCELLATION){ //System.err.println("cancelledlink.set... | 3,236,760 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) System.err.println("canvas right click.."); voidif (ChainBuilderAgent.DEBUG) System.err.println("canvas right click.."); doMouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("canvas right click.."); e)if (ChainBuilderAgent.DEBUG) System.err.println("canvas right ... | 3,236,761 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) System.err.println("zoomed with shhift.."); voidif (ChainBuilderAgent.DEBUG) System.err.println("zoomed with shhift.."); doMouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("zoomed with shhift.."); e)if (ChainBuilderAgent.DEBUG) System.err.println("zoomed with s... | 3,236,762 |
public void doMouseClicked(PInputEvent e) { if (postLinkCompletion == true) return; // we only scale if we're not drawing a link. // System.err.println("mouse clicked.."+e); //System.err.println("link state is "+linkState); if (linkState != NOT_LINKING) { if (linkState == LINKING_CANCELLATION) { //System.er... | publicif (ChainBuilderAgent.DEBUG) System.err.println("zoomed witout shift..."); voidif (ChainBuilderAgent.DEBUG) System.err.println("zoomed witout shift..."); doMouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("zoomed witout shift..."); e)if (ChainBuilderAgent.DEBUG) System.err.println("zoomed ... | 3,236,763 |
private void doMouseDoubleClicked(PInputEvent e) { PNode node = e.getPickedNode(); //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()) startModuleLinks(e); } else if... | privateif (ChainBuilderAgent.DEBUG) System.err.println("got a double click on "+node); voidif (ChainBuilderAgent.DEBUG) System.err.println("got a double click on "+node); doMouseDoubleClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("got a double click on "+node); e)if (ChainBuilderAgent.DEBUG) Syste... | 3,236,764 |
private void evaluatePopup(PInputEvent e) { postPopup=true; PNode n = e.getPickedNode(); PNode p = n.getParent(); //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's not in a chain or not. ... | privateif (ChainBuilderAgent.DEBUG) System.err.println("popup. zooming out of "+n); voidif (ChainBuilderAgent.DEBUG) System.err.println("popup. zooming out of "+n); evaluatePopup(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("popup. zooming out of "+n); e)if (ChainBuilderAgent.DEBUG) System.err.println("p... | 3,236,765 |
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(); //System.err.println("finish module li... | publicif (ChainBuilderAgent.DEBUG) System.err.println("finish module links. state is not_linking"); voidif (ChainBuilderAgent.DEBUG) System.err.println("finish module links. state is not_linking"); finishModuleLinks(ModuleViewif (ChainBuilderAgent.DEBUG) System.err.println("finish module links. state is not_linking");... | 3,236,766 |
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... | privateif (ChainBuilderAgent.DEBUG) System.err.println("finishing module target link"); voidif (ChainBuilderAgent.DEBUG) System.err.println("finishing module target link"); finishModuleTargetLink(ModuleLinkTargetif (ChainBuilderAgent.DEBUG) System.err.println("finishing module target link"); n)if (ChainBuilderAgent... | 3,236,767 |
private void finishParamLink() { if (lastParameterEntered.getModuleView() == linkOrigin.getModuleView()) { showSelfLinkError(); cancelParamLink(); } else if (lastParameterEntered.getClass() == linkOrigin.getClass()) { showParameterInputOutputConflictError(linkOrigin); cancelParamLink(); } else if (lastPar... | privateif (ChainBuilderAgent.DEBUG) System.err.println("finishing link"); voidif (ChainBuilderAgent.DEBUG) System.err.println("finishing link"); finishParamLink()if (ChainBuilderAgent.DEBUG) System.err.println("finishing link"); { ifif (ChainBuilderAgent.DEBUG) System.err.println("finishing link"); (lastParameterEnte... | 3,236,768 |
private void finishParamLink() { if (lastParameterEntered.getModuleView() == linkOrigin.getModuleView()) { showSelfLinkError(); cancelParamLink(); } else if (lastParameterEntered.getClass() == linkOrigin.getClass()) { showParameterInputOutputConflictError(linkOrigin); cancelParamLink(); } else if (lastPar... | privateif (ChainBuilderAgent.DEBUG) System.err.println("finishParamLink. state is NOT_LINKING"); voidif (ChainBuilderAgent.DEBUG) System.err.println("finishParamLink. state is NOT_LINKING"); finishParamLink()if (ChainBuilderAgent.DEBUG) System.err.println("finishParamLink. state is NOT_LINKING"); { ifif (ChainBuilder... | 3,236,769 |
public void keyPressed(PInputEvent e) { //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 (selectedModule != null) { selectedMod... | publicif (ChainBuilderAgent.DEBUG) System.err.println("a key was pressed "); voidif (ChainBuilderAgent.DEBUG) System.err.println("a key was pressed "); keyPressed(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("a key was pressed "); e)if (ChainBuilderAgent.DEBUG) System.err.println("a key was pressed "); {... | 3,236,770 |
public void mouseClicked(PInputEvent e) { if (timer.isRunning()) { //System.err.println("mouse double click"); // this is effectively a double click. timer.stop(); if (wasDoubleClick == true) wasDoubleClick = false; else doMouseDoubleClicked(e); } else { timer.restart(); //System.err.println("c... | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse double click"); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse double click"); mouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse double click"); e)if (ChainBuilderAgent.DEBUG) System.err.println("mouse double click");... | 3,236,771 |
public void mouseClicked(PInputEvent e) { if (timer.isRunning()) { //System.err.println("mouse double click"); // this is effectively a double click. timer.stop(); if (wasDoubleClick == true) wasDoubleClick = false; else doMouseDoubleClicked(e); } else { timer.restart(); //System.err.println("c... | publicif (ChainBuilderAgent.DEBUG) System.err.println("caching click event .."+e); voidif (ChainBuilderAgent.DEBUG) System.err.println("caching click event .."+e); mouseClicked(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("caching click event .."+e); e)if (ChainBuilderAgent.DEBUG) System.err.println("cac... | 3,236,772 |
public void mouseDragged(PInputEvent e) { //System.err.println("mouse dragged..."+e.getPickedNode()); // System.err.println("CHAIN HANDLER:got a drag event in chain canvas"); mouseMoved(e); super.mouseDragged(e); } | public void mouseDragged(PInputEvent e) { //System.err.println("mouse dragged..."+e.getPickedNode()); // System.err.println("CHAIN HANDLER:got a drag event in chain canvas"); mouseMoved(e); super.mouseDragged(e); } | 3,236,773 |
public void mouseEntered(PInputEvent e) { PNode node = e.getPickedNode(); if (node instanceof FormalParameter) { lastParameterEntered = (FormalParameter) node; //System.err.println("mouse entered last entered.."+ if (linkState == NOT_LINKING) { // turn on params for this parameter lastParameterEntered.s... | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse entered last entered.."+node); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse entered last entered.."+node); mouseEntered(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse entered last entered.."+node); e)if (ChainBuilderAgent.DEB... | 3,236,774 |
public void mouseExited(PInputEvent e) { PNode node = e.getPickedNode(); lastParameterEntered = null; //System.err.println("last parameter entered cleared"); if (node instanceof FormalParameter) { FormalParameter param = (FormalParameter) node; if (linkState == NOT_LINKING) { param.setParamsHighlighted(fal... | publicif (ChainBuilderAgent.DEBUG) System.err.println("last parameter entered cleared"); voidif (ChainBuilderAgent.DEBUG) System.err.println("last parameter entered cleared"); mouseExited(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("last parameter entered cleared"); e)if (ChainBuilderAgent.DEBUG) System... | 3,236,775 |
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.... | publicif (ChainBuilderAgent.DEBUG) System.err.println("setting end of module link.."); voidif (ChainBuilderAgent.DEBUG) System.err.println("setting end of module link.."); mouseMoved(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("setting end of module link.."); e)if (ChainBuilderAgent.DEBUG) System.err.pr... | 3,236,776 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; //System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { //System.err.println("just came from double click.."); wasDoubleClick = false; return; } if (e.isPopupTrigger()) { //System.err.println("mous... | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); mousePressed(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed on "+e.getPickedNode()); e)if (ChainBuilderAge... | 3,236,777 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; //System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { //System.err.println("just came from double click.."); wasDoubleClick = false; return; } if (e.isPopupTrigger()) { //System.err.println("mous... | publicif (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); voidif (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); mousePressed(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("just came from double click.."); e)if (ChainBuilderAgent.DEBUG) System.e... | 3,236,778 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; //System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { //System.err.println("just came from double click.."); wasDoubleClick = false; return; } if (e.isPopupTrigger()) { //System.err.println("mous... | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed.."); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed.."); mousePressed(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed.."); e)if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed.."); { postLi... | 3,236,779 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; //System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { //System.err.println("just came from double click.."); wasDoubleClick = false; return; } if (e.isPopupTrigger()) { //System.err.println("mous... | publicif (ChainBuilderAgent.DEBUG) System.err.println("setting selected link to not be selected, in mousePressed"); voidif (ChainBuilderAgent.DEBUG) System.err.println("setting selected link to not be selected, in mousePressed"); mousePressed(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("setting selected... | 3,236,780 |
public void mousePressed(PInputEvent e) { postLinkCompletion = false; //System.err.println("mouse pressed on "+e.getPickedNode()); if (wasDoubleClick == true) { //System.err.println("just came from double click.."); wasDoubleClick = false; return; } if (e.isPopupTrigger()) { //System.err.println("mous... | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed..setting link state to not linking.."); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed..setting link state to not linking.."); mousePressed(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed..setting link st... | 3,236,781 |
private void mousePressedChangingPoint(PNode node,PInputEvent e) { if (node instanceof PCamera) { //System.err.println("clearing link selection target.. not_LINKING."); linkState = NOT_LINKING; if (selectionTarget != null) { Link link = selectionTarget.getLink(); if (link != null) link.setSelected(fa... | privateif (ChainBuilderAgent.DEBUG) System.err.println("clearing link selection target.. not_LINKING."); voidif (ChainBuilderAgent.DEBUG) System.err.println("clearing link selection target.. not_LINKING."); mousePressedChangingPoint(PNodeif (ChainBuilderAgent.DEBUG) System.err.println("clearing link selection target..... | 3,236,782 |
private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); if (e.getClickCount() ==2) { cancelModuleTargetLink(); //System.err.println("mouse pressed linking params. setting to linking cancellation"); ... | privateif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets "+e); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets "+e); mousePressedLinkingModuleTargets(PNodeif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets ... | 3,236,783 |
private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); if (e.getClickCount() ==2) { cancelModuleTargetLink(); //System.err.println("mouse pressed linking params. setting to linking cancellation"); ... | privateif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking params. setting to linking cancellation"); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking params. setting to linking cancellation"); mousePressedLinkingModuleTargets(PNodeif (ChainBuilderAgent.DEBUG) System.err.pr... | 3,236,784 |
private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); //System.err.println("node is..."+node); //if (node instanceof ParamLink) //System.err.println("param link"); //if (node instanceof ModuleLink) //System.err.println("module link"); //System.err.println("caling... | private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); //System.err.println("node is..."+node); //if (node instanceof ParamLink) //System.err.println("param link"); //if (node instanceof ModuleLink) //System.err.println("module link"); //System.err.println("caling... | 3,236,785 |
private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); //System.err.println("node is..."+node); //if (node instanceof ParamLink) //System.err.println("param link"); //if (node instanceof ModuleLink) //System.err.println("module link"); //System.err.println("caling... | privateif (ChainBuilderAgent.DEBUG) System.err.println("2 presses. node is "+node); voidif (ChainBuilderAgent.DEBUG) System.err.println("2 presses. node is "+node); mousePressedLinkingModules(PNodeif (ChainBuilderAgent.DEBUG) System.err.println("2 presses. node is "+node); node,PInputEventif (ChainBuilderAgent.DEBUG) ... | 3,236,786 |
private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); //System.err.println("node is..."+node); //if (node instanceof ParamLink) //System.err.println("param link"); //if (node instanceof ModuleLink) //System.err.println("module link"); //System.err.println("caling... | private void mousePressedLinkingModules(PNode node,PInputEvent e) { int count = e.getClickCount(); //System.err.println("node is..."+node); //if (node instanceof ParamLink) //System.err.println("param link"); //if (node instanceof ModuleLink) //System.err.println("module link"); //System.err.println("caling... | 3,236,787 |
private void mousePressedLinkingParams(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking params "+e); if (e.getClickCount() ==2) { cancelParamLink(); //System.err.println("mouse pressed linking params. setting to linking cancellation"); linkState = LINKING_CANCELLATION; postLinkComple... | privateif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking params. setting to linking cancellation"); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking params. setting to linking cancellation"); mousePressedLinkingParams(PNodeif (ChainBuilderAgent.DEBUG) System.err.println("... | 3,236,788 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { //System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; //System.err.println("starting a link from .."+... | privateif (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); voidif (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); mousePressedNotLinking(PNodeif (ChainBuilderAgent.DEBUG) System.err.println("got mouse presssed not linking.."); node,PInputEventif (Chain... | 3,236,789 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { //System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; //System.err.println("starting a link from .."+... | privateif (ChainBuilderAgent.DEBUG) System.err.println("starting a link from .."+param.getParameter().getName()); voidif (ChainBuilderAgent.DEBUG) System.err.println("starting a link from .."+param.getParameter().getName()); mousePressedNotLinking(PNodeif (ChainBuilderAgent.DEBUG) System.err.println("starting a link f... | 3,236,790 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { //System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; //System.err.println("starting a link from .."+... | privateif (ChainBuilderAgent.DEBUG) System.err.println("pressing on module link target..."); voidif (ChainBuilderAgent.DEBUG) System.err.println("pressing on module link target..."); mousePressedNotLinking(PNodeif (ChainBuilderAgent.DEBUG) System.err.println("pressing on module link target..."); node,PInputEventif (Ch... | 3,236,791 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { //System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; //System.err.println("starting a link from .."+... | privateif (ChainBuilderAgent.DEBUG) { System.err.println("pressiing on target.."); System.err.println("mouse pressed not linking. setting to link changing point"); } voidif (ChainBuilderAgent.DEBUG) { System.err.println("pressiing on target.."); System.err.println("mouse pressed not linking. setting to link changing p... | 3,236,792 |
private void mousePressedNotLinking(PNode node,PInputEvent e) { //System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; //System.err.println("starting a link from .."+... | private void mousePressedNotLinking(PNode node,PInputEvent e) { //System.err.println("got mouse presssed not linking.."); if (node instanceof FormalParameter) { if (lastParameterEntered == null) mouseEntered(e); FormalParameter param = (FormalParameter) node; //System.err.println("starting a link from .."+... | 3,236,793 |
private void mousePressedSelectionTarget(PNode node) { //System.err.println("pressing on selection target.."); selectionTarget = (LinkSelectionTarget) node; selectionTarget.getLink().setSelected(true); //System.err.println("mousePressedSelectionTarget.... setting link state to changing point"); linkState = LINK_C... | privateif (ChainBuilderAgent.DEBUG) { System.err.println("pressing on selection target.."); System.err.println("mousePressedSelectionTarget.... setting link state to changing point"); } voidif (ChainBuilderAgent.DEBUG) { System.err.println("pressing on selection target.."); System.err.println("mousePressedSelectionTar... | 3,236,794 |
private void mousePressedSelectionTarget(PNode node) { //System.err.println("pressing on selection target.."); selectionTarget = (LinkSelectionTarget) node; selectionTarget.getLink().setSelected(true); //System.err.println("mousePressedSelectionTarget.... setting link state to changing point"); linkState = LINK_C... | privatevoidmousePressedSelectionTarget(PNodenode){ //System.err.println("pressingonselectiontarget.."); selectionTarget=(LinkSelectionTarget)node; selectionTarget.getLink().setSelected(true); //System.err.println("mousePressedSelectionTarget....settinglinkstatetochangingpoint"); linkState=LINK_CHANGING_POINT; } | 3,236,795 |
public void mouseReleased(PInputEvent e) { if (e.isPopupTrigger()) { // System.err.println("mouse released"); evaluatePopup(e); } } | publicif (ChainBuilderAgent.DEBUG) System.err.println("mouse released"); voidif (ChainBuilderAgent.DEBUG) System.err.println("mouse released"); mouseReleased(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("mouse released"); e)if (ChainBuilderAgent.DEBUG) System.err.println("mouse released"); { ifif (Chain... | 3,236,796 |
private void startModuleLinks(PInputEvent e) { if (selectedModule == null) return; Point2D pos = e.getPosition(); boolean isInput = selectedModule.isOnInputSide(pos); Collection inputs = selectedModule.getInputParameters(); Collection outputs = selectedModule.getOutputParameters(); if (isInput == true || outp... | privateif (ChainBuilderAgent.DEBUG) System.err.println("building module links on input side"); voidif (ChainBuilderAgent.DEBUG) System.err.println("building module links on input side"); startModuleLinks(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("building module links on input side"); e)if (ChainBuild... | 3,236,797 |
private void startModuleLinks(PInputEvent e) { if (selectedModule == null) return; Point2D pos = e.getPosition(); boolean isInput = selectedModule.isOnInputSide(pos); Collection inputs = selectedModule.getInputParameters(); Collection outputs = selectedModule.getOutputParameters(); if (isInput == true || outp... | privateif (ChainBuilderAgent.DEBUG) System.err.println("building module links on output side"); voidif (ChainBuilderAgent.DEBUG) System.err.println("building module links on output side"); startModuleLinks(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("building module links on output side"); e)if (ChainBu... | 3,236,798 |
private void startModuleLinks(PInputEvent e) { if (selectedModule == null) return; Point2D pos = e.getPosition(); boolean isInput = selectedModule.isOnInputSide(pos); Collection inputs = selectedModule.getInputParameters(); Collection outputs = selectedModule.getOutputParameters(); if (isInput == true || outp... | privateif (ChainBuilderAgent.DEBUG) System.err.println("start module links. link state is LINKING_MODULES"); voidif (ChainBuilderAgent.DEBUG) System.err.println("start module links. link state is LINKING_MODULES"); startModuleLinks(PInputEventif (ChainBuilderAgent.DEBUG) System.err.println("start module links. link st... | 3,236,799 |
private void startModuleTargetLink(ModuleLinkTarget modLink) { moduleLinkOriginTarget = modLink; //System.err.println("starting mmodule target link..."+modLink); moduleLink = new ModuleLink(linkLayer,moduleLinkOriginTarget); moduleLink.setPickable(false); linkState = LINKING_MODULE_TARGETS; } | privateif (ChainBuilderAgent.DEBUG) System.err.println("starting mmodule target link..."+modLink); voidif (ChainBuilderAgent.DEBUG) System.err.println("starting mmodule target link..."+modLink); startModuleTargetLink(ModuleLinkTargetif (ChainBuilderAgent.DEBUG) System.err.println("starting mmodule target link..."+modL... | 3,236,800 |
private void startParamLink(FormalParameter param) { ////System.err.println("mouse pressing and starting link"); linkOrigin = param; link = new ParamLink(); linkLayer.addChild(link); link.setStartParam(linkOrigin); link.setPickable(false); //System.err.println("start param link. link state is LINKING_PARAMS");... | if (ChainBuilderAgent.DEBUG) { System.err.println("mouse pressing and starting link"); System.err.println("start param link. link state is LINKING_PARAMS"); } privateif (ChainBuilderAgent.DEBUG) { System.err.println("mouse pressing and starting link"); System.err.println("start param link. link state is LINKING_PARAMS... | 3,236,801 |
private void startParamLink(FormalParameter param) { ////System.err.println("mouse pressing and starting link"); linkOrigin = param; link = new ParamLink(); linkLayer.addChild(link); link.setStartParam(linkOrigin); link.setPickable(false); //System.err.println("start param link. link state is LINKING_PARAMS");... | privatevoidstartParamLink(FormalParameterparam){ ////System.err.println("mousepressingandstartinglink"); linkOrigin=param; link=newParamLink(); linkLayer.addChild(link); link.setStartParam(linkOrigin); link.setPickable(false); //System.err.println("startparamlink.linkstateisLINKING_PARAMS"); linkState=LINKING_... | 3,236,802 |
public IRubyObject setConstant(String name, IRubyObject value) { return setInstanceVariable(name, value, "Insecure: can't set constant", "class/module"); } | public IRubyObject setConstant(String name, IRubyObject value) { IRubyObject result = setInstanceVariable(name, value, "Insecure: can't set constant", "class/module"); } | 3,236,805 |
public UserCredentials getUserCredentials() { //First off, let's make sure that this.open() has already been called. //If not we return to prevent deadlock. if (!isValid) return null; //Construct request of mehtod execution. final SplashScreenFuture future = new SplashScreenFuture(); Runnab... | public UserCredentials getUserCredentials() { //First off, let's make sure that this.open() has already been called. //If not we return to prevent deadlock. if (!isValid) return null; //Construct request of mehtod execution. final SplashScreenFuture future = new SplashScreenFuture(); Runnab... | 3,236,807 |
public UserCredentials getUserCredentials() { //First off, let's make sure that this.open() has already been called. //If not we return to prevent deadlock. if (!isValid) return null; //Construct request of mehtod execution. final SplashScreenFuture future = new SplashScreenFuture(); Runnab... | public UserCredentials getUserCredentials() { //First off, let's make sure that this.open() has already been called. //If not we return to prevent deadlock. if (!isValid) return null; //Construct request of mehtod execution. final SplashScreenFuture future = new SplashScreenFuture(); Runnab... | 3,236,808 |
public void run() { servant.collectUserCredentials(future); } | public void run() { servant.collectUserCredentials(future); } | 3,236,809 |
private void generateClassList(Package pkg) throws IOException { String filename; Collection classes; if (pkg == null) { filename = "frame-classes.html"; classes = coverage.getClassesSortedByBasename().values(); } else { filename = "frame-classes-" + pkg.getName() + ".html"; classes = pkg.getClasses(); ... | private void generateClassList(Package pkg) throws IOException { String filename; Collection classes; if (pkg == null) { filename = "frame-classes.html"; classes = coverage.getClassesSortedByBasename().values(); } else { filename = "frame-classes-" + pkg.getName() + ".html"; classes = pkg.getClasses(); ... | 3,236,810 |
private void generateOverview(Package pkg) throws IOException { String filename; if (pkg == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + pkg.getName() + ".html"; } File file = new File(outputDir, filename); PrintStream out = null; try { out = new PrintStream(new File... | private void generateOverview(Package pkg) throws IOException { String filename; if (pkg == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + pkg.getName() + ".html"; } File file = new File(outputDir, filename); PrintStream out = null; try { out = new PrintStream(new File... | 3,236,811 |
private void generateOverview(Package pkg) throws IOException { String filename; if (pkg == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + pkg.getName() + ".html"; } File file = new File(outputDir, filename); PrintStream out = null; try { out = new PrintStream(new File... | privatevoidgenerateOverview(Packagepkg)throwsIOException { Stringfilename; if(pkg==null) { filename="frame-summary.html"; } else { filename="frame-summary-"+pkg.getName()+".html"; } Filefile=newFile(outputDir,filename); PrintStreamout=null; try { out=newPrintStream(newFileOutputStream(file)); out.pr... | 3,236,812 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.