|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.umlx.tools.AbstractTransformAction
public abstract class AbstractTransformAction
Field Summary | |
---|---|
static java.lang.String |
TRANSFORM_FILES_TITLE
|
Constructor Summary | |
---|---|
AbstractTransformAction()
|
Method Summary | |
---|---|
java.io.File |
getOutputFile(org.eclipse.core.runtime.IPath outPath)
Return an array of all the output files. |
java.io.File[] |
getOutputFiles(org.eclipse.core.resources.IFile[] inFiles,
java.lang.String outFolder,
java.lang.String outExtension)
Return an array of all the output files. |
java.lang.String |
promptForFile(org.eclipse.core.resources.IFile inputFile,
java.lang.String outputExtension,
java.lang.String resourceString)
Return the result of putting up a FileDialog titled by the translation of the resourceString. |
java.lang.String |
promptForFolder(org.eclipse.core.resources.IFile[] files,
java.lang.String resourceString)
Return the result of putting up a DirectoryDialog titled by the translation of the resourceString. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Cache notification of the selection. |
void |
setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
Cache the shell during configuration. |
static void |
transform(java.io.File outFile,
org.eclipse.core.resources.IFile inFile,
java.lang.String styleSheet,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Apply the styleSheet transform inFile to outFile logging an exception for any problem. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IActionDelegate |
---|
run |
Field Detail |
---|
public static final java.lang.String TRANSFORM_FILES_TITLE
Constructor Detail |
---|
public AbstractTransformAction()
Method Detail |
---|
public java.io.File getOutputFile(org.eclipse.core.runtime.IPath outPath)
public java.io.File[] getOutputFiles(org.eclipse.core.resources.IFile[] inFiles, java.lang.String outFolder, java.lang.String outExtension)
public java.lang.String promptForFile(org.eclipse.core.resources.IFile inputFile, java.lang.String outputExtension, java.lang.String resourceString)
public java.lang.String promptForFolder(org.eclipse.core.resources.IFile[] files, java.lang.String resourceString)
public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
selectionChanged
in interface org.eclipse.ui.IActionDelegate
public void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
setActivePart
in interface org.eclipse.ui.IObjectActionDelegate
public static void transform(java.io.File outFile, org.eclipse.core.resources.IFile inFile, java.lang.String styleSheet, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |