@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<org.uberfire.workbench.model.PartDefinition,com.google.gwt.user.client.ui.Widget> |
getActivePart() |
Collection<org.uberfire.workbench.model.PartDefinition> |
getParts() |
boolean |
hasActivePart() |
boolean |
hasPart(org.uberfire.workbench.model.PartDefinition partDef) |
void |
registerPart(org.uberfire.workbench.model.PartDefinition partDef,
com.google.gwt.user.client.ui.Widget w) |
void |
removePart(org.uberfire.workbench.model.PartDefinition partDef) |
com.google.gwt.user.client.ui.Widget |
selectPart(org.uberfire.workbench.model.PartDefinition partDef) |
public org.uberfire.commons.data.Pair<org.uberfire.workbench.model.PartDefinition,com.google.gwt.user.client.ui.Widget> getActivePart()
public boolean hasActivePart()
public void registerPart(org.uberfire.workbench.model.PartDefinition partDef, com.google.gwt.user.client.ui.Widget w)
public void removePart(org.uberfire.workbench.model.PartDefinition partDef)
public void clearParts()
public Collection<org.uberfire.workbench.model.PartDefinition> getParts()
public boolean hasPart(org.uberfire.workbench.model.PartDefinition partDef)
public com.google.gwt.user.client.ui.Widget selectPart(org.uberfire.workbench.model.PartDefinition partDef)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.