MCPcopy Create free account
hub / github.com/GateNLP/gate-core / invoke

Method invoke

src/main/java/gate/gui/MainFrame.java:1823–1836  ·  view source on GitHub ↗
(Object proxy, Method method, Object[] args)

Source from the content-addressed store, hash-verified

1821 private Action aboutAction = new HelpAboutAction();
1822
1823 @Override
1824 public Object invoke(Object proxy, Method method, Object[] args)
1825 throws Throwable {
1826 SwingUtilities.invokeLater(() -> {
1827 if("handleAbout".equals(method.getName())) {
1828 aboutAction.actionPerformed(null);
1829 } else if("handlePreferences".equals(method.getName())) {
1830 optionsDialog.showDialog();
1831 optionsDialog.dispose();
1832 }
1833 });
1834
1835 return null;
1836 }
1837 };
1838
1839 // Create an proxy instance for all the handler interfaces

Callers 10

testIntrospectionMethod · 0.80
createResourceMethod · 0.80
getParameterValueMethod · 0.80
setParameterValueMethod · 0.80
setResourceListenersMethod · 0.80
callMethod · 0.80
initMacListenersMethod · 0.80

Calls 5

equalsMethod · 0.65
getNameMethod · 0.65
actionPerformedMethod · 0.45
showDialogMethod · 0.45
disposeMethod · 0.45

Tested by 1

testIntrospectionMethod · 0.64