org.jtool.jxplatform.actions
Class JxProjectActionDelegate

java.lang.Object
  extended byorg.jtool.jxplatform.actions.JxActionDelegate
      extended byorg.jtool.jxplatform.actions.JxProjectActionDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate
Direct Known Subclasses:
ExportAction

public class JxProjectActionDelegate
extends JxActionDelegate
implements org.eclipse.ui.IObjectActionDelegate

Performs a project action.

Author:
Katsuhisa Maruyama

Field Summary
protected  org.eclipse.ui.IWorkbenchPart part
          A workbench target.
protected  org.eclipse.core.resources.IProject project
          A project resource.
protected  JxProjectRepository repository
          A project's repository that stores information about Java-XML compilation units in the project.
 
Fields inherited from class org.jtool.jxplatform.actions.JxActionDelegate
selection
 
Constructor Summary
JxProjectActionDelegate()
          Create a new object.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          Creates XML documents from Java source files in this project.
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart part)
          Sets an active workbench for the delegate.
 
Methods inherited from class org.jtool.jxplatform.actions.JxActionDelegate
getFile, getShell, getShell, printMessage, printMessage, selectionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
selectionChanged
 

Field Detail

part

protected org.eclipse.ui.IWorkbenchPart part
A workbench target.


project

protected org.eclipse.core.resources.IProject project
A project resource.


repository

protected JxProjectRepository repository
A project's repository that stores information about Java-XML compilation units in the project.

Constructor Detail

JxProjectActionDelegate

public JxProjectActionDelegate()
Create a new object.

Method Detail

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction action,
                          org.eclipse.ui.IWorkbenchPart part)
Sets an active workbench for the delegate.

Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
Parameters:
action - An action triggered by the user.
part - A workbench target.

run

public void run(org.eclipse.jface.action.IAction action)
Creates XML documents from Java source files in this project.

Specified by:
run in interface org.eclipse.ui.IActionDelegate
Parameters:
action - An action triggered by the user.