﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13309	Caching and notifying preferences	michael2402	michael2402	"Currently, there are many MapFrame.repaint() calls whenever properties change.

Part of this is because colors and other values are cached by each component seperately.

I added a new infrastructure that allows you to get a property and easily cache that result.

To get a property use:
{{{
#!java
new IntegerProperty(""my.property"", ""123"").get()
}}}

To cache the result, use:
{{{
#!java
prop = new IntegerProperty(""my.property"", ""123"").cached(); // registers 123 as default value
prop.get(); // lazy get and convert to int
prop.get(); // get cached integer object
}}}

I added a new preference listener that listens to changes of one specific key to make this efficient."	enhancement	closed	normal	17.04	Core		fixed	gsoc-core	Don-vip bastiK stoecker
