public class ConfiguredWorkbenchDefinition extends Object implements WorkbenchDefinition
WorkbenchDefinition
.Constructor and Description |
---|
ConfiguredWorkbenchDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
addContentTool(String contentToolName,
ContentToolDefinition contentTool) |
void |
addContentView(ContentPresenterDefinition contentView) |
List<ContentToolDefinition> |
getContentTools() |
List<ContentPresenterDefinition> |
getContentViews() |
Class<? extends DropConstraint> |
getDropConstraintClass() |
String |
getName() |
boolean |
isDialogWorkbench()
Define if this workbench is used for Dialog.
|
boolean |
isDragAndDrop()
Checks if drag&drop is enable.
|
boolean |
isEditable()
Checks if workbench can edit tree view inplace.
|
void |
setContentTools(List<ContentToolDefinition> contentTools) |
void |
setContentViews(List<ContentPresenterDefinition> contentViews) |
void |
setDialogWorkbench(boolean dialogWorkbench) |
void |
setDragAndDrop(boolean dragAndDrop) |
void |
setDropConstraintClass(Class<? extends DropConstraint> dropConstraintClass) |
void |
setEditable(boolean editable) |
void |
setName(String name) |
public String getName()
getName
in interface WorkbenchDefinition
public void setName(String name)
public boolean isDialogWorkbench()
WorkbenchDefinition
isDialogWorkbench
in interface WorkbenchDefinition
public void setDialogWorkbench(boolean dialogWorkbench)
public boolean isEditable()
WorkbenchDefinition
isEditable
in interface WorkbenchDefinition
public void setEditable(boolean editable)
public boolean isDragAndDrop()
WorkbenchDefinition
isDragAndDrop
in interface WorkbenchDefinition
public void setDragAndDrop(boolean dragAndDrop)
public Class<? extends DropConstraint> getDropConstraintClass()
getDropConstraintClass
in interface WorkbenchDefinition
public void setDropConstraintClass(Class<? extends DropConstraint> dropConstraintClass)
public List<ContentPresenterDefinition> getContentViews()
getContentViews
in interface WorkbenchDefinition
public void setContentViews(List<ContentPresenterDefinition> contentViews)
public void addContentView(ContentPresenterDefinition contentView)
public List<ContentToolDefinition> getContentTools()
getContentTools
in interface WorkbenchDefinition
public void setContentTools(List<ContentToolDefinition> contentTools)
public void addContentTool(String contentToolName, ContentToolDefinition contentTool)
Copyright © 2017 Magnolia International Ltd.. All rights reserved.