bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void handleResult(Object result) { if (viewer.getState() == HiViewer.DISCARDED) return; //Async cancel. viewer.setHierarchyRoots((Set) result, false); }
public void handleResult(Object result) { if (viewer.getState() == HiViewer.DISCARDED) return; //Async cancel. viewer.setHierarchyRoots((Set) result, false, refresh); }
3,234,075
public IRubyObject initialize(IRubyObject[] args) { if (checkArgumentCount(args, 0, 2) > 0) { scanner = new StringScanner(((RubyString)args[0]).getValue()); } else { scanner = new StringScanner(); } return this; }
public IRubyObject initialize(IRubyObject[] args) { if (checkArgumentCount(args, 0, 2) > 0) { scanner = new StringScanner(((RubyString)args[0]).getValue()); } else { scanner = new StringScanner(); } return this; }
3,234,076
private void define_instance_method_for_proxy(final RubyClass proxy, List names, final RubyArray methods) { final RubyModule javaUtilities = getRuntime().getModule("JavaUtilities"); Callback method = new Callback() { public IRubyObject execute(IRubyObject self, IRubyObject[] arg...
private void define_instance_method_for_proxy(final RubyClass proxy, List names, final RubyArray methods) { final RubyModule javaUtilities = getRuntime().getModule("JavaUtilities"); Callback method = new Callback() { public IRubyObject execute(IRubyObject self, IRubyObject[] arg...
3,234,077
public void log(Date date, String name, String level, String message, Exception e) { synchronized(_args) { _args[0] = date; _args[1] = name; _args[2] = level; _args[3] = message; if (e == null) _servletContext.log(_mf.format(_args)); else _...
public void log(Date date, String name, String level, String message, Exception e) { synchronized(_args) { _args[0] = date; _args[1] = name; _args[2] = level; _args[3] = message; if (e == null) _servletContext.log(_mf.format(_args)); else _...
3,234,079
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E...
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); Str...
3,234,080
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E...
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E...
3,234,081
private void buildEmptyPanel() { if (emptyMessagePanel != null) return; emptyMessagePanel = new JPanel(); emptyMessagePanel.setOpaque(true); emptyMessagePanel.setBorder( BorderFactory.createLineBorder(Color.BLACK)); Rectangle r = titlePanel.getBounds(...
private void buildEmptyPanel() { if (emptyMessagePanel != null) return; emptyMessagePanel = new JPanel(); emptyMessagePanel.setOpaque(true); emptyMessagePanel.setBorder( BorderFactory.createLineBorder(Color.BLACK)); Rectangle r = titlePanel.getBounds(...
3,234,082
private byte[] getTestPlane() { if (testPlane == null) { Integer planeSize = pixbuf.getPlaneSize(); testPlane = new byte[planeSize.intValue()]; for (int i = 0; i < planeSize; i++) { if (i % 2 == 0) testPlane[i...
private byte[] getTestPlane() { if (testPlane == null) { Integer planeSize = pixbuf.getPlaneSize(); testPlane = new byte[planeSize.intValue()]; for (int i = 0; i < planeSize; i++) { if (i % 2 == 0) testPlane[i...
3,234,083
protected void setUp() throws IOException { // Create set up the base fixture which sets up the database for us baseFixture = new PixbufIOFixture(); pixels = baseFixture.setUp(); // "Our" fixture which creates the planes needed for this test case. service = new PixelsSe...
protected void setUp() throws IOException { // Create set up the base fixture which sets up the database for us baseFixture = new PixbufIOFixture(); pixels = baseFixture.setUp(); // "Our" fixture which creates the planes needed for this test case. service = new PixelsSe...
3,234,084
public ContactList() { // Load Local Preferences localPreferences = SettingsManager.getLocalPreferences(); offlineGroup = new ContactGroup("Offline Group"); JToolBar toolbar = new JToolBar(); toolbar.setFloatable(false); addContactMenu = new JMenuItem(Res.getString("menuite...
public ContactList() { // Load Local Preferences localPreferences = SettingsManager.getLocalPreferences(); offlineGroup = new ContactGroup("Offline Group"); JToolBar toolbar = new JToolBar(); toolbar.setFloatable(false); addContactMenu = new JMenuItem(Res.getString("menuite...
3,234,085
public void actionPerformed(ActionEvent evt) { searchContacts(""); }
public void actionPerformed(ActionEvent evt) { SparkManager.getUserManager().searchContacts("", SparkManager.getWorkspace().getContactList()); }
3,234,086
public void actionPerformed(ActionEvent e) { if (e.getSource() == addingGroupButton) { new RosterDialog().showRosterDialog(); } else if (e.getSource() == chatMenu) { if (activeItem != null) { activateChat(activeItem.getContactJID(), activeItem.getNickname())...
public void actionPerformed(ActionEvent e) { if (e.getSource() == addingGroupButton) { new RosterDialog().showRosterDialog(); } else if (e.getSource() == chatMenu) { if (activeItem != null) { SparkManager.getChatManager().activateChat(activeItem.getContactJI...
3,234,087
public void actionPerformed(ActionEvent e) { new RosterDialog().showRosterDialog(); }
public void actionPerformed(ActionEvent e) { String groupName = JOptionPane.showInputDialog(getGUI(), Res.getString("message.name.of.group") + ":", Res.getString("title.add.new.group"), JOptionPane.QUESTION_MESSAGE); if (ModelUtil.hasLength(groupName)) { ContactGroup contactGroup = getContact...
3,234,088
public void actionPerformed(ActionEvent e) { String groupName = JOptionPane.showInputDialog(getGUI(), Res.getString("message.name.of.group") + ":", Res.getString("title.add.new.group"), JOptionPane.QUESTION_MESSAGE); if (ModelUtil.hasLength(groupName)) { Cont...
public void actionPerformed(ActionEvent e) { String groupName = JOptionPane.showInputDialog(getGUI(), Res.getString("message.name.of.group") + ":", Res.getString("title.add.new.group"), JOptionPane.QUESTION_MESSAGE); if (ModelUtil.hasLength(groupName)) { Cont...
3,234,089
public void run() { subscriptionRequest(presence.getFrom()); }
public void run() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(presence.getFrom()); if (entry != null) { try { removeContactItem(presence.getFrom()); roster.removeEntry(entry); } catch (XMPPException e) { Presence unsu...
3,234,090
public void run() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(presence.getFrom()); if (entry != null) { try { ...
public void run() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(presence.getFrom()); if (entry != null) { try { ...
3,234,091
public void run() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(presence.getFrom()); if (entry != null) { try { ...
public void run() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(presence.getFrom()); if (entry != null) { try { ...
3,234,093
public void run() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(presence.getFrom()); if (entry != null) { try { ...
public void run() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(presence.getFrom()); if (entry != null) { try { ...
3,234,094
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final Iterator users = new ArrayList(initialPresences).iterator(); while (users.hasN...
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final Iterator users = new ArrayList(initialPresences).iterator(); while (users.hasN...
3,234,095
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final Iterator users = new ArrayList(initialPresences).iterator(); while (users.hasN...
public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { final Iterator users = new ArrayList(initialPresences).iterator(); while (users.hasN...
3,234,096
private void buildContactList() { XMPPConnection con = SparkManager.getConnection(); final Roster roster = con.getRoster(); roster.addRosterListener(this); for (RosterGroup group : roster.getGroups()) { ContactGroup contactGroup = addContactGroup(group.getName()); f...
private void buildContactList() { XMPPConnection con = SparkManager.getConnection(); final Roster roster = con.getRoster(); roster.addRosterListener(this); for (RosterGroup group : roster.getGroups()) { ContactGroup contactGroup = addContactGroup(group.getName()); f...
3,234,097
public void actionPerformed(ActionEvent e) { int ok = JOptionPane.showConfirmDialog(group, Res.getString("message.delete.confirmation", group.getGroupName()), Res.getString("title.confirmation"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (ok == JOptionPane.YE...
public void actionPerformed(ActionEvent e) { int ok = JOptionPane.showConfirmDialog(group, Res.getString("message.delete.confirmation", group.getGroupName()), Res.getString("title.confirmation"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (ok == JOptionPane.YE...
3,234,098
public void actionPerformed(ActionEvent e) { int ok = JOptionPane.showConfirmDialog(group, Res.getString("message.delete.confirmation", group.getGroupName()), Res.getString("title.confirmation"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (ok == JOptionPane.YE...
public void actionPerformed(ActionEvent e) { int ok = JOptionPane.showConfirmDialog(group, Res.getString("message.delete.confirmation", group.getGroupName()), Res.getString("title.confirmation"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (ok == JOptionPane.YE...
3,234,099
public void actionPerformed(ActionEvent e) { int ok = JOptionPane.showConfirmDialog(group, Res.getString("message.delete.confirmation", group.getGroupName()), Res.getString("title.confirmation"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (ok == JOptionPane.YE...
public void actionPerformed(ActionEvent e) { int ok = JOptionPane.showConfirmDialog(group, Res.getString("message.delete.confirmation", group.getGroupName()), Res.getString("title.confirmation"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (ok == JOptionPane.YE...
3,234,100
public void actionPerformed(ActionEvent e) { String newName = JOptionPane.showInputDialog(group, Res.getString("label.rename.to") + ":", Res.getString("title.rename.roster.group"), JOptionPane.QUESTION_MESSAGE); if (!ModelUtil.hasLength(newName)) { return; ...
public void actionPerformed(ActionEvent e) { String newName = JOptionPane.showInputDialog(group, Res.getString("label.rename.to") + ":", Res.getString("title.rename.roster.group"), JOptionPane.QUESTION_MESSAGE); if (!ModelUtil.hasLength(newName)) { return; ...
3,234,101
public void contactItemDoubleClicked(ContactItem item) { activeItem = item; ChatManager chatManager = SparkManager.getChatManager(); boolean handled = chatManager.fireContactItemDoubleClicked(item); if (!handled) { activateChat(item.getContactJID(), item.getNickname()); ...
public void contactItemDoubleClicked(ContactItem item) { activeItem = item; ChatManager chatManager = SparkManager.getChatManager(); boolean handled = chatManager.fireContactItemDoubleClicked(item); if (!handled) { chatManager.activateChat(item.getContactJID(), item.getNicknam...
3,234,102
private synchronized void handleEntriesUpdated(final Collection addresses) { SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasN...
private synchronized void handleEntriesUpdated(final Collection addresses) { SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasN...
3,234,103
public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ...
public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ...
3,234,104
public void actionPerformed(ActionEvent actionEvent) { SparkManager.getTransferManager().sendFileTo(item); }
public void actionPerformed(ActionEvent actionEvent) { SparkManager.getTransferManager().sendFileTo(item); }
3,234,105
public void actionPerformed(ActionEvent e) { removeContactFromRoster(item); }
public void actionPerformed(ActionEvent e) { VCardManager vcardSupport = SparkManager.getVCardManager(); String jid = item.getFullJID(); vcardSupport.viewProfile(jid, SparkManager.getWorkspace()); }
3,234,106
public void actionPerformed(ActionEvent e) { VCardManager vcardSupport = SparkManager.getVCardManager(); String jid = item.getFullJID(); vcardSupport.viewProfile(jid, SparkManager.getWorkspace()); }
public void actionPerformed(ActionEvent e) { VCardManager vcardSupport = SparkManager.getVCardManager(); String jid = item.getFullJID(); vcardSupport.viewProfile(jid, SparkManager.getWorkspace()); }
3,234,107
public void actionPerformed(ActionEvent actionEvent) { try { LastActivity activity = LastActivity.getLastActivity(SparkManager.getConnection(), item.getFullJID()); long idleTime = (activity.getIdleTime() * 1000); String time = ModelUtil...
public void actionPerformed(ActionEvent actionEvent) { try { LastActivity activity = LastActivity.getLastActivity(SparkManager.getConnection(), item.getFullJID()); long idleTime = (activity.getIdleTime() * 1000); String time = ModelUtil...
3,234,108
public void actionPerformed(ActionEvent e) { String jid = item.getFullJID(); Presence response = new Presence(Presence.Type.subscribe); response.setTo(jid); SparkManager.getConnection().sendPacket(response); }
public void actionPerformed(ActionEvent e) { String jid = item.getFullJID(); Presence response = new Presence(Presence.Type.subscribe); response.setTo(jid); SparkManager.getConnection().sendPacket(response); }
3,234,110
public void actionPerformed(ActionEvent e) { SparkManager.getWorkspace().removeAlert(layoutPanel); Presence response = new Presence(Presence.Type.subscribed); response.setTo(jid); SparkManager.getConnection().sendPacket(response); in...
public void actionPerformed(ActionEvent e) { SparkManager.getWorkspace().removeAlert(layoutPanel); Presence response = new Presence(Presence.Type.unsubscribe); response.setTo(jid); SparkManager.getConnection().sendPacket(response); ...
3,234,111
public void actionPerformed(ActionEvent e) { SparkManager.getWorkspace().removeAlert(layoutPanel); Presence response = new Presence(Presence.Type.subscribed); response.setTo(jid); SparkManager.getConnection().sendPacket(response); in...
publicvoidactionPerformed(ActionEvente){SparkManager.getWorkspace().removeAlert(layoutPanel);Presenceresponse=newPresence(Presence.Type.subscribed);response.setTo(jid);SparkManager.getConnection().sendPacket(response);intok=JOptionPane.showConfirmDialog(getGUI(),Res.getString("message.add.user"),Res.getString("message....
3,234,112
public void actionPerformed(ActionEvent e) { SparkManager.getWorkspace().removeAlert(layoutPanel); Presence response = new Presence(Presence.Type.subscribed); response.setTo(jid); SparkManager.getConnection().sendPacket(response); in...
public void actionPerformed(ActionEvent e) { SparkManager.getWorkspace().removeAlert(layoutPanel); Presence response = new Presence(Presence.Type.subscribed); response.setTo(jid); SparkManager.getConnection().sendPacket(response); in...
3,234,113
public void actionPerformed(ActionEvent e) { SparkManager.getWorkspace().removeAlert(layoutPanel); // Send subscribed Presence response = new Presence(Presence.Type.unsubscribe); response.setTo(jid); SparkManager.getConnection().send...
public void actionPerformed(ActionEvent e) { SparkManager.getWorkspace().removeAlert(layoutPanel); // Send subscribed Presence response = new Presence(Presence.Type.unsubscribe); response.setTo(jid); SparkManager.getConnection().send...
3,234,114
private void updateUserPresence(Presence presence) { if (presence == null) { return; } Roster roster = SparkManager.getConnection().getRoster(); final String bareJID = StringUtils.parseBareAddress(presence.getFrom()); RosterEntry entry = roster.getEntry(bareJID); ...
private void updateUserPresence(Presence presence) { if (presence == null) { return; } Roster roster = SparkManager.getConnection().getRoster(); final String bareJID = StringUtils.parseBareAddress(presence.getFrom()); RosterEntry entry = roster.getEntry(bareJID); ...
3,234,115
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,234,116
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,234,117
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,234,118
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,234,122
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...
privatevoidfinishModuleTargetLink(ModuleLinkTargetn){ //first,ifinputandoutputarethesame,barf. if(n.getModuleView()==moduleLinkOriginTarget.getModuleView()){ showSelfLinkError(); cancelModuleTargetLink(); return; } elseif(n.isInputLinkTarget()&& moduleLinkOriginTarget.isInputLinkTarget()){ canvas.setSt...
3,234,123
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...
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...
3,234,124
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...
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...
3,234,125
public void mouseExited(PInputEvent e) { PNode node = e.getPickedNode(); //System.err.println("exiting..."+node); lastParameterEntered = null; //System.err.println("last parameter entered cleared"); if (node instanceof FormalParameter) { FormalParameter param = (FormalParameter) node; if (linkState == NOT_LIN...
publicvoidmouseExited(PInputEvente){ PNodenode=e.getPickedNode(); //System.err.println("exiting..."+node); lastParameterEntered=null; //System.err.println("lastparameterenteredcleared"); if(nodeinstanceofFormalParameter){ FormalParameterparam=(FormalParameter)node; if(linkState==NOT_LINKING){ param.setPar...
3,234,126
public void mouseExited(PInputEvent e) { PNode node = e.getPickedNode(); //System.err.println("exiting..."+node); lastParameterEntered = null; //System.err.println("last parameter entered cleared"); if (node instanceof FormalParameter) { FormalParameter param = (FormalParameter) node; if (linkState == NOT_LIN...
public void mouseExited(PInputEvent e) { PNode node = e.getPickedNode(); //System.err.println("exiting..."+node); lastParameterEntered = null; //System.err.println("last parameter entered cleared"); if (node instanceof FormalParameter) { FormalParameter param = (FormalParameter) node; if (linkState == NOT_LIN...
3,234,127
private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); //System.err.println("on node..."+n); if (e.getClickCount() ==2) { cancelModuleTargetLink(); //System.err.println("mouse pressed linking param...
privatevoidmousePressedLinkingModuleTargets(PNodenode,PInputEvente){ //System.err.println("mousepressedlinkingmoduletargets"+e); PNoden=e.getPickedNode(); //System.err.println("onnode..."+n); if(e.getClickCount()==2){ cancelModuleTargetLink(); //System.err.println("mousepressedlinkingparams.settingtolinkingcan...
3,234,128
private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); //System.err.println("on node..."+n); if (e.getClickCount() ==2) { cancelModuleTargetLink(); //System.err.println("mouse pressed linking param...
privatevoidmousePressedLinkingModuleTargets(PNodenode,PInputEvente){ //System.err.println("mousepressedlinkingmoduletargets"+e); PNoden=e.getPickedNode(); //System.err.println("onnode..."+n); if(e.getClickCount()==2){ cancelModuleTargetLink(); //System.err.println("mousepressedlinkingparams.settingtolinkingcan...
3,234,129
private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) { //System.err.println("mouse pressed linking module targets "+e); PNode n = e.getPickedNode(); //System.err.println("on node..."+n); if (e.getClickCount() ==2) { cancelModuleTargetLink(); //System.err.println("mouse pressed linking param...
privatevoidmousePressedLinkingModuleTargets(PNodenode,PInputEvente){ //System.err.println("mousepressedlinkingmoduletargets"+e); PNoden=e.getPickedNode(); //System.err.println("onnode..."+n); if(e.getClickCount()==2){ cancelModuleTargetLink(); //System.err.println("mousepressedlinkingparams.settingtolinkingcan...
3,234,130
ClassifierView() { super(); setProperties(); }
ClassifierView() { super(ClassifierFactory.getOwner()); setProperties(); }
3,234,132
public String[][] getLockChecks( Class<? extends IObject> klass ) { if ( klass == null ) throw new ApiUsageException( "Cannot proceed with null klass." ); Holder h = classNameHolder.get( klass.getName() ); if ( h == null ) throw new ApiUsageException( "Metadata not found for: " +klass.getName()); re...
public String[][] getLockChecks( Class<? extends IObject> klass ) { if ( klass == null ) throw new ApiUsageException( "Cannot proceed with null klass." ); Holder h = classNameHolder.get( klass.getName() ); if ( h == null ) throw new ApiUsageException( "Metadata not found for: " +klass.getName()); re...
3,234,133
public String[][] getLockChecks( Class<? extends IObject> klass ) { if ( klass == null ) throw new ApiUsageException( "Cannot proceed with null klass." ); Holder h = classNameHolder.get( klass.getName() ); if ( h == null ) throw new ApiUsageException( "Metadata not found for: " +klass.getName()); re...
public String[][] getLockChecks( Class<? extends IObject> klass ) { if ( klass == null ) throw new ApiUsageException( "Cannot proceed with null klass." ); Holder h = classNameHolder.get( klass.getName() ); if ( h == null ) throw new ApiUsageException( "Metadata not found for: " +klass.getName()); re...
3,234,134
public String[][] getLockChecks( Class<? extends IObject> klass ) { if ( klass == null ) throw new ApiUsageException( "Cannot proceed with null klass." ); Holder h = classNameHolder.get( klass.getName() ); if ( h == null ) throw new ApiUsageException( "Metadata not found for: " +klass.getName()); re...
public String[][] getLockChecks( Class<? extends IObject> klass ) { if ( klass == null ) throw new ApiUsageException( "Cannot proceed with null klass." ); Holder h = classNameHolder.get( klass.getName() ); if ( h == null ) throw new ApiUsageException( "Metadata not found for: " +klass.getName()); re...
3,234,135
public RubyArray nesting() { IRuby runtime = getRuntime(); RubyModule object = runtime.getObject(); RubyModule receiver = runtime.getCurrentContext().getLastRubyClass(); RubyArray result = runtime.newArray(); for (RubyModule current = receiver; current != object; current = current.getP...
public RubyArray nesting() { IRuby runtime = getRuntime(); RubyModule object = runtime.getObject(); SinglyLinkedList base = runtime.getCurrentContext().peekCRef(); RubyArray result = runtime.newArray(); for (RubyModule current = receiver; current != object; current = current.getParent(...
3,234,136
public RubyArray nesting() { IRuby runtime = getRuntime(); RubyModule object = runtime.getObject(); RubyModule receiver = runtime.getCurrentContext().getLastRubyClass(); RubyArray result = runtime.newArray(); for (RubyModule current = receiver; current != object; current = current.getP...
public RubyArray nesting() { IRuby runtime = getRuntime(); RubyModule object = runtime.getObject(); RubyModule receiver = runtime.getCurrentContext().getLastRubyClass(); RubyArray result = runtime.newArray(); for (RubyModule current = receiver; current != object; current = current.getP...
3,234,137
private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ...
private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ...
3,234,138
XYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(data, pDef, sizeX, sizeY, bytesPerPixel, strategy); }
XYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(data, pDef, sizeX, sizeY, bytesPerPixel, strategy); }
3,234,141
XYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(data, pDef, sizeX, sizeY, bytesPerPixel, strategy); }
XYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(data, pDef, sizeX, sizeY, bytesPerPixel, strategy); }
3,234,142
private boolean hasNewLocalVariables(IRubyParserResult result) { int newSize = 0; if (result.getLocalVariables() != null) { newSize = result.getLocalVariables().size(); } int oldSize = 0; if (runtime.getScope().getLocalNames() != null) { oldSize = runtime.get...
private boolean hasNewLocalVariables(IRubyParserResult result) { int newSize = 0; if (result.getLocalVariables() != null) { newSize = result.getLocalVariables().size(); } int oldSize = 0; if (runtime.getScope().hasLocalVariables()) { oldSize = runtime.getScop...
3,234,143
public final void write(FastWriter out, Context data) throws IOException { try { if (_content == null) { parse(); } } catch (Exception e) { _log.error("Template: Unable to read template: " + this, e); out.write("<!--\n Template failed to read. Reason: "...
public final void write(FastWriter out, Context data) throws IOException { try { if (_content == null) { parse(); } } catch (Exception e) { _log.error("Template: Unable to read template: " + this, e); out.write("<!--\n Template failed to read. Reason: "...
3,234,144
public final void write(FastWriter out, Context data) throws IOException { try { if (_content == null) { parse(); } } catch (Exception e) { _log.error("Template: Unable to read template: " + this, e); out.write("<!--\n Template failed to read. Reason: "...
public final void write(FastWriter out, Context data) throws IOException { try { if (_content == null) { parse(); } } catch (Exception e) { _log.error("Template: Unable to read template: " + this, e); out.write("<!--\n Template failed to read. Reason: "...
3,234,145
public void closeActiveRoom() { ChatRoom room = null; try { room = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { // AgentLog.logError("Chat room not found", e1); } // Confirm end session boolean isGroupChat = room.getChatType() =...
public void closeActiveRoom() { ChatRoom room = null; try { room = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { // AgentLog.logError("Chat room not found", e1); } // Confirm end session boolean isGroupChat = room.getChatType() =...
3,234,146
public void closeActiveRoom() { ChatRoom room = null; try { room = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { // AgentLog.logError("Chat room not found", e1); } // Confirm end session boolean isGroupChat = room.getChatType() =...
public void closeActiveRoom() { ChatRoom room = null; try { room = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { // AgentLog.logError("Chat room not found", e1); } // Confirm end session boolean isGroupChat = room.getChatType() =...
3,234,147
public ExtendedMetadata( SessionFactory sessionFactory ) { if ( sessionFactory == null ) throw new ApiUsageException( "SessionFactory may not be null." ); Map<String,ClassMetadata> m = sessionFactory.getAllClassMetadata(); for (String key : m.keySet()) { ClassMetadata cm = m.get(key); Type[] types = ...
public ExtendedMetadata( SessionFactory sessionFactory ) { if ( sessionFactory == null ) throw new ApiUsageException( "SessionFactory may not be null." ); Map<String,ClassMetadata> m = sessionFactory.getAllClassMetadata(); for (String key : m.keySet()) { ClassMetadata cm = m.get(key); Type[] types = ...
3,234,149
private JPanel buildBody() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); p.add(classifierUI); p.add(new JSeparator()); p.add(buildToolBar()); return p; }
private JPanel buildBody() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); p.add(classifierUI); p.add(new JSeparator()); JPanel bars = new JPanel(); bars.setLayout(new BoxLayout(bars, BoxLayout.X_AXIS));...
3,234,151
public void addClassData(ClassData classData) { if (children.containsKey(classData.getBaseName())) throw new IllegalArgumentException("Source file " + this.name + " already contains a class with the name " + classData.getBaseName()); // Each key is a class basename, stored as an String object. // Each val...
public void addClassData(ClassData classData) { if (children.containsKey(classData.getBaseName())) throw new IllegalArgumentException("Source file " + this.name + " already contains a class with the name " + classData.getBaseName()); // Each key is a class basename, stored as an String object. // Each val...
3,234,154
protected void onStateChange() { int state = model.getState(); if (state == Browser.READY) { //if (model.getBrowserType() == Browser.IMAGES_EXPLORER) setEnabled(true); // else onDisplayChange(model.getLastSelectedDisplay()); } else setEnabled(false); }
protected void onStateChange() { int state = model.getState(); if (state == Browser.READY) { //if (model.getBrowserType() == Browser.IMAGES_EXPLORER) setEnabled(true); // else onDisplayChange(model.getLastSelectedDisplay()); } else setEnabled(false); }
3,234,155
private void beforeUpdate( Object argument, UpdateFilter filter ) { if ( argument == null ) throw new IllegalArgumentException( "Argument to save cannot be null."); if ( logger.isDebugEnabled() ) logger.debug( " Saving event before merge. " ); ...
private void beforeUpdate( Object argument, UpdateFilter filter ) { if ( argument == null ) throw new IllegalArgumentException( "Argument to save cannot be null."); if ( logger.isDebugEnabled() ) logger.debug( " Saving event before merge. " ); ...
3,234,156
private <T> T doAction( T graph, UpdateAction<T> action ) { T retVal; UpdateFilter filter = new UpdateFilter( securitySystem, localQuery ); Event currentEvent = securitySystem.getCurrentEvent(); try { beforeUpdate( graph, filter ); retVal = action.run( graph, filt...
private <T> T doAction( T graph, UpdateAction<T> action ) { T retVal; UpdateFilter filter = new UpdateFilter( ); Event currentEvent = securitySystem.getCurrentEvent(); try { beforeUpdate( graph, filter ); retVal = action.run( graph, filter ); afterUpdate( ...
3,234,157
private void buildGUI() { setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10)); GridBagLayout gridbag = new GridBagLayout(); setLayout(gridbag); GridBagConstraints c = new GridBagConstraints(); JLabel label = new JLabel(" Wavelength"); c.ipadx = RenderingAgt.H_SPACE; c.weightx = 0.5; c.gridx = 0; c.gridy...
private void buildGUI() { setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10)); GridBagLayout gridbag = new GridBagLayout(); setLayout(gridbag); GridBagConstraints c = new GridBagConstraints(); JLabel label = new JLabel(" Wavelength"); c.ipadx = RenderingAgt.H_SPACE; c.weightx = 0.5; c.gridx = 0; c.gridy...
3,234,158
private JPanel buildSliderPanel(JSlider slider) { JPanel p = new JPanel(); //p.setLayout(null); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); //slider.setPreferredSize(DIM_SLIDER); //slider.setSize(DIM_SLIDER); //p.setPreferredSize(DIM_SLIDER); //p.setSize(DIM_SLIDER); p.add(slider); return p; }
private JPanel buildSliderPanel(JSlider slider) { JPanel p = new JPanel(); //p.setLayout(null); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); //slider.setPreferredSize(DIM_SLIDER); //slider.setSize(DIM_SLIDER); //p.setPreferredSize(DIM_SLIDER); //p.setSize(DIM_SLIDER); p.add(slider); return p; }
3,234,159
private void initButton(Registry registry) { IconManager IM = IconManager.getInstance(registry); histogram = new JButton(IM.getIcon(IconManager.HISTOGRAM)); histogram.setToolTipText( UIUtilities.formatToolTipText("Bring the histogram dialog.")); histogram.setBorder(null); }
private void initButton(Registry registry) { IconManager IM = IconManager.getInstance(registry); histogram = new JButton(IM.getIcon(IconManager.HISTOGRAM)); histogram.setToolTipText( UIUtilities.formatToolTipText("Bring the histogram dialog.")); histogram.setBorder(null); }
3,234,160
private void initLabel() { gammaLabel = new JLabel(" Gamma: "+qDef.curveCoefficient); }
private void initLabel() { gammaLabel = new JLabel(" Gamma: "+qDef.curveCoefficient); }
3,234,161
private void initSliders() { int k = (int) (qDef.curveCoefficient*10); gamma = new JSlider(JSlider.HORIZONTAL, MIN, MAX, k); if (qDef.family == QuantumFactory.LINEAR || qDef.family == QuantumFactory.LOGARITHMIC) gamma.setEnabled(false); else gamma.setEnabled(true); Integer br = ((Integer) uiBR.get(new Integ...
private void initSliders() { int k = (int) (qDef.curveCoefficient*10); gamma = new JSlider(JSlider.HORIZONTAL, MIN, MAX, k); if (qDef.family == QuantumFactory.LINEAR || qDef.family == QuantumFactory.LOGARITHMIC) gamma.setEnabled(false); else gamma.setEnabled(true); Integer br = ((Integer) uiBR.get(new Integ...
3,234,162
void setGammaText(double v) { String txt = " Gamma: "+v; gammaLabel.setText(txt); }
void setGammaText(double v) { String txt = " Gamma: "+v; gammaLabel.setText(txt); }
3,234,163
public static RubySymbol unmarshalFrom(UnmarshalStream input) throws java.io.IOException { return RubySymbol.newSymbol(input.getRuntime(), input.unmarshalString()); }
public static RubySymbol unmarshalFrom(UnmarshalStream input) throws java.io.IOException { RubySymbol result = RubySymbol.newSymbol(input.getRuntime(), input.unmarshalString()); input.register(result); return result; }
3,234,164
static Pattern createCaseInsensitivePattern(String regEx) { return Pattern.compile(regEx, Pattern.CASE_INSENSITIVE); }
public static Pattern createCaseInsensitivePattern(String regEx) { return Pattern.compile(regEx, Pattern.CASE_INSENSITIVE); }
3,234,165
public static RubyFixnum unmarshalFrom(UnmarshalStream input) throws java.io.IOException { return RubyFixnum.newFixnum(input.getRuby(), input.unmarshalInt()); }
public static RubyFixnum unmarshalFrom(UnmarshalStream input) throws java.io.IOException { return RubyFixnum.newFixnum(input.getRuntime(), input.unmarshalInt()); }
3,234,166
private void buildGUI() { setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED)); add(properties); add(annotate); add(createClassifySubMenu()); add(new JSeparator(SwingConstants.HORIZONTAL)); add(view); add(zoomIn); add(zoomOut); add(zoomFit...
private void buildGUI() { setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED)); add(properties); add(annotate); add(createClassifySubMenu()); add(new JSeparator(SwingConstants.HORIZONTAL)); add(view); add(zoomIn); add(zoomOut); add(zoomFit...
3,234,167
protected String createDiscoveryPathName(String uri, String localName) { if (uri == null || uri.length() == 0) { return localName; } // TODO proper encoding required // lets replace any dodgy characters return uri.replaceAll("://", "/").replace(':', '/').replace(' ', '_...
protected String createDiscoveryPathName(String uri, String localName) { if (uri == null || uri.length() == 0) { return localName; } // TODO proper encoding required // lets replace any dodgy characters return uri.replaceAll("://", "/").replace(':', '/').replace(' ', '_...
3,234,168
protected MappingMetaData findNamespaceProperties(String namespaceURI, String localName) { // lets look for the magic prefix if (namespaceURI != null && namespaceURI.startsWith(JAVA_PACKAGE_PREFIX)) { String packageName = namespaceURI.substring(JAVA_PACKAGE_PREFIX.length()); retu...
protected MappingMetaData findNamespaceProperties(String namespaceURI, String localName) { // lets look for the magic prefix if (namespaceURI != null && namespaceURI.startsWith(JAVA_PACKAGE_PREFIX)) { String packageName = namespaceURI.substring(JAVA_PACKAGE_PREFIX.length()); retu...
3,234,169
protected MappingMetaData findNamespaceProperties(String namespaceURI, String localName) { // lets look for the magic prefix if (namespaceURI != null && namespaceURI.startsWith(JAVA_PACKAGE_PREFIX)) { String packageName = namespaceURI.substring(JAVA_PACKAGE_PREFIX.length()); retu...
protected MappingMetaData findNamespaceProperties(String namespaceURI, String localName) { // lets look for the magic prefix if (namespaceURI != null && namespaceURI.startsWith(JAVA_PACKAGE_PREFIX)) { String packageName = namespaceURI.substring(JAVA_PACKAGE_PREFIX.length()); retu...
3,234,170
protected MappingMetaData findNamespaceProperties(String namespaceURI, String localName) { // lets look for the magic prefix if (namespaceURI != null && namespaceURI.startsWith(JAVA_PACKAGE_PREFIX)) { String packageName = namespaceURI.substring(JAVA_PACKAGE_PREFIX.length()); retu...
protected MappingMetaData findNamespaceProperties(String namespaceURI, String localName) { // lets look for the magic prefix if (namespaceURI != null && namespaceURI.startsWith(JAVA_PACKAGE_PREFIX)) { String packageName = namespaceURI.substring(JAVA_PACKAGE_PREFIX.length()); retu...
3,234,171
protected int parseBeanDefinitions(Element root) throws BeanDefinitionStoreException { NodeList nl = root.getChildNodes(); int beanDefinitionCount = 0; for (int i = 0; i < nl.getLength(); i++) { Node node = nl.item(i); if (node instanceof Element) { Element ...
protected int parseBeanDefinitions(Element root) throws BeanDefinitionStoreException { NodeList nl = root.getChildNodes(); int beanDefinitionCount = 0; for (int i = 0; i < nl.getLength(); i++) { Node node = nl.item(i); if (node instanceof Element) { Element ...
3,234,172
PixelsStatsEntry[] getChannelStats(int w) { return eventManager.getChannelStats(w); }
PixelsStatsEntry[] getChannelStats(int w) { return eventManager.getChannelStats(w); }
3,234,173
int getChannelWindowEnd(int w) { return (int) eventManager.getChannelWindowEnd(w); }
int getChannelWindowEnd(int w) { return (int) eventManager.getChannelWindowEnd(w); }
3,234,174
int getChannelWindowStart(int w) { return (int) eventManager.getChannelWindowStart(w); }
int getChannelWindowStart(int w) { return (int) eventManager.getChannelWindowStart(w); }
3,234,175
int getGlobalChannelWindowEnd(int w) { return (int) eventManager.getGlobalChannelWindowEnd(w); }
int getGlobalChannelWindowEnd(int w) { return (int) eventManager.getGlobalChannelWindowEnd(w); }
3,234,176
int getGlobalChannelWindowStart(int w) { return (int) eventManager.getGlobalChannelWindowStart(w); }
int getGlobalChannelWindowStart(int w) { return (int) eventManager.getGlobalChannelWindowStart(w); }
3,234,177
void setChannelWindowEnd(int value) { int w = view.getDomainPane().getWavelengths().getSelectedIndex(); eventManager.setChannelWindowEnd(w, value); }
void setChannelWindowEnd(int value) { int w = view.getDomainPane().getWavelengths().getSelectedIndex(); eventManager.setChannelWindowEnd(w, value); }
3,234,178
void setChannelWindowStart(int value) { int w = view.getDomainPane().getWavelengths().getSelectedIndex(); eventManager.setChannelWindowStart(w, value); }
void setChannelWindowStart(int value) { int w = view.getDomainPane().getWavelengths().getSelectedIndex(); eventManager.setChannelWindowStart(w, value); }
3,234,179
void setCodomainMap(CodomainMapContext ctx, boolean selected, int id) { if (id == CodomainPaneManager.RI) updateGraphic(selected); if (selected) eventManager.addCodomainMap(ctx); else eventManager.removeCodomainMap(ctx); }
void setCodomainMap(CodomainMapContext ctx, boolean selected, int id) { if (id == CodomainPaneManager.RI) updateGraphic(selected); if (selected) eventManager.addCodomainMap(ctx); else eventManager.removeCodomainMap(ctx); }
3,234,180
void setQuantumStrategy(double k, int family, int resolution, int id) { if (id == DomainPaneManager.FAMILY) updateGraphic(family); else if (id == DomainPaneManager.GAMMA) updateGraphic((int) (k*10), family); //for graphic *10 eventManager.setQuantumStrategy(k, family, resolution); }
void setQuantumStrategy(double k, int family, int resolution, int id) { if (id == DomainPaneManager.FAMILY) updateGraphic(family); else if (id == DomainPaneManager.GAMMA) updateGraphic((int) (k*10), family); //for graphic *10 eventManager.setQuantumStrategy(k, family, resolution); }
3,234,181
void setWavelength(int w) { view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(w); int maxi = (int) eventManager.getGlobalChannelWindowEnd(w); int s = (int) eventManager.getChannelWindowStart(w); int e = ...
void setWavelength(int w) { view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(w); int maxi = (int) eventManager.getGlobalChannelWindowEnd(w); int s = (int) eventManager.getChannelWindowStart(w); int e = ...
3,234,182
void updateCodomainMap(CodomainMapContext ctx) { eventManager.updateCodomainMap(ctx); }
void updateCodomainMap(CodomainMapContext ctx) { eventManager.updateCodomainMap(ctx); }
3,234,183
private void updateGraphic(int coefficient, int family) { if (family == QuantumFactory.POLYNOMIAL) view.getGRepresentation().setControlLocation(coefficient); else if (family == QuantumFactory.EXPONENTIAL) view.getGRepresentation().setControlAndEndLocation(coefficient); }
private void updateGraphic(int coefficient, int family) { if (family == QuantumFactory.POLYNOMIAL) view.getGRepresentation().setControlLocation(coefficient); else if (family == QuantumFactory.EXPONENTIAL) view.getGRepresentation().setControlAndEndLocation(coefficient); }
3,234,184
void disposeDialogs() { if (histogramDialog != null) histogramDialog.dispose(); histogramDialog = null; }
void disposeDialogs() { if (histogramDialog != null) histogramDialog.dispose(); histogramDialog = null; }
3,234,185
void resetDefaults() { resetDefaultGamma(); resetDefaultBitResolution(); resetDefaultComboBox(view.getTransformations(), QuantumFactory.LINEAR); resetDefaultComboBox(view.getWavelengths(), 0); histogramDialog = null; }
void resetDefaults() { resetDefaultGamma(); resetDefaultBitResolution(); resetDefaultComboBox(view.getTransformations(), QuantumFactory.LINEAR); resetDefaultComboBox(view.getWavelengths(), 0); histogramDialog = null; }
3,234,186
void setInputWindowEnd(int value) { if (histogramDialog != null) histogramDialog.getManager().setInputWindowEnd(value); }
void setInputWindowEnd(int value) { if (histogramDialog != null) histogramDialog.getManager().setInputWindowEnd(value); }
3,234,187