|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.joanju.cg.plugin.CgActionManager
public class CgActionManager
Field Summary | |
---|---|
protected java.util.Iterator |
currIter
|
protected java.util.ArrayList<IFile> |
fileList
A list of IFile *.p and *.w objects, generated from the selected resources |
protected int |
topNode
|
protected int |
workDone
|
Constructor Summary | |
---|---|
CgActionManager(IWorkbenchWindow window,
IProRefactorAction action)
|
Method Summary | |
---|---|
protected void |
addContainer(IContainer theContainer)
|
protected void |
addFile(IFile theFile)
|
protected void |
addIResource(IResource theRes)
|
protected void |
checkForProjectChange(IResource theResource)
|
void |
console(java.lang.String theMessage)
Write a message to the console. |
void |
consoleClear()
Clear the console. |
protected void |
consoleCreate()
|
int |
doRun()
Run for the current selection. |
java.io.File |
getCurrFile()
Get the current java.io.File from the current IResource. |
IFile |
getCurrIFile()
Get the current IFile resource. |
java.lang.String |
getCurrProjectName()
|
java.util.ArrayList<IFile> |
getFileList()
|
int |
getNumSelected()
Get the number of selected files. |
boolean |
isCanceled()
|
protected void |
loadSelectionList(ISelection iselection)
|
void |
reportError(java.lang.String errMess)
Shows an error message in a MessageDialog and in the Console. |
void |
run2(IProgressMonitor monitor,
java.util.Iterator it)
|
void |
setProgressDialogText(java.lang.String newText)
|
int |
setup(ISelection iselection)
Set up this ActionManager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Iterator currIter
protected java.util.ArrayList<IFile> fileList
protected int topNode
protected int workDone
Constructor Detail |
---|
public CgActionManager(IWorkbenchWindow window, IProRefactorAction action)
Method Detail |
---|
protected void addContainer(IContainer theContainer)
protected void addFile(IFile theFile)
protected void addIResource(IResource theRes)
protected void checkForProjectChange(IResource theResource)
public void console(java.lang.String theMessage)
public void consoleClear()
protected void consoleCreate() throws PartInitException
PartInitException
public int doRun()
public java.io.File getCurrFile()
public IFile getCurrIFile()
public java.lang.String getCurrProjectName()
public int getNumSelected()
public java.util.ArrayList<IFile> getFileList()
public boolean isCanceled()
protected void loadSelectionList(ISelection iselection)
public void reportError(java.lang.String errMess)
public void run2(IProgressMonitor monitor, java.util.Iterator it) throws java.lang.InterruptedException
java.lang.InterruptedException
public void setProgressDialogText(java.lang.String newText)
public int setup(ISelection iselection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |