|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--org.fopps.ui.actions.BaseAction
|
+--org.fopps.ui.actions.ItemAction
|
+--org.fopps.ui.actions.CompileAction
Compiles one or more products
| Field Summary |
| Fields inherited from class org.fopps.ui.actions.BaseAction |
GROUP, selectedItems |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
CompileAction(ActionHandler pListener)
|
|
CompileAction(java.lang.String name,
ActionHandler pListener)
|
|
CompileAction(java.lang.String name,
javax.swing.Icon icon,
ActionHandler pListener)
|
|
| Method Summary | |
boolean |
acceptSelection()
Indicates, if an action is able to work with the selected items. |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
addToPopup()
Determines, if action should appear in popup menu |
void |
compilationError(CompilationEvent pEvent,
java.lang.Throwable pException)
Called if an error occurred during compilation |
void |
compilationFinished(CompilationEvent pEvent)
Called if compilation finished |
void |
compilationStarted(CompilationEvent pEvent)
Called if compilation started |
void |
fileCopied(CompilationEvent pEvent,
java.lang.String pSource,
java.lang.String pDest)
Called if a file was copied to the target directory |
void |
fileGenerated(CompilationEvent pEvent,
java.lang.String pDest)
Called if a file was generated |
void |
fileSkipped(CompilationEvent pEvent,
java.lang.String pSource)
Called if a file was skipped (e. g. file not found) |
| Methods inherited from class org.fopps.ui.actions.ItemAction |
itemsNeeded |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CompileAction(ActionHandler pListener)
public CompileAction(java.lang.String name,
ActionHandler pListener)
public CompileAction(java.lang.String name,
javax.swing.Icon icon,
ActionHandler pListener)
| Method Detail |
public boolean acceptSelection()
acceptSelection in class ItemActionpublic boolean addToPopup()
addToPopup in class BaseActionpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class BaseActionActionListener.actionPerformed(ActionEvent)
public void fileGenerated(CompilationEvent pEvent,
java.lang.String pDest)
fileGenerated in interface CompilationListenerpEvent - The compilation eventpDest - Name of the destination file
public void fileSkipped(CompilationEvent pEvent,
java.lang.String pSource)
fileSkipped in interface CompilationListenerpEvent - The compilation eventpSource - Name of the source file
public void fileCopied(CompilationEvent pEvent,
java.lang.String pSource,
java.lang.String pDest)
fileCopied in interface CompilationListenerpEvent - The compilation eventpSource - Name of the source filepDest - Name of the destination filepublic void compilationStarted(CompilationEvent pEvent)
compilationStarted in interface CompilationListenerpEvent - The compilation eventpublic void compilationFinished(CompilationEvent pEvent)
compilationFinished in interface CompilationListenerpEvent - The compilation event
public void compilationError(CompilationEvent pEvent,
java.lang.Throwable pException)
compilationError in interface CompilationListenerpEvent - The compilation eventpException - The raised exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||