//TODO refresh current bookmark if not SAME
public void checkBookmarks() throws IOException {
        for (Bookmark bookmark : bookmarksService.getBookmarks()) {
            bookmarksService.doCheck(bookmark);
            JavaFxUtils.getController(BookmarksController.class).bookmarksTableView.refresh();
        }
        JavaFxUtils.getController(BookmarksController.class).tableView.setUserData(null);
        JavaFxUtils.getController(BookmarksController.class).webView.setUserData(null);
        //TODO refresh current bookmark if not SAME
        if (currentBookmark != null/* && JavaFxUtils.currentBookmark.getStatus() == BookmarkStatus.CHANGED*/) {
            JavaFxUtils.getController(BookmarksController.class).refresh();
        }
    }
JavaFxUtils.getController(BookmarksController.class).tableView.setUserData(null);
JavaFxUtils.getController(BookmarksController.class).webView.setUserData(null);
//TODO refresh current bookmark if not SAME
if (currentBookmark != null/* && JavaFxUtils.currentBookmark.getStatus() == BookmarkStatus.CHANGED*/) {
JavaFxUtils.getController(BookmarksController.class).refresh();
public void checkBookmarks() throws IOException {
for (Bookmark bookmark : bookmarksService.getBookmarks()) {
bookmarksService.doCheck(bookmark);
JavaFxUtils.getController(BookmarksController.class).bookmarksTableView.refresh();
}
JavaFxUtils.getController(BookmarksController.class).tableView.setUserData(null);
JavaFxUtils.getController(BookmarksController.class).webView.setUserData(null);
//TODO refresh current bookmark if not SAME
if (currentBookmark != null/* && JavaFxUtils.currentBookmark.getStatus() == BookmarkStatus.CHANGED*/) {
JavaFxUtils.getController(BookmarksController.class).refresh();
}
}
public void checkBookmarks() throws IOException {
for (Bookmark bookmark : bookmarksService.getBookmarks()) {
bookmarksService.doCheck(bookmark);
JavaFxUtils.getController(BookmarksController.class).bookmarksTableView.refresh();
}
JavaFxUtils.getController(BookmarksController.class).tableView.setUserData(null);
JavaFxUtils.getController(BookmarksController.class).webView.setUserData(null);
//TODO refresh current bookmark if not SAME
if (currentBookmark != null/* && JavaFxUtils.currentBookmark.getStatus() == BookmarkStatus.CHANGED*/) {
JavaFxUtils.getController(BookmarksController.class).refresh();
}
}