@ Pure public static BusLayerDrawerType getPreferredLineDrawAlgorithm ( ) { final Preferences prefs = Preferences . userNodeForPackage ( BusLayerConstants . class ) ; if ( prefs != null ) { final String algo = prefs . get ( "DRAWING_ALGORITHM" , null ) ; //$NON-NLS-1$ if ( algo != null && algo . length ( ) > 0 ) { try { return BusLayerDrawerType . valueOf ( algo ) ; } catch ( Throwable exception ) { // } } } return BusLayerDrawerType . OVERLAP ; }
Replies if the bus network should be drawn with the algorithm .