add doWhenDone() method

This commit is contained in:
Konstantin Bulenkov
2015-02-17 00:48:45 +01:00
parent cd17c53bb1
commit be5639b56e
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,5 +54,9 @@ public class RegistryToggleAction extends ToggleAction {
@Override
public void setSelected(AnActionEvent e, boolean state) {
Registry.get(myKey).setValue(state);
doWhenDone(e);
}
public void doWhenDone(AnActionEvent e) {
}
}