public class PerspectiveManager extends Object implements Registrable
Constructor and Description |
---|
PerspectiveManager() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
This method is called when the object is unregistered.
|
static PerspectiveType |
getPerspectiveByName(String name) |
List<PerspectiveType> |
getPerspectivesFor(Element element) |
static boolean |
hasPerspective(String perspectiveName) |
boolean |
isAlwaysVisible(Element element) |
boolean |
isVisibleInPerspective(Element element,
PerspectiveType perspective) |
static List<PerspectiveType> |
listPerspectives() |
void |
setAlwaysVisible(Element element) |
void |
setVisibleInAllPerspectives(Element element) |
static void |
setVisibleInPerspective(Element element,
PerspectiveType perspective) |
void |
setVisibleInPerspectives(Element element,
List<String> perspectiveNames) |
public PerspectiveManager()
public static PerspectiveType getPerspectiveByName(String name)
public static boolean hasPerspective(String perspectiveName)
public boolean isVisibleInPerspective(Element element, PerspectiveType perspective)
public static void setVisibleInPerspective(Element element, PerspectiveType perspective)
public void setVisibleInAllPerspectives(Element element)
public void setVisibleInPerspectives(Element element, List<String> perspectiveNames)
public void setAlwaysVisible(Element element)
public boolean isAlwaysVisible(Element element)
public List<PerspectiveType> getPerspectivesFor(Element element)
public static List<PerspectiveType> listPerspectives()
public void clear()
Registrable
clear
in interface Registrable
Copyright © 2016 Nuxeo SA. All rights reserved.