@Dependent public class LayoutEditorPluginImpl extends Object implements LayoutEditorPlugin
| Constructor and Description |
|---|
LayoutEditorPluginImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDraggableComponentGroup(LayoutDragComponentGroup group) |
void |
addDraggableComponentToGroup(String groupId,
String componentId,
LayoutDragComponent component) |
void |
addLayoutProperty(String key,
String value) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
clear() |
LayoutTemplate |
getLayout() |
String |
getLayoutProperty(String key) |
void |
init(String layoutName,
LayoutDragComponentGroup layoutDragComponentGroup,
String emptyTitleText,
String emptySubTitleText) |
void |
load(PluginType pluginType,
Path currentPath,
ParameterizedCommand<LayoutEditorModel> loadCallBack) |
void |
loadDefaultLayout(String layoutName) |
void |
loadLayout(LayoutTemplate layoutTemplate) |
void |
removeDraggableComponentGroup(String groupId) |
void |
removeDraggableGroupComponent(String groupId,
String componentId) |
void |
save(Path path,
org.jboss.errai.common.client.api.RemoteCallback<Path> saveSuccessCallback) |
public void init(String layoutName, LayoutDragComponentGroup layoutDragComponentGroup, String emptyTitleText, String emptySubTitleText)
init in interface LayoutEditorpublic void clear()
clear in interface LayoutEditorpublic com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface LayoutEditorpublic void loadLayout(LayoutTemplate layoutTemplate)
loadLayout in interface LayoutEditorpublic void loadDefaultLayout(String layoutName)
loadDefaultLayout in interface LayoutEditorpublic LayoutTemplate getLayout()
getLayout in interface LayoutEditorpublic void addLayoutProperty(String key, String value)
addLayoutProperty in interface LayoutEditorpublic String getLayoutProperty(String key)
getLayoutProperty in interface LayoutEditorpublic void load(PluginType pluginType, Path currentPath, ParameterizedCommand<LayoutEditorModel> loadCallBack)
load in interface LayoutEditorPluginpublic void save(Path path, org.jboss.errai.common.client.api.RemoteCallback<Path> saveSuccessCallback)
save in interface LayoutEditorPluginpublic void addDraggableComponentGroup(LayoutDragComponentGroup group)
addDraggableComponentGroup in interface LayoutEditorpublic void addDraggableComponentToGroup(String groupId, String componentId, LayoutDragComponent component)
addDraggableComponentToGroup in interface LayoutEditorpublic void removeDraggableComponentGroup(String groupId)
removeDraggableComponentGroup in interface LayoutEditorpublic void removeDraggableGroupComponent(String groupId, String componentId)
removeDraggableGroupComponent in interface LayoutEditorCopyright © 2012–2017 JBoss by Red Hat. All rights reserved.