Skip to content
Snippets Groups Projects
Commit 58239417 authored by tjc's avatar tjc
Browse files

add option to lazy load data

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@7270 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 55e5a388
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,8 @@ public class LocalAndRemoteFileManager extends JFrame
private SshJTreeTable sshtree;
private JSplitPane treePane = null;
private DatabaseEntrySource entry_source;
public static JCheckBoxMenuItem lazyLoad =
new JCheckBoxMenuItem("Lazy load feature data", false);
public LocalAndRemoteFileManager(JFrame frame)
{
......@@ -535,6 +537,12 @@ public class LocalAndRemoteFileManager extends JFrame
group.add(prefH);
// prefH.setSelected(true);
if(System.getProperty("chado") != null)
{
fileMenu.add(new JSeparator());
fileMenu.add(lazyLoad);
}
JMenuItem fileMenuClose = new JMenuItem("Close");
fileMenuClose.addActionListener(new ActionListener()
{
......@@ -543,6 +551,7 @@ public class LocalAndRemoteFileManager extends JFrame
setVisible(false);
}
});
fileMenu.add(new JSeparator());
fileMenu.add(fileMenuClose);
// remote tool bar set up
......@@ -613,5 +622,6 @@ public class LocalAndRemoteFileManager extends JFrame
{
return entry_source;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment