public boolean performOk() {
ScopedPreferenceStore store = new ScopedPreferenceStore(
new ProjectScope(getProject()), ClickPlugin.PLUGIN_ID);
store.setValue(ClickPlugin.PREF_VELOCITY_VARS, VariableModel.serialize(models));
try {
store.save();
} catch(IOException ex){
ClickPlugin.log(ex);
return false;
}
return super.performOk();