The function f is type as a function that takes a single input parameter of type View (another class from Android) and returns Unit, which is the Scala equivalent of void.
这个函数 f 的类型为带一个 View 类型(Android 中的另一个类)的输入参数的函数,并返回 Unit,它是 void 在 Scala 中的对等物。
Every method of the main interface has a matching entry in the asynchronous interface, but with a return type of void and an additional argument of class AsyncCallback.
主接口的每种方法在异步接口中都有相匹配的条目,但是附带了void返回类型和asynccallback类的附加参数。
When the menu name you defined in the label of your extension point is called, the public void run (IAction arg0) method of the object extending the LiveNameActionDelegate class is invoked.
在调用扩展点的标签中定义的菜单名时,将调用扩展personaction类的对象的public void runWithEvent (Event arg0)方法。
应用推荐