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

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.jface.SelectionChangedListenerTag
All Implemented Interfaces:
org.eclipse.jface.viewers.ISelectionChangedListener, org.apache.commons.jelly.Tag

public class SelectionChangedListenerTag
extends org.apache.commons.jelly.TagSupport
implements org.eclipse.jface.viewers.ISelectionChangedListener

This tag adds a listener for selection changes in this viewer.

Author:
Christiaan ten Klooster

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
SelectionChangedListenerTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 org.eclipse.jface.viewers.Viewer getParentViewer()
           
 java.lang.String getVar()
           
 void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
           
 void setVar(java.lang.String var)
          Sets the var.
 
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
 

Constructor Detail

SelectionChangedListenerTag

public SelectionChangedListenerTag()
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.TagSupport

getParentViewer

public org.eclipse.jface.viewers.Viewer getParentViewer()

getVar

public java.lang.String getVar()
Returns:
String

setVar

public void setVar(java.lang.String var)
Sets the var.
Parameters:
var - The var to set

selectionChanged

public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Specified by:
selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener


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