info.magnolia.ui.vaadin.gwt.client.editor.model
Class ModelImpl
java.lang.Object
info.magnolia.ui.vaadin.gwt.client.editor.model.ModelImpl
- All Implemented Interfaces:
- Model
public class ModelImpl
- extends Object
- implements Model
Singleton keeping the model.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rootPage
public MgnlPage rootPage
rootAreas
public List<MgnlArea> rootAreas
ModelImpl
public ModelImpl()
addElement
public void addElement(MgnlElement mgnlElement,
com.google.gwt.dom.client.Element element)
- Specified by:
addElement
in interface Model
addElements
public void addElements(MgnlElement mgnlElement,
com.google.gwt.dom.client.Element element)
- Specified by:
addElements
in interface Model
getMgnlElement
public MgnlElement getMgnlElement(com.google.gwt.dom.client.Element element)
- Specified by:
getMgnlElement
in interface Model
getRootPage
public MgnlPage getRootPage()
- Specified by:
getRootPage
in interface Model
setRootPage
public void setRootPage(MgnlPage rootPage)
- Specified by:
setRootPage
in interface Model
addRootArea
public void addRootArea(MgnlArea area)
- Specified by:
addRootArea
in interface Model
getRootAreas
public List<MgnlArea> getRootAreas()
- Specified by:
getRootAreas
in interface Model
setSelectedArea
public void setSelectedArea(MgnlArea selectedMgnlAreaElement)
- Specified by:
setSelectedArea
in interface Model
getSelectedArea
public MgnlArea getSelectedArea()
- Specified by:
getSelectedArea
in interface Model
removeMgnlElement
public void removeMgnlElement(MgnlElement mgnlElement)
- Specified by:
removeMgnlElement
in interface Model
getSelectedComponent
public MgnlComponent getSelectedComponent()
- Specified by:
getSelectedComponent
in interface Model
setSelectedComponent
public void setSelectedComponent(MgnlComponent selectedMgnlComponentElement)
- Specified by:
setSelectedComponent
in interface Model
reset
public void reset()
- Reset the tree, e.g. when browsing inside the page editor.
- Specified by:
reset
in interface Model
isMoving
public boolean isMoving()
- Specified by:
isMoving
in interface Model
setMoving
public void setMoving(boolean moving)
- Specified by:
setMoving
in interface Model
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.