yenaoh90 / chibe

Automatically exported from code.google.com/p/chibe
0 stars 0 forks source link

Detection when the user mixes L2 and L3 #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ChiBE can work with BioPAX L2 and L3, but cannot mix them. So if user starts 
with a level, they cannot merge with another level, or cannot query a database 
of different level. However, the related actions are not doing this check, and 
if user mixes levels, an exception is thrown. These checks should be placed in 
the appropriate actions. The current level can be checked using:

main.getOwlModel().getLevel()

and the error message can be displayed using:

MessageDialog.openError(main.getShell(), title, message);

Original issue reported on code.google.com by ozgunba...@gmail.com on 12 Apr 2012 at 4:33

GoogleCodeExporter commented 8 years ago

Original comment by mervecak...@gmail.com on 10 May 2012 at 11:54