public class MacroEditorView extends HalViewImpl implements MacroEditorPresenter.MyView
| Constructor and Description |
|---|
MacroEditorView(Resources resources) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach()
This method should be called after the view's elements are attached to the DOM.
|
void |
detach()
Counterpart to
HalView.attach(). |
void |
disableMacro(Macro macro) |
void |
empty() |
void |
enableMacro(Macro macro) |
void |
selectMacro(Macro macro) |
void |
setMacros(Iterable<Macro> macros) |
void |
setPresenter(MacroEditorPresenter presenter) |
asElement, asElements, initElement, initElement, initElements, initElements, registerAttachable, registerAttachablesaddToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Inject public MacroEditorView(Resources resources)
public void attach()
HalViewHalPresenter.onReveal().
Do not use ViewImpl.onAttach() to initialize PatternFly components. This works for widgets
only, but not for elements!
attach in interface HalViewattach in class HalViewImplpublic void detach()
HalViewHalView.attach(). Implement this method if you need to remove stuff which was setup in HalView.attach(). The default implementation does nothing.detach in interface HalViewdetach in class HalViewImplpublic void setPresenter(MacroEditorPresenter presenter)
setPresenter in interface HasPresenter<MacroEditorPresenter>public void empty()
empty in interface MacroEditorPresenter.MyViewpublic void setMacros(Iterable<Macro> macros)
setMacros in interface MacroEditorPresenter.MyViewpublic void selectMacro(Macro macro)
selectMacro in interface MacroEditorPresenter.MyViewpublic void enableMacro(Macro macro)
enableMacro in interface MacroEditorPresenter.MyViewpublic void disableMacro(Macro macro)
disableMacro in interface MacroEditorPresenter.MyViewCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.