class UserListDialog.ShowUserInfoAction extends AbstractInfoAction implements javax.swing.event.ListSelectionListener
JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
sc
Constructor and Description |
---|
ShowUserInfoAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected java.lang.String |
createInfoUrl(java.lang.Object infoObject) |
protected void |
updateEnabledState()
Override in subclasses to update the enabled state of the action when
something in the JOSM state changes, i.e.
|
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
confirmLaunchMultiple, launchInfoBrowser, launchInfoBrowsersForSelectedPrimitivesAndNote, updateEnabledState
destroy, getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip
ShowUserInfoAction()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class AbstractInfoAction
protected java.lang.String createInfoUrl(java.lang.Object infoObject)
createInfoUrl
in class AbstractInfoAction
protected void updateEnabledState()
JosmAction
JosmAction.updateEnabledState(Collection)
to respond to changes in the collection
of selected primitives.
Default behavior is empty.updateEnabledState
in class AbstractInfoAction
JosmAction.updateEnabledState(Collection)
,
JosmAction.initEnabledState()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener