public class AlgorithmFavoriteAddAction extends FlowApplicationAction
TAG_ACCELERATOR, TAG_MNEMONIC, TAG_NAME, TAG_TOOLTIPchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
AlgorithmFavoriteAddAction(FlowApplication application)
Cria a ação.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAsFavoriteAlgorithm(csbase.logic.algorithms.AlgorithmInfo info)
Adiciona um algoritmo como favorito
|
void |
handleActionPerformed(ActionEvent e)
Método que implementa a lógica da ação.
|
void |
setAlgorithmInfo(csbase.logic.algorithms.AlgorithmInfo algorithmInfo)
Associa um algoritmo a esta ação.
|
wasChangedWorkspace, wasElementCreated, wasElementDragged, wasElementDragged, wasElementDropped, wasElementParametrized, wasElementRemoved, wasElementSelected, wasLinkAnchored, wasLinkIncreased, wasLinkStatusChanged, wasLinkUnanchored, wasNodeResized, wasParameterSetEnabled, wasParameterSetVisible, wasResetedactionPerformed, getClassString, getDefaultIcon, getString, getStrokeFromTextgetApplicationaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic AlgorithmFavoriteAddAction(FlowApplication application)
application - A aplicação construtura de fluxos.public void handleActionPerformed(ActionEvent e)
handleActionPerformed in class AbstractSimpleApplicationAction<FlowApplication>e - evento que gerou a ação.public final void addAsFavoriteAlgorithm(csbase.logic.algorithms.AlgorithmInfo info)
info - O algoritmo a ser adicionado.public void setAlgorithmInfo(csbase.logic.algorithms.AlgorithmInfo algorithmInfo)
algorithmInfo - O algoritmo.Copyright © 2016. All rights reserved.