java - Eclipse plugin preference page, were changes made? -


i have pretty simple question feel like, have custom preference page extending following superclass:

org.eclipse.jface.preference.fieldeditorpreferencepage 

this preference page has of course preference store associated it, works well. have operations, if of preferences changed when clicking apply button. there simple way detect if preferences modified? i've taken @ "needssaving" example, works little bit differenty expect it. anyway, i'm saving original values of preference store when opening dialog, , when apply clicked check if submitted values , saved values different or not. small plugin, , solutin works fine in case, find hard imagine, there no general solution problem, surely don't have save original values each preference page.

thanks in advance!


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -