use of org.ovirt.engine.core.common.action.BookmarksParametersBase in project ovirt-engine by oVirt.
the class BookmarkListModel method onRemove.
public void onRemove() {
Bookmark selectedBookmark = (Bookmark) getSelectedItem();
BookmarksParametersBase parameters = new BookmarksParametersBase(selectedBookmark.getId());
IFrontendActionAsyncCallback async = result -> postOnSave(result.getReturnValue());
getWindow().startProgress();
Frontend.getInstance().runAction(ActionType.RemoveBookmark, parameters, async);
}
Aggregations