public class PopupMenuFeature extends Object
Modifier and Type | Method and Description |
---|---|
List<MenuContributor> |
getFixedContributors() |
static PopupMenuFeature |
install(FlexibleTree flextree)
Install this feature on the given flextree.
|
boolean |
isDefaultToTreeRoot()
Return whether popup activations on empty space are treated as activations on the tree root.
|
void |
setDefaultToTreeRoot(boolean defaultToTreeRoot)
Set whether popup activations on empty space are treated as activations on the tree root.
|
void |
uninstall()
Uninstall the feature from the flextree.
|
@CallOnEDT public static PopupMenuFeature install(FlexibleTree flextree)
uninstall()
on the returned instance.flextree
- @CallOnEDT public void uninstall()
@CallOnEDT public List<MenuContributor> getFixedContributors()
@CallableOffEDT public boolean isDefaultToTreeRoot()
@CallableOffEDT public void setDefaultToTreeRoot(boolean defaultToTreeRoot)
true
.defaultToTreeRoot
- Copyright © 2024 levigo holding gmbh. All rights reserved.