Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Store edge slope in user preferences.

  • Loading branch information...
commit 4c72a65904e13009f5d2c13eda21fa03e4399a92 1 parent ed23922
@jawi authored
View
4 client/src/main/java/nl/lxtreme/ols/client/diagram/settings/MutableDiagramSettings.java
@@ -375,6 +375,9 @@ public void readPreferences( final Preferences aPreferences )
String colorSchemeName = aPreferences.get( "colorScheme", this.colorScheme.name() );
setColorScheme( ColorScheme.valueOf( colorSchemeName ) );
+
+ String edgeSlopeName = aPreferences.get( "edgeSlope", this.edgeSlope.name() );
+ setEdgeSlope( EdgeSlope.valueOf( edgeSlopeName ) );
}
/**
@@ -673,6 +676,7 @@ public void writePreferences( final Preferences aPreferences )
aPreferences.put( "colorTarget", this.colorTarget.name() );
aPreferences.put( "colorScheme", this.colorScheme.name() );
+ aPreferences.put( "edgeSlope", this.edgeSlope.name() );
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.