JAL-3541 selectively merged build.gradle and gradle.properties
[jalview.git] / srcjar / fr / orsay / lri / varna / applications / fragseq / FragSeqNode.java
diff --git a/srcjar/fr/orsay/lri/varna/applications/fragseq/FragSeqNode.java b/srcjar/fr/orsay/lri/varna/applications/fragseq/FragSeqNode.java
new file mode 100644 (file)
index 0000000..efdd6b0
--- /dev/null
@@ -0,0 +1,17 @@
+package fr.orsay.lri.varna.applications.fragseq;
+
+import javax.swing.tree.DefaultMutableTreeNode;
+
+public class FragSeqNode extends DefaultMutableTreeNode
+{
+       
+       public FragSeqNode(Object o)
+       {
+               super(o);
+       }
+       
+       public boolean isLeaf()
+       {
+               return (this.getUserObject() instanceof FragSeqModel);
+       }
+}
\ No newline at end of file