@Dependent public class LayoutEditorPluginImpl extends Object implements LayoutEditorPlugin
Constructor and Description |
---|
LayoutEditorPluginImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutProperty(String key,
String value) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
clear() |
LayoutTemplate |
getLayout() |
List<LayoutEditorElement> |
getLayoutElements() |
String |
getLayoutProperty(String key) |
void |
init(String layoutName,
String emptyTitleText,
String emptySubTitleText,
LayoutTemplate.Style style) |
void |
load(Path currentPath,
Command loadCallBack) |
void |
loadDefaultLayout(String layoutName) |
void |
loadLayout(LayoutTemplate layoutTemplate) |
void |
save(Path path,
org.jboss.errai.common.client.api.RemoteCallback<Path> saveSuccessCallback) |
void |
setElementSelectionEnabled(boolean enabled) |
void |
setPreviewEnabled(boolean enabled) |
void |
visit(LayoutElementVisitor visitor) |
public void init(String layoutName, String emptyTitleText, String emptySubTitleText, LayoutTemplate.Style style)
init
in interface LayoutEditor
public void clear()
clear
in interface LayoutEditor
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface LayoutEditor
public void loadLayout(LayoutTemplate layoutTemplate)
loadLayout
in interface LayoutEditor
public void loadDefaultLayout(String layoutName)
loadDefaultLayout
in interface LayoutEditor
public LayoutTemplate getLayout()
getLayout
in interface LayoutEditor
public void addLayoutProperty(String key, String value)
addLayoutProperty
in interface LayoutEditor
public String getLayoutProperty(String key)
getLayoutProperty
in interface LayoutEditor
public void setPreviewEnabled(boolean enabled)
setPreviewEnabled
in interface LayoutEditor
public void setElementSelectionEnabled(boolean enabled)
setElementSelectionEnabled
in interface LayoutEditor
public void load(Path currentPath, Command loadCallBack)
load
in interface LayoutEditorPlugin
public void save(Path path, org.jboss.errai.common.client.api.RemoteCallback<Path> saveSuccessCallback)
save
in interface LayoutEditorPlugin
public List<LayoutEditorElement> getLayoutElements()
getLayoutElements
in interface LayoutEditor
public void visit(LayoutElementVisitor visitor)
visit
in interface LayoutEditor
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.