@ApplicationScoped public class PartManager extends Object
LayoutPanelView
.
It's needed to retain each parts state across perspective changes.Constructor and Description |
---|
PartManager() |
Modifier and Type | Method and Description |
---|---|
void |
clearParts() |
org.uberfire.commons.data.Pair<PartDefinition,com.google.gwt.user.client.ui.Widget> |
getActivePart() |
Collection<PartDefinition> |
getParts() |
boolean |
hasActivePart() |
boolean |
hasPart(PartDefinition partDef) |
void |
registerPart(PartDefinition partDef,
com.google.gwt.user.client.ui.Widget w) |
void |
removePart(PartDefinition partDef) |
com.google.gwt.user.client.ui.Widget |
selectPart(PartDefinition partDef) |
public org.uberfire.commons.data.Pair<PartDefinition,com.google.gwt.user.client.ui.Widget> getActivePart()
public boolean hasActivePart()
public void registerPart(PartDefinition partDef, com.google.gwt.user.client.ui.Widget w)
public void removePart(PartDefinition partDef)
public void clearParts()
public Collection<PartDefinition> getParts()
public boolean hasPart(PartDefinition partDef)
public com.google.gwt.user.client.ui.Widget selectPart(PartDefinition partDef)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.