List of usage examples for org.springframework.ide.eclipse.boot.dash.model BootDashElement getBootDashModel
BootDashModel getBootDashModel();
From source file:org.springframework.ide.eclipse.boot.dash.views.sections.BootDashUnifiedTreeSection.java
private boolean canDeploySelection(Set<BootDashElement> selection) { if (selection.isEmpty()) { //Careful... don't return 'true' if nothing is selected. return false; }// w ww. j a va 2 s .co m for (BootDashElement e : selection) { if (!e.getBootDashModel().getRunTarget().canDeployAppsFrom()) { return false; } } return true; }