|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
com.mindtree.techworks.insight.gui.action.LoadLocalFileAction
public class LoadLocalFileAction
The LoadLocalFileAction class is an AbstractAction derivative that
provides ability to load files from the local or mounted file systems.
Provide a file chooser that may be used to load log files into the Insight.
Insight,
Serialized Form| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Overriden super class method |
void |
addNamespaceForLoad(LogNamespace namespace)
Adds the specified LogNamespace for load |
void |
browseAndLoadLocalFiles()
Displays a JFileChooser for loacl and mounted file systems. |
void |
endLoadEventNotification(LogNamespace[] namespaces,
int infoFlag)
ReceiverListener interface method implementation. |
static LoadLocalFileAction |
getInstance()
Accessor method to obtain instance of this class |
AbstractReceiver |
getReceiver()
Returns the currently active AbstractReceiver, if any, or null otherwise |
void |
initialize(Insight insightInstance)
Initializes this LoadFileAction the first time. |
void |
loadNamespaces()
Loads the LogNamespace(s) that have been added for load |
void |
LoadOnFileSelection(java.lang.String fileName)
Launches insight with the log file passed. |
void |
startLoadEventNotification(LogNamespace[] namespaces)
ReceiverListener interface method implementation. |
void |
startupReceiver(LogNamespace namespace)
Starts up the Receiver with the specified parameters |
| 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, toString, wait, wait, wait |
| Method Detail |
|---|
public static final LoadLocalFileAction getInstance()
public void initialize(Insight insightInstance)
insightInstance - the Insight that created an instance of this classpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerActionListener.actionPerformed(java.awt.event.ActionEvent)public void startupReceiver(LogNamespace namespace)
namespace - the LogNamespace for loadpublic void startLoadEventNotification(LogNamespace[] namespaces)
startLoadEventNotification in interface ReceiverListenernamespaces - LogNamespace of the Files or sources that the Receiver has
started interpretingReceiverListener.startLoadEventNotification(LogNamespace[])
public void endLoadEventNotification(LogNamespace[] namespaces,
int infoFlag)
endLoadEventNotification in interface ReceiverListenernamespaces - LogNamespace s of the Files or sources that the Receiver has
interpreted.infoFlag - flag identifier that denotes the status of the load operationReceiverListener.endLoadEventNotification(LogNamespace[], int)public void addNamespaceForLoad(LogNamespace namespace)
namespace - the LogNamespace for loadpublic void loadNamespaces()
addNamespaceForLoad(LogNamespace)public void browseAndLoadLocalFiles()
public void LoadOnFileSelection(java.lang.String fileName)
fileName - - log file's absolute path.public AbstractReceiver getReceiver()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||