Search in sources :

Example 1 with RecipeWidget

use of org.eclipse.che.ide.workspace.create.recipewidget.RecipeWidget in project che by eclipse.

the class CreateWorkspaceViewImpl method addRecipesToPanel.

private void addRecipesToPanel(List<RecipeDescriptor> recipes) {
    tagsPanel.clear();
    for (RecipeDescriptor descriptor : recipes) {
        RecipeWidget tag = tagFactory.create(descriptor);
        tag.setDelegate(this);
        tagsPanel.add(tag);
    }
    popupPanel.setWidget(tagsPanel);
}
Also used : RecipeDescriptor(org.eclipse.che.api.machine.shared.dto.recipe.RecipeDescriptor) RecipeWidget(org.eclipse.che.ide.workspace.create.recipewidget.RecipeWidget)

Aggregations

RecipeDescriptor (org.eclipse.che.api.machine.shared.dto.recipe.RecipeDescriptor)1 RecipeWidget (org.eclipse.che.ide.workspace.create.recipewidget.RecipeWidget)1