Search in sources :

Example 1 with EditorButtonWidget

use of org.eclipse.che.ide.extension.machine.client.perspective.widgets.recipe.editor.button.EditorButtonWidget in project che by eclipse.

the class RecipeEditorViewImpl method createButton.

@NotNull
private EditorButtonWidget createButton(@NotNull String title, @NotNull EditorButtonWidget.ActionDelegate delegate, @NotNull EditorButtonWidgetImpl.Background background) {
    EditorButtonWidget button = widgetFactory.createEditorButton(title, background);
    button.setDelegate(delegate);
    buttonsPanel.add(button);
    return button;
}
Also used : EditorButtonWidget(org.eclipse.che.ide.extension.machine.client.perspective.widgets.recipe.editor.button.EditorButtonWidget) NotNull(javax.validation.constraints.NotNull)

Aggregations

NotNull (javax.validation.constraints.NotNull)1 EditorButtonWidget (org.eclipse.che.ide.extension.machine.client.perspective.widgets.recipe.editor.button.EditorButtonWidget)1