|
|
@ -220,11 +220,16 @@ public abstract class TemplateThemeProfilePane<T extends TemplateTheme> extends |
|
|
|
saveButton.setEnabled(false); |
|
|
|
saveButton.setEnabled(false); |
|
|
|
saveAsButton.setEnabled(true); |
|
|
|
saveAsButton.setEnabled(true); |
|
|
|
actionListener.onSaved(config.cachedFetch(getName())); |
|
|
|
actionListener.onSaved(config.cachedFetch(getName())); |
|
|
|
|
|
|
|
SwingUtilities.invokeLater(new Runnable() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void run() { |
|
|
|
DesignerToastMsgUtil.toastPrompt(Toolkit.i18nText("Fine-Design_Basic_Template_Theme_Profile_Pane_Save_Successfully")); |
|
|
|
DesignerToastMsgUtil.toastPrompt(Toolkit.i18nText("Fine-Design_Basic_Template_Theme_Profile_Pane_Save_Successfully")); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
return saveButton; |
|
|
|
return saveButton; |
|
|
|
} |
|
|
|
} |
|
|
|
public UIButton createSaveAsButton(final TemplateThemeProfileDialog<T> profileDialog) { |
|
|
|
public UIButton createSaveAsButton(final TemplateThemeProfileDialog<T> profileDialog) { |
|
|
|