Package com.wisecoders.dbs.schema
Class Layout
java.lang.Object
com.wisecoders.dbs.diagram.model.AbstractUnit
com.wisecoders.dbs.schema.Layout
- All Implemented Interfaces:
AbstractLayout
,TreeUnit
,Unit
,Comparable<AbstractUnit>
Is a diagram plus the Relational Data Browse, SQL editors, Query Builders.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachHierarchical
(Entity entity) void
void
void
autoArrange
(Group group) void
void
void
cloneLayout
(Layout layout, int dx, int dy, boolean copyDiagramProperties) boolean
containsDepictForEntity
(Entity entity) com.wisecoders.dbs.browse.model.Browse
createBrowse
(String name) com.wisecoders.dbs.query.model.items.Query
createQuery
(String name) createScript
(String name) void
generateHtmlDocumentation
(Expose expose) Generate HTML documentation.void
Generate HTML documentation.void
generateHtmlDocumentation
(File file, List<Layout> layouts) Generate HTML documentation.void
generateMarkdownDocumentation
(Expose expose) Generate Markdown documentation.void
generateMarkdownDocumentation
(File file, List<Layout> layouts) Generate Markdown documentation.void
generatePdfDocumentation
(Expose expose) Generate PDF documentation.void
generatePdfDocumentation
(File file) Generate PDF documentation.void
generatePdfDocumentation
(File file, List<Layout> layouts) Generate PDF documentation.getChildAt
(int idx) int
getKey()
com.wisecoders.dbs.sys.fx.glyph.Glyph
boolean
void
refresh()
Calculates new sizevoid
setConfirmed
(boolean confirmed) void
setStoreId
(String id) Methods inherited from class com.wisecoders.dbs.diagram.model.AbstractUnit
compareTo, fixNull, getByName, getByName, getComment, getCommentNotNull, getCommentTag, getCommentTags, getDefaultKey, getDisplayName, getName, getParentEntity, getPlainName, getPropertyAddOnFolder, getString, getSyncFolders, getTickId, getTouchId, getUnitProperty, has, is, is, isMarkedForDeletion, isVirtual, markForDeletion, matches, ref, removeUnitProperty, rename, sameAs, sameAs, setComment, setCommentTag, setCommentTags, setTouchId, setUnitProperty, setVirtual, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.wisecoders.dbs.diagram.model.AbstractLayout
getName
-
Field Details
-
project
-
diagram
-
scripts
-
layoutDepicts
-
browses
-
queries
-
-
Constructor Details
-
Layout
-
-
Method Details
-
getChildrenCount
public int getChildrenCount()- Specified by:
getChildrenCount
in interfaceTreeUnit
- Overrides:
getChildrenCount
in classAbstractUnit
-
getChildAt
- Specified by:
getChildAt
in interfaceTreeUnit
- Overrides:
getChildAt
in classAbstractUnit
-
getEntity
-
getDepicts
- Specified by:
getDepicts
in interfaceAbstractLayout
-
getEntities
-
getSymbolicName
- Specified by:
getSymbolicName
in interfaceUnit
- Specified by:
getSymbolicName
in classAbstractUnit
-
getSymbolicIcon
- Specified by:
getSymbolicIcon
in classAbstractUnit
-
getSymbolicGlyph
public com.wisecoders.dbs.sys.fx.glyph.Glyph getSymbolicGlyph()- Specified by:
getSymbolicGlyph
in classAbstractUnit
-
getParent
- Specified by:
getParent
in interfaceTreeUnit
- Specified by:
getParent
in classAbstractUnit
-
createScript
-
createBrowse
-
createQuery
-
refresh
public void refresh()Calculates new size- Specified by:
refresh
in classAbstractUnit
-
setConfirmed
public void setConfirmed(boolean confirmed) -
isConfirmed
public boolean isConfirmed() -
setStoreId
-
getKey
- Overrides:
getKey
in classAbstractUnit
- Returns:
- A string to uniquely identify this Unit. Is used for saving if is open or not, its position, etc.
-
generateHtmlDocumentation
Generate HTML documentation. Can be called from Groovy code- Parameters:
file
- to save in- Throws:
IOException
- on file operation
-
generateHtmlDocumentation
Generate HTML documentation. Can be called from Groovy code- Parameters:
file
- to generate the documentation inlayouts
- diagrams to generate documentation for- Throws:
IOException
- by problems with the file
-
generateHtmlDocumentation
Generate HTML documentation. Can be called from Groovy code- Parameters:
expose
- specifies the content- Throws:
IOException
- by problems with the file
-
generatePdfDocumentation
Generate PDF documentation. Can be called from Groovy code.- Parameters:
file
- to save in- Throws:
IOException
- on file operation
-
generatePdfDocumentation
Generate PDF documentation. Can be called from Groovy code.- Parameters:
file
- to generate the documentation inlayouts
- to include in the documentation- Throws:
IOException
- by problems with the file
-
generatePdfDocumentation
Generate PDF documentation. Can be called from Groovy code.- Parameters:
expose
- is the specification of the content- Throws:
IOException
- by problems with the file
-
generateMarkdownDocumentation
Generate Markdown documentation. Can be called from Groovy code.- Parameters:
file
- to generate the documentation inlayouts
- to include in the documentation- Throws:
IOException
- by problems with the file
-
generateMarkdownDocumentation
Generate Markdown documentation. Can be called from Groovy code.- Parameters:
expose
- is the specification of the content- Throws:
IOException
- by problems with the file
-
attach
-
attachHierarchical
-
autoArrange
public void autoArrange() -
autoArrange
-
autoArrangeKeepGroups
public void autoArrangeKeepGroups() -
containsDepictForEntity
-
cloneLayout
-
attachManyToManyGeneratedTables
public void attachManyToManyGeneratedTables() -
cleanChildEntities
public void cleanChildEntities()
-