|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.amp.escape.ide.ActionSetDisabler
public class ActionSetDisabler
On activation of a perspective, disables provided action sets. Note: uses Eclipse internal APIs. Note that there is not currently a mechanism to uninstall though it would be pretty simple to write one. Inspired by code snippet from Dimitri Missoh.
| Constructor Summary | |
|---|---|
ActionSetDisabler()
|
|
| Method Summary | |
|---|---|
static void |
install(java.lang.String targetPerspective,
java.lang.String... disabledActionSets)
Install a perspective listener that disable supplied action sets whenever supplied target perspective is activated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionSetDisabler()
| Method Detail |
|---|
public static void install(java.lang.String targetPerspective,
java.lang.String... disabledActionSets)
targetPerspective - the target perspective iddisabledActionSets - all actions sets that should be disabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||