/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
import java.awt.*;
import java.awt.event.*;
+
import javax.swing.*;
import jalview.bin.*;
*/
public class Preferences extends GPreferences
{
+
/**
* Holds name and link separated with | character. Sequence ID must be
* $SEQUENCE_ID$ or $SEQUENCE_ID=/.possible | chars ./=$
quality.setSelected(Cache.getDefault("SHOW_QUALITY", true));
identity.setSelected(Cache.getDefault("SHOW_IDENTITY", true));
openoverv.setSelected(Cache.getDefault("SHOW_OVERVIEW", false));
+ showUnconserved.setSelected(Cache.getDefault("SHOW_UNCONSERVED", false));
for (int i = 0; i < 13; i++)
{
Cache.applicationProperties.setProperty("ID_ITALICS", Boolean
.toString(idItalics.isSelected()));
-
+ Cache.applicationProperties.setProperty("SHOW_UNCONSERVED",Boolean.toString(showUnconserved.isSelected()));
Cache.applicationProperties.setProperty("ANTI_ALIAS", Boolean
.toString(smoothFont.isSelected()));
}
}
+ /* (non-Javadoc)
+ * @see jalview.jbgui.GPreferences#showunconserved_actionPerformed(java.awt.event.ActionEvent)
+ */
+ protected void showunconserved_actionPerformed(ActionEvent e)
+ {
+ // TODO Auto-generated method stub
+ super.showunconserved_actionPerformed(e);
+ }
private void jbInit() throws Exception
{