com.sun.hotspot.igv.data.Properties.RegexpPropertyMatcher Java Examples
The following examples show how to use
com.sun.hotspot.igv.data.Properties.RegexpPropertyMatcher.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NodeQuickSearch.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private List<InputNode> findMatches(String name, String value, InputGraph inputGraph, SearchResponse response) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(name, value, Pattern.CASE_INSENSITIVE); Properties.PropertySelector<InputNode> selector = new Properties.PropertySelector<>(inputGraph.getNodes()); List<InputNode> matches = selector.selectMultiple(matcher); return matches.size() == 0 ? null : matches; } catch (Exception e) { final String msg = e.getMessage(); response.addResult(new Runnable() { @Override public void run() { Message desc = new NotifyDescriptor.Message("An exception occurred during the search, " + "perhaps due to a malformed query string:\n" + msg, NotifyDescriptor.WARNING_MESSAGE); DialogDisplayer.getDefault().notify(desc); } }, "(Error during search)" ); } return null; }
Example #2
Source File: Client.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public void started(final Group g) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher("name", ".*" + networkTextField.getText() + ".*"); if (g.getProperties().selectSingle(matcher) != null && networkTextField.isEnabled()) { socket.getOutputStream().write('y'); callback.started(g); } else { socket.getOutputStream().write('n'); } } catch (IOException e) { } }
Example #3
Source File: FindPanel.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public void find() { EditorTopComponent comp = EditorTopComponent.getActive(); if (comp != null) { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(getNameText(), getValueText()); comp.setSelection(matcher); } }
Example #4
Source File: Client.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public void started(final Group g) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher("name", ".*" + networkTextField.getText() + ".*"); if (g.getProperties().selectSingle(matcher) != null && networkTextField.isEnabled()) { socket.getOutputStream().write('y'); callback.started(g); } else { socket.getOutputStream().write('n'); } } catch (IOException e) { } }
Example #5
Source File: FindPanel.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public void find() { EditorTopComponent comp = EditorTopComponent.getActive(); if (comp != null) { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(getNameText(), getValueText()); comp.setSelection(matcher); } }
Example #6
Source File: Client.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public void started(final Group g) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher("name", ".*" + networkTextField.getText() + ".*"); if (g.getProperties().selectSingle(matcher) != null && networkTextField.isEnabled()) { socket.getOutputStream().write('y'); callback.started(g); } else { socket.getOutputStream().write('n'); } } catch (IOException e) { } }
Example #7
Source File: FindPanel.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public void find() { EditorTopComponent comp = EditorTopComponent.getActive(); if (comp != null) { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(getNameText(), getValueText()); comp.setSelection(matcher); } }
Example #8
Source File: Client.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void started(final Group g) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher("name", ".*" + networkTextField.getText() + ".*"); if (g.getProperties().selectSingle(matcher) != null && networkTextField.isEnabled()) { socket.getOutputStream().write('y'); callback.started(g); } else { socket.getOutputStream().write('n'); } } catch (IOException e) { } }
Example #9
Source File: FindPanel.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void find() { EditorTopComponent comp = EditorTopComponent.getActive(); if (comp != null) { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(getNameText(), getValueText()); comp.setSelection(matcher); } }
Example #10
Source File: Client.java From hottub with GNU General Public License v2.0 | 5 votes |
public void started(final Group g) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher("name", ".*" + networkTextField.getText() + ".*"); if (g.getProperties().selectSingle(matcher) != null && networkTextField.isEnabled()) { socket.getOutputStream().write('y'); callback.started(g); } else { socket.getOutputStream().write('n'); } } catch (IOException e) { } }
Example #11
Source File: FindPanel.java From hottub with GNU General Public License v2.0 | 5 votes |
public void find() { EditorTopComponent comp = EditorTopComponent.getActive(); if (comp != null) { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(getNameText(), getValueText()); comp.setSelection(matcher); } }
Example #12
Source File: Client.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public void started(final Group g) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher("name", ".*" + networkTextField.getText() + ".*"); if (g.getProperties().selectSingle(matcher) != null && networkTextField.isEnabled()) { socket.getOutputStream().write('y'); callback.started(g); } else { socket.getOutputStream().write('n'); } } catch (IOException e) { } }
Example #13
Source File: FindPanel.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public void find() { EditorTopComponent comp = EditorTopComponent.getActive(); if (comp != null) { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(getNameText(), getValueText()); comp.setSelection(matcher); } }
Example #14
Source File: Client.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public void started(final Group g) { try { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher("name", ".*" + networkTextField.getText() + ".*"); if (g.getProperties().selectSingle(matcher) != null && networkTextField.isEnabled()) { socket.getOutputStream().write('y'); callback.started(g); } else { socket.getOutputStream().write('n'); } } catch (IOException e) { } }
Example #15
Source File: FindPanel.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public void find() { EditorTopComponent comp = EditorTopComponent.getActive(); if (comp != null) { RegexpPropertyMatcher matcher = new RegexpPropertyMatcher(getNameText(), getValueText()); comp.setSelection(matcher); } }