org.apache.commons.jelly.tags.jface.window
Class ApplicationWindowTag

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.jface.window.ApplicationWindowTag
All Implemented Interfaces:
org.apache.commons.jelly.impl.BeanSource, org.apache.commons.jelly.DynaTag, org.apache.commons.jelly.Tag

public class ApplicationWindowTag
extends org.apache.commons.jelly.tags.core.UseBeanTag

This tag creates an JFace ApplicationWindow

Author:
Christiaan ten Klooster

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ApplicationWindowTag(java.lang.Class tagClass)
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 org.eclipse.jface.window.Window getWindow()
           
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.core.UseBeanTag
addIgnoreProperty, convertToClass, getBean, getDefaultClass, getIgnorePropertySet, isIgnoreUnknownProperties, loadClass, processBean, setBean, setBeanProperties, 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, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.jelly.Tag
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent
 

Constructor Detail

ApplicationWindowTag

public ApplicationWindowTag(java.lang.Class tagClass)
Parameters:
widgetClass -  
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Overrides:
doTag in class org.apache.commons.jelly.tags.core.UseBeanTag

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.core.UseBeanTag

getWindow

public org.eclipse.jface.window.Window getWindow()
Returns:
the visible window, if there is one.


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