public class ActivationEntry
extends java.lang.Object
Constructor | Description |
---|---|
ActivationEntry(ActivationType atype,
TopcatModelInfo tinfo) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
activateRowAsync(long lrow,
ActivationMeta meta) |
Invokes the currently configured activation action for this entry,
scheduling it on an appropriate thread and directing the output
to a suitable destination for display.
|
void |
activateRowSync(Activator activator,
long lrow,
ActivationMeta meta) |
Invokes the currently configured activation action for this entry,
returning only when it has completed.
|
ActivatorConfigurator |
getConfigurator() |
Returns the GUI configuration component associated with this entry.
|
javax.swing.JComponent |
getLogPanel() |
Returns the GUI component that displays the results of activation
actions associated with this entry.
|
ActivationType |
getType() |
Returns the activation type managed by this entry.
|
public ActivationEntry(ActivationType atype, TopcatModelInfo tinfo)
atype
- activation typetinfo
- information about TopcatModel for which this entry
will workpublic ActivationType getType()
public ActivatorConfigurator getConfigurator()
public javax.swing.JComponent getLogPanel()
The returned component should manage its own scrolling if required; that is, it will not be wrapped in a JScrollPane.
public void activateRowAsync(long lrow, ActivationMeta meta)
This method should be called on the EDT. It should return in a short amount of time.
lrow
- row index to activatemeta
- activation metadatapublic void activateRowSync(Activator activator, long lrow, ActivationMeta meta)
This method should not be called on the EDT. It may take some time to execute.
activator
- activatorlrow
- row index to activatemeta
- activation metadataCopyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.