public class ToggleInfoTreeCommand extends AbstractDocumentCommand
InfoTreeFrame
visibility.
Hint:
To work properly this command needs a PageView
and an InfoTreeFrame
instance
in the Context
object.
AbstractDocumentCommand.Scope
document
Constructor and Description |
---|
ToggleInfoTreeCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute()
This method is called in order to execute the command.
|
boolean |
isSelected()
Returns the selected state of this command.
|
void |
setInfoTreeFrame(InfoTreeFrame infoTreeFrame)
Deprecated.
Will be used by injection exclusively.
|
canExecute, getRenderControls, getScope, setScope
getPageView, setPageView
getContext, propagateContextChange, setContext
canExecute, execute, getKey, isAvailable, isSelected, setKey
@Deprecated public void setInfoTreeFrame(InfoTreeFrame infoTreeFrame)
Developers should not invoke this method in any direct way.
protected void execute()
InjectedCommand
InjectedCommand.canExecute()
has returned
true
.execute
in class InjectedCommand
public boolean isSelected()
InjectedCommand
isSelected
in class InjectedCommand
Copyright © 2024 levigo holding gmbh. All rights reserved.