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 TypeMethodDescriptionvoidattachHierarchical(Entity entity) voidvoidvoidautoArrange(Group group) voidvoidvoidcloneLayout(Layout layout, int dx, int dy, boolean copyDiagramProperties) booleancontainsDepictForEntity(Entity entity) com.wisecoders.dbs.browse.model.BrowsecreateBrowse(String name) com.wisecoders.dbs.query.model.items.QuerycreateQuery(String name) createScript(String name) voidgenerateHtmlDocumentation(Expose expose) Generate HTML documentation.voidGenerate HTML documentation.voidgenerateHtmlDocumentation(File file, List<Layout> layouts) Generate HTML documentation.voidgenerateMarkdownDocumentation(Expose expose) Generate Markdown documentation.voidgenerateMarkdownDocumentation(File file, List<Layout> layouts) Generate Markdown documentation.voidgeneratePdfDocumentation(Expose expose) Generate PDF documentation.voidgeneratePdfDocumentation(File file) Generate PDF documentation.voidgeneratePdfDocumentation(File file, List<Layout> layouts) Generate PDF documentation.getChildAt(int idx) intgetKey()com.wisecoders.dbs.sys.fx.glyph.Glyphbooleanvoidrefresh()Calculates new sizevoidsetConfirmed(boolean confirmed) voidsetStoreId(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getChildrenCountin interfaceTreeUnit- Overrides:
getChildrenCountin classAbstractUnit
-
getChildAt
- Specified by:
getChildAtin interfaceTreeUnit- Overrides:
getChildAtin classAbstractUnit
-
getEntity
-
getDepicts
- Specified by:
getDepictsin interfaceAbstractLayout
-
getEntities
-
getSymbolicName
- Specified by:
getSymbolicNamein interfaceUnit- Specified by:
getSymbolicNamein classAbstractUnit
-
getSymbolicIcon
- Specified by:
getSymbolicIconin classAbstractUnit
-
getSymbolicGlyph
public com.wisecoders.dbs.sys.fx.glyph.Glyph getSymbolicGlyph()- Specified by:
getSymbolicGlyphin classAbstractUnit
-
getParent
- Specified by:
getParentin interfaceTreeUnit- Specified by:
getParentin classAbstractUnit
-
createScript
-
createBrowse
-
createQuery
-
refresh
public void refresh()Calculates new size- Specified by:
refreshin classAbstractUnit
-
setConfirmed
public void setConfirmed(boolean confirmed) -
isConfirmed
public boolean isConfirmed() -
setStoreId
-
getKey
- Overrides:
getKeyin 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()
-