org.jtool.jxplatform.actions
Class SaveAction

java.lang.Object
  extended byorg.jtool.jxplatform.actions.JxActionDelegate
      extended byorg.jtool.jxplatform.actions.JxEditorActionDelegate
          extended byorg.jtool.jxplatform.actions.SaveAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate

public class SaveAction
extends JxEditorActionDelegate

Performs an action that saves XML documents.

Author:
Katsuhisa Maruyama

Field Summary
 
Fields inherited from class org.jtool.jxplatform.actions.JxEditorActionDelegate
file, part, repository, unit
 
Fields inherited from class org.jtool.jxplatform.actions.JxActionDelegate
selection
 
Constructor Summary
SaveAction()
          Creates a new object.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          Saves the XML document of a Java source file underlying this editor.
 
Methods inherited from class org.jtool.jxplatform.actions.JxEditorActionDelegate
setActiveEditor
 
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
 

Constructor Detail

SaveAction

public SaveAction()
Creates a new object.

Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
Saves the XML document of a Java source file underlying this editor.

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