@Dependent public class LayoutEditorPresenter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LayoutEditorPresenter.View |
| Constructor and Description |
|---|
LayoutEditorPresenter(LayoutEditorPresenter.View view) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDraggableComponentGroup(LayoutDragComponentGroup group) |
void |
addDraggableComponentToGroup(String groupId,
String componentId,
LayoutDragComponent component) |
void |
addLayoutProperty(String key,
String value) |
LayoutTemplate |
getLayout() |
String |
getLayoutProperty(String key) |
org.uberfire.client.mvp.UberView<LayoutEditorPresenter> |
getView() |
void |
loadDefaultLayout(String layoutName) |
void |
loadLayout(LayoutTemplate layoutTemplate) |
void |
removeDraggableComponentFromGroup(String groupId,
String componentId) |
void |
removeDraggableGroup(String id) |
void |
setupDndPallete(List<LayoutDragComponent> layoutDragComponents) |
public static final String[] SPANS
@Inject public LayoutEditorPresenter(LayoutEditorPresenter.View view)
public org.uberfire.client.mvp.UberView<LayoutEditorPresenter> getView()
public void setupDndPallete(List<LayoutDragComponent> layoutDragComponents)
public LayoutTemplate getLayout()
public void loadLayout(LayoutTemplate layoutTemplate)
public void loadDefaultLayout(String layoutName)
public void addDraggableComponentGroup(LayoutDragComponentGroup group)
public void addDraggableComponentToGroup(String groupId, String componentId, LayoutDragComponent component)
public void removeDraggableGroup(String id)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.