@Override
protected void htmlMenuItem_actionPerformed(ActionEvent e)
{
- new HTMLOutput(alignPanel,
- alignPanel.seqPanel.seqCanvas.getSequenceRenderer(),
- alignPanel.seqPanel.seqCanvas.getFeatureRenderer());
+ // new HTMLOutput(alignPanel,
+ // alignPanel.getSeqPanel().seqCanvas.getSequenceRenderer(),
+ // alignPanel.getSeqPanel().seqCanvas.getFeatureRenderer());
+ new HtmlSvgOutput(alignPanel);
}
+ @Override
+ public void bioJSMenuItem_actionPerformed(ActionEvent e)
+ {
+ new BioJsHTMLOutput(alignPanel,
- alignPanel.seqPanel.seqCanvas.getFeatureRenderer());
++ alignPanel.getSeqPanel().seqCanvas.getFeatureRenderer());
+ }
public void createImageMap(File file, String image)
{
alignPanel.makePNGImageMap(file, image);
*/
package jalview.gui;
--import java.util.*;
++import jalview.datamodel.AlignmentAnnotation;
++import jalview.datamodel.SequenceGroup;
++import jalview.io.AnnotationFile;
++import jalview.io.FeaturesFile;
++import jalview.io.JalviewFileChooser;
++import jalview.io.JalviewFileView;
++import jalview.util.MessageManager;
++
++import java.awt.BorderLayout;
++import java.awt.Color;
++import java.awt.FlowLayout;
++import java.awt.event.ActionEvent;
++import java.awt.event.ActionListener;
++import java.util.Enumeration;
++import java.util.Hashtable;
import java.util.List;
--import java.awt.*;
--import java.awt.event.*;
--import javax.swing.*;
--
--import jalview.datamodel.*;
--import jalview.io.*;
--import jalview.util.MessageManager;
++import javax.swing.BorderFactory;
++import javax.swing.ButtonGroup;
++import javax.swing.JButton;
++import javax.swing.JInternalFrame;
++import javax.swing.JLabel;
++import javax.swing.JLayeredPane;
++import javax.swing.JPanel;
++import javax.swing.JRadioButton;
++import javax.swing.SwingConstants;
/**
*
{
return fcols;
}
- Enumeration en = ap.av.featuresDisplayed.keys();
++
+ Enumeration en = ap.av.getFeaturesDisplayed().keys();
- FeatureRenderer fr = ap.seqPanel.seqCanvas.getFeatureRenderer(); // consider
+ FeatureRenderer fr = ap.getSeqPanel().seqCanvas.getFeatureRenderer(); // consider
// higher
// level
// method ?
.getColour(renderOrder[ro]).getRGB());
}
- setting.setDisplay(av.featuresDisplayed
+ setting.setDisplay(av.getFeaturesDisplayed()
.containsKey(renderOrder[ro]));
- float rorder = ap.seqPanel.seqCanvas.getFeatureRenderer()
+ float rorder = ap.getSeqPanel().seqCanvas.getFeatureRenderer()
.getOrder(renderOrder[ro]);
if (rorder > -1)
{