Change-Id: I3140b91262ca179bed48e2081c6093a21fc834a1
}
/**
- * Gets the root if of this application instance. The root id should be
- * included in every request originating from this instance in order to
- * associate it with the right UI instance on the server.
+ * Gets the UI id of the server-side UI associated with this client-side
+ * instance. The UI id should be included in every request originating from
+ * this instance in order to associate the request with the right UI
+ * instance on the server.
*
- * @return the root id
+ * @return the UI id
*/
public int getUIId() {
return uiId;
}
/**
- * Ensures the root is scrollable eg. after style name changes.
+ * Ensures the widget is scrollable eg. after style name changes.
* <p>
* For internal use only. May be removed or replaced in the future.
*/
try {
return event.getUIClass().newInstance();
} catch (InstantiationException e) {
- throw new RuntimeException("Could not instantiate root class", e);
+ throw new RuntimeException("Could not instantiate UI class", e);
} catch (IllegalAccessException e) {
- throw new RuntimeException("Could not access root class", e);
+ throw new RuntimeException("Could not access UI class", e);
}
}