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

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.DynaTagSupport
              |
              +--org.apache.commons.jelly.MapTagSupport
                    |
                    +--org.apache.commons.jelly.tags.core.UseBeanTag
                          |
                          +--org.apache.commons.jelly.tags.swt.WidgetTag
                                |
                                +--org.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

Fields inherited from class org.apache.commons.jelly.tags.swt.WidgetTag
parent
 
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)
Parameters:
widgetClass -  

ViewerTag

public ViewerTag(java.lang.Class tagClass,
                 int style)
Parameters:
widgetClass -  
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
Overrides:
newInstance in class org.apache.commons.jelly.tags.swt.WidgetTag

getViewer

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


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