cookxml.cookjface.ui
Class XmlContentProvider

java.lang.Object
  extended bycookxml.cookjface.ui.XmlContentProvider
All Implemented Interfaces:
WindowContentProvider

public class XmlContentProvider
extends Object
implements WindowContentProvider

This content provider is used to generate content from XML.


Constructor Summary
XmlContentProvider()
           
 
Method Summary
 org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
 Object getVarObj()
          Get the variable object.
 void setVarObj(Object varObj)
          Set the variable object.
 void setXml(DocumentElement xml)
          Set the XML source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlContentProvider

public XmlContentProvider()
Method Detail

setXml

public void setXml(DocumentElement xml)
Set the XML source.

Parameters:
xml - the XML source.

getVarObj

public Object getVarObj()
Get the variable object.

Returns:
the variable object.

setVarObj

public void setVarObj(Object varObj)
Set the variable object.

Parameters:
varObj - the variable object.

createContents

public org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Specified by:
createContents in interface WindowContentProvider