private static IExpandBarAdapter getExpandBarAdapter(ExpandItem item) { return item.getParent().getAdapter(IExpandBarAdapter.class); }
@Override public void renderInitialization(ExpandItem item) throws IOException { RemoteObject remoteObject = createRemoteObject(item, TYPE); remoteObject.setHandler(new ExpandItemOperationHandler(item)); remoteObject.set("parent", getId(item.getParent())); }