net.sf.commonclipse.popup.actions
Class JavaTypeAction

java.lang.Object
  extended by net.sf.commonclipse.popup.actions.JavaTypeAction
Direct Known Subclasses:
JavaTypeObjectAction, JavaTypeViewerAction

public abstract class JavaTypeAction
extends java.lang.Object

base action delegate for action that need an IType to work.

Version:
$Revision: 1.4 $ ($Author: fgiust $)
Author:
fgiust

Field Summary
static java.lang.String ACTION_COMPARETO
          id for compareTo() generator.
static java.lang.String ACTION_EQUALS
          id for equals() generator.
static java.lang.String ACTION_HASHCODE
          id for hashCode() generator.
static java.lang.String ACTION_TOSTRING
          id for toString() generator.
 
Constructor Summary
JavaTypeAction()
           
 
Method Summary
protected  void runAction(org.eclipse.jface.action.IAction action, org.eclipse.jdt.core.IType type, org.eclipse.swt.widgets.Shell shell)
          run the action on the given IType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_TOSTRING

public static final java.lang.String ACTION_TOSTRING
id for toString() generator.

See Also:
Constant Field Values

ACTION_HASHCODE

public static final java.lang.String ACTION_HASHCODE
id for hashCode() generator.

See Also:
Constant Field Values

ACTION_EQUALS

public static final java.lang.String ACTION_EQUALS
id for equals() generator.

See Also:
Constant Field Values

ACTION_COMPARETO

public static final java.lang.String ACTION_COMPARETO
id for compareTo() generator.

See Also:
Constant Field Values
Constructor Detail

JavaTypeAction

public JavaTypeAction()
Method Detail

runAction

protected void runAction(org.eclipse.jface.action.IAction action,
                         org.eclipse.jdt.core.IType type,
                         org.eclipse.swt.widgets.Shell shell)
run the action on the given IType.

Parameters:
action - activated IAction
type - selected IType
shell - Shell for messages


Copyright © 2003-2005 sourceforge. All Rights Reserved.