org.nuxeo.theme.perspectives
Class PerspectiveManager
java.lang.Object
org.nuxeo.theme.perspectives.PerspectiveManager
- All Implemented Interfaces:
- Registrable
public class PerspectiveManager
- extends java.lang.Object
- implements Registrable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerspectiveManager
public PerspectiveManager()
getPerspectiveByName
public static PerspectiveType getPerspectiveByName(java.lang.String name)
hasPerspective
public static boolean hasPerspective(java.lang.String perspectiveName)
isVisibleInPerspective
public boolean isVisibleInPerspective(Element element,
PerspectiveType perspective)
setVisibleInPerspective
public static void setVisibleInPerspective(Element element,
PerspectiveType perspective)
setVisibleInAllPerspectives
public void setVisibleInAllPerspectives(Element element)
setVisibleInPerspectives
public void setVisibleInPerspectives(Element element,
java.util.List<java.lang.String> perspectiveNames)
setAlwaysVisible
public void setAlwaysVisible(Element element)
isAlwaysVisible
public boolean isAlwaysVisible(Element element)
getPerspectivesFor
public java.util.List<PerspectiveType> getPerspectivesFor(Element element)
clear
public void clear()
- Description copied from interface:
Registrable
- This method is called when the object is unregistered. Clean up local
variables here.
- Specified by:
clear
in interface Registrable
listPerspectives
public static java.util.List<PerspectiveType> listPerspectives()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.