org.apache.commons.jelly.tags.jface
Class ViewerTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.DynaTagSupport
          extended byorg.apache.commons.jelly.MapTagSupport
              extended byorg.apache.commons.jelly.tags.core.UseBeanTag
                  extended byorg.apache.commons.jelly.tags.swt.WidgetTag
                      extended byorg.apache.commons.jelly.tags.jface.ViewerTag
All Implemented Interfaces:
org.apache.commons.jelly.impl.BeanSource, org.apache.commons.jelly.DynaTag, org.apache.commons.jelly.Tag

public class ViewerTag
extends org.apache.commons.jelly.tags.swt.WidgetTag

This tag creates an JFace Viewer

Author:
Christiaan ten Klooster

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, shouldTrim
 
Constructor Summary
ViewerTag(java.lang.Class tagClass)
           
ViewerTag(java.lang.Class tagClass, int style)
           
 
Method Summary
 org.eclipse.jface.viewers.Viewer getViewer()
           
protected  java.lang.Object newInstance(java.lang.Class theClass, java.util.Map attributes, org.apache.commons.jelly.XMLOutput output)
           
 
Methods inherited from class org.apache.commons.jelly.tags.swt.WidgetTag
attachWidgets, createWidget, doTag, getColor, getParentWidget, getStyle, getWidget, setBeanProperties, setSize, toString
 
Methods inherited from class org.apache.commons.jelly.tags.core.UseBeanTag
addIgnoreProperty, convertToClass, getBean, getDefaultClass, getIgnorePropertySet, isIgnoreUnknownProperties, loadClass, processBean, setBean, setIgnoreUnknownProperties, validateBeanProperties
 
Methods inherited from class org.apache.commons.jelly.MapTagSupport
createAttributes, getAttributes, setAttribute
 
Methods inherited from class org.apache.commons.jelly.DynaTagSupport
getAttributeType
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.jelly.Tag
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent
 

Constructor Detail

ViewerTag

public ViewerTag(java.lang.Class tagClass)

ViewerTag

public ViewerTag(java.lang.Class tagClass,
                 int style)
Parameters:
style -
Method Detail

newInstance

protected java.lang.Object newInstance(java.lang.Class theClass,
                                       java.util.Map attributes,
                                       org.apache.commons.jelly.XMLOutput output)
                                throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

getViewer

public org.eclipse.jface.viewers.Viewer getViewer()
Returns:
the visible viewer, if there is one.


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.