if ( getCurrentModelState( ).getLegend( ).getSeparator( ) == null ) { LineAttributes separator = LineAttributesImpl.create( ColorDefinitionImpl.BLACK( ), LineStyle.SOLID_LITERAL, 1 ); separator.setVisible( true ); separator.eAdapters( ) .addAll( getCurrentModelState( ).eAdapters( ) ); getCurrentModelState( ).getLegend( ).setSeparator( separator ); }
	private void manipulateCompatible( )	{		// Make it compatible with old model		if ( getCurrentModelState( ).getInteractivity( ) == null )		{			Interactivity interactivity = InteractivityImpl.create( );			interactivity.eAdapters( )					.addAll( getCurrentModelState( ).eAdapters( ) );			getCurrentModelState( ).setInteractivity( interactivity );		}	}