private class JalviewChangeSupport implements PropertyChangeListener
{
- @Override
public void propertyChange(PropertyChangeEvent evt)
{
// Handle change events - most are simply routed to other sources
showDesc.addActionListener(new ActionListener()
{
- @Override
public void actionPerformed(ActionEvent e)
{
descisvisible = !descisvisible;
}
- @Override
public void stateChanged(ChangeEvent e)
{
if (!adjusting)
}
- @Override
public void actionPerformed(ActionEvent e)
{
if (adjusting)
return option;
}
- @Override
public void actionPerformed(ActionEvent e)
{
if (e.getSource() != enabled)
jf.addWindowListener(new WindowListener()
{
- @Override
public void windowActivated(WindowEvent e)
{
// TODO Auto-generated method stub
}
- @Override
public void windowClosed(WindowEvent e)
{
}
- @Override
public void windowClosing(WindowEvent e)
{
thr.interrupt();
}
- @Override
public void windowDeactivated(WindowEvent e)
{
// TODO Auto-generated method stub
}
- @Override
public void windowDeiconified(WindowEvent e)
{
// TODO Auto-generated method stub
}
- @Override
public void windowIconified(WindowEvent e)
{
// TODO Auto-generated method stub
}
- @Override
public void windowOpened(WindowEvent e)
{
// TODO Auto-generated method stub
String curSetName = null;
- @Override
public void itemStateChanged(ItemEvent e)
{
if (settingDialog)
*/
String lastDescrText = null;
- @Override
public void actionPerformed(ActionEvent e)
{
if (e.getSource() instanceof Component)
}
}
- @Override
public void insertUpdate(DocumentEvent e)
{
checkDescrModified();
}
- @Override
public void removeUpdate(DocumentEvent e)
{
checkDescrModified();
}
- @Override
public void changedUpdate(DocumentEvent e)
{
checkDescrModified();
{
new Thread(new Runnable() {
- @Override
public void run()
{
updateWsMenuConfig(false);
{
new Thread(new Runnable() {
- @Override
public void run()
{
progressBar.setVisible(true);
} else {
new Thread(new Runnable() {
- @Override
public void run()
{
Desktop.instance.startServiceDiscovery(false);
wsList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
wsList.addMouseListener(new MouseListener() {
- @Override
public void mouseClicked(MouseEvent e)
{
if (e.getClickCount()>1)
{
editWsUrl_actionPerformed(null);
}
- // TODO Auto-generated method stub
}
- @Override
public void mouseEntered(MouseEvent e)
{
- // TODO Auto-generated method stub
}
- @Override
public void mouseExited(MouseEvent e)
{
- // TODO Auto-generated method stub
-
}
- @Override
public void mousePressed(MouseEvent e)
{
- // TODO Auto-generated method stub
}
- @Override
public void mouseReleased(MouseEvent e)
{
- // TODO Auto-generated method stub
}
protected void resetWs_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void indexByType_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void indexByHost_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void newWsUrl_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void editWsUrl_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void deleteWsUrl_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void moveWsUrlUp_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void moveWsUrlDown_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void enableEnfinServices_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void enableJws2Services_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void enableJws1Services_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
protected void refreshWs_actionPerformed(ActionEvent e)
{
- // TODO Auto-generated method stub
}
Thread oldthread = null;
- @Override
public void run()
{
if (running && oldthread != null && oldthread.isAlive())
}
- @Override
public void attachWSMenuEntry(JMenu wsmenu, final AlignFrame alignFrame)
{
if (running || services == null || services.size() == 0)
getDiscoverer().addPropertyChangeListener(new PropertyChangeListener()
{
- @Override
public void propertyChange(PropertyChangeEvent evt)
{
System.out.println("Changesupport: There are now "