info.magnolia.ui.vaadin.gwt.client.editor.dom.processor
Class AbstractMgnlElementProcessor

java.lang.Object
  extended by info.magnolia.ui.vaadin.gwt.client.editor.dom.processor.AbstractMgnlElementProcessor
Direct Known Subclasses:
AreaProcessor, ComponentProcessor, PageProcessor

public abstract class AbstractMgnlElementProcessor
extends Object

Abstract processor for MgnlElements. Takes care of adding the element the Model and attaching the widgets at the right place in the DOM.


Constructor Summary
AbstractMgnlElementProcessor(Model model, MgnlElement mgnlElement)
           
 
Method Summary
protected  void addToModel()
           
 void attach()
           
 void attach(com.google.gwt.dom.client.Element element)
           
 void attach(MgnlElement mgnlElement)
           
protected  void attachWidget()
           
 AbstractBar getEditBar()
           
 MgnlElement getMgnlElement()
           
 Model getModel()
           
abstract  void process()
           
protected  void setEditBar(AbstractBar editBar)
           
 void setMgnlElement(MgnlElement mgnlElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMgnlElementProcessor

public AbstractMgnlElementProcessor(Model model,
                                    MgnlElement mgnlElement)
Method Detail

process

public abstract void process()

attachWidget

protected void attachWidget()

attach

public void attach()

attach

public void attach(MgnlElement mgnlElement)

attach

public void attach(com.google.gwt.dom.client.Element element)

addToModel

protected void addToModel()

setMgnlElement

public void setMgnlElement(MgnlElement mgnlElement)

getMgnlElement

public MgnlElement getMgnlElement()

getModel

public Model getModel()

setEditBar

protected void setEditBar(AbstractBar editBar)

getEditBar

public AbstractBar getEditBar()


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.