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

add isDatabaseEntry(Feature)

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@8522 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent efbf4658
No related branches found
No related tags found
No related merge requests found
...@@ -845,6 +845,20 @@ public class GeneUtils ...@@ -845,6 +845,20 @@ public class GeneUtils
return false; return false;
} }
/**
* Given a feature determine if it belongs to a database entry
* @param entryGroup
* @return
*/
public static boolean isDatabaseEntry(final Feature feature)
{
if( feature.getEntry() instanceof DatabaseDocumentEntry )
return true;
return false;
}
private static void deleteFeature(uk.ac.sanger.artemis.Feature feature) private static void deleteFeature(uk.ac.sanger.artemis.Feature feature)
throws ReadOnlyException throws ReadOnlyException
......
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