use of org.jkiss.dbeaver.ui.dashboard.model.DashboardContainer in project dbeaver by serge-rider.
the class HandlerDashboardViewItem method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
DashboardView view = getActiveDashboardView(event);
if (view != null) {
DashboardContainer selectedDashboard = getSelectedDashboard(view);
if (selectedDashboard != null) {
DashboardItemViewDialog viewDialog = new DashboardItemViewDialog(view.getDashboardListViewer(), (DashboardItem) selectedDashboard);
viewDialog.open();
}
}
return null;
}
use of org.jkiss.dbeaver.ui.dashboard.model.DashboardContainer in project dbeaver by dbeaver.
the class HandlerDashboardViewItem method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
DashboardView view = getActiveDashboardView(event);
if (view != null) {
DashboardContainer selectedDashboard = getSelectedDashboard(view);
if (selectedDashboard != null) {
DashboardItemViewDialog viewDialog = new DashboardItemViewDialog(view.getDashboardListViewer(), (DashboardItem) selectedDashboard);
viewDialog.open();
}
}
return null;
}
Aggregations