@ApplicationScoped public class WorkbenchServicesImpl extends Object implements WorkbenchServices
Modifier and Type | Field and Description |
---|---|
static String |
PERSPECTIVE_EXTENSION |
Constructor and Description |
---|
WorkbenchServicesImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isWorkbenchOnCluster() |
Map<String,String> |
loadDefaultEditorsMap() |
PerspectiveDefinition |
loadPerspective(String perspectiveName) |
Set<PerspectiveDefinition> |
loadPerspectives() |
SplashScreenFilter |
loadSplashScreenFilter(String filterName) |
void |
removePerspectiveState(String perspectiveId) |
void |
removePerspectiveStates() |
void |
save(SplashScreenFilter splashFilter) |
void |
save(String perspectiveId,
PerspectiveDefinition perspective) |
void |
saveDefaultEditors(Map<String,String> properties) |
public static final String PERSPECTIVE_EXTENSION
public void save(String perspectiveId, PerspectiveDefinition perspective)
save
in interface WorkbenchServices
public void save(SplashScreenFilter splashFilter)
save
in interface WorkbenchServices
public PerspectiveDefinition loadPerspective(String perspectiveName)
loadPerspective
in interface WorkbenchServices
public Set<PerspectiveDefinition> loadPerspectives()
loadPerspectives
in interface WorkbenchServices
public void removePerspectiveState(String perspectiveId)
removePerspectiveState
in interface WorkbenchServices
public void removePerspectiveStates()
removePerspectiveStates
in interface WorkbenchServices
public SplashScreenFilter loadSplashScreenFilter(String filterName)
loadSplashScreenFilter
in interface WorkbenchServices
public Map<String,String> loadDefaultEditorsMap()
loadDefaultEditorsMap
in interface WorkbenchServices
public void saveDefaultEditors(Map<String,String> properties)
saveDefaultEditors
in interface WorkbenchServices
public boolean isWorkbenchOnCluster()
isWorkbenchOnCluster
in interface WorkbenchServices
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.