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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.jface.DoubleClickListenerTag
All Implemented Interfaces:
org.eclipse.jface.viewers.IDoubleClickListener, org.apache.commons.jelly.Tag

public class DoubleClickListenerTag
extends org.apache.commons.jelly.TagSupport
implements org.eclipse.jface.viewers.IDoubleClickListener

This tag adds a listener for double-clicks in this viewer.

Author:
Christiaan ten Klooster

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
DoubleClickListenerTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
           
 org.eclipse.jface.viewers.StructuredViewer getParentViewer()
           
 java.lang.String getVar()
           
 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

DoubleClickListenerTag

public DoubleClickListenerTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Specified by:
doTag in interface org.apache.commons.jelly.Tag
Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException

getParentViewer

public org.eclipse.jface.viewers.StructuredViewer 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

doubleClick

public void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
Specified by:
doubleClick in interface org.eclipse.jface.viewers.IDoubleClickListener


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