public class ActivationEntry extends Object
| Constructor and Description | 
|---|
| ActivationEntry(ActivationType atype,
               TopcatModelInfo tinfo)Constructor. | 
| Modifier and Type | Method and 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. | 
| 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. | 
| boolean | isBlocked()Indicates whether this entry is considered a potential security risk. | 
| void | setBlocked(boolean isBlocked)Sets whether this entry is considered a potential security risk. | 
public ActivationEntry(ActivationType atype, TopcatModelInfo tinfo)
atype - activation typetinfo - information about TopcatModel for which this entry
                  will workpublic ActivationType getType()
public ActivatorConfigurator getConfigurator()
public JComponent getLogPanel()
The returned component should manage its own scrolling if required; that is, it will not be wrapped in a JScrollPane.
public boolean isBlocked()
public void setBlocked(boolean isBlocked)
isBlocked - blocking flagpublic 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-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.