mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-238385 cleanup MyPluginModel
(cherry picked from commit cf3e93ee17da79850855f349404374509365f6b5) IJ-MR-196017 GitOrigin-RevId: a11e3acf88c28f07228635c3dad18944864a6f63
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4f3f384417
commit
e88b2c7509
@@ -154,19 +154,15 @@ open class MyPluginModel(project: Project?) : InstalledPluginsTableModel(project
|
||||
}
|
||||
|
||||
fun clear(parentComponent: JComponent?) {
|
||||
UiPluginManager.getInstance().resetSession(mySessionId.toString(), false,
|
||||
parentComponent) {
|
||||
UiPluginManager.getInstance().resetSession(mySessionId.toString(), false, parentComponent) {
|
||||
applyChangedStates(it)
|
||||
updateEnabledStateInUi()
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
fun cancel(parentComponent: JComponent?, removeSession: Boolean) {
|
||||
UiPluginManager.getInstance().resetSession(mySessionId.toString(), removeSession,
|
||||
parentComponent) {
|
||||
UiPluginManager.getInstance().resetSession(mySessionId.toString(), removeSession, parentComponent) {
|
||||
applyChangedStates(it)
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user