Skip to content
Snippets Groups Projects
Commit c38b3d2b authored by tcarver's avatar tcarver
Browse files

provide auto fix for GFF

parent 74365ef2
Branches
Tags
No related merge requests found
......@@ -63,7 +63,9 @@ class ValidateViewer extends FileViewer implements EntryGroupChangeListener
update(features);
setVisible(true);
final JButton fixButton = new JButton("Auto-Fix");
if( entryGrp == null || GeneUtils.isGFFEntry( entryGrp ) )
{
final JButton fixButton = new JButton("Auto-Fix Boundaries");
fixButton.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
......@@ -82,6 +84,7 @@ class ValidateViewer extends FileViewer implements EntryGroupChangeListener
}
});
button_panel.add(fixButton);
}
button_panel.add(showFailedFeatures);
showFailedFeatures.addItemListener(new ItemListener(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment