def makeRepositoryViewer(parcel): window = FrameWindow.template( 'RepositoryViewerFrameWindow', size=SizeType(768, 512), windowTitle=_(u"Repository Viewer"), eventBoundary=True, childBlocks=[ SplitterWindow.template( 'RepositoryView', displayName=u'Repository Viewer', eventBoundary=True, splitPercentage=0.5, childBlocks=[ Tree.template( 'RepositoryTree', elementDelegate= 'debug.repositoryviewer.Repository.RepositoryDelegate', hideRoot=False, noLines=False, columns=[ Column.update(parcel, 'RepositoryViewColItemName', heading='ItemName', width=160), Column.update(parcel, 'RepositoryViewColDisplayName', heading='Display Name', width=110), Column.update(parcel, 'RepositoryViewColKind', heading='Kind', width=70), Column.update(parcel, 'RepositoryViewColUUID', heading='UUID', width=245), Column.update(parcel, 'RepositoryViewColPath', heading='Path', width=155), ], size=SizeType(600, 200), minimumSize=SizeType(400, 100)), BoxContainer.template('RepositoryItemDetailContainer', border=RectType(4, 0, 0, 0), childBlocks=[ RepositoryItemDetail.template( 'RepositoryItemDetail', size=SizeType(-1, -1)) ]) ]) ]).install(parcel) return window
def makeRepositoryViewer(parcel): window = FrameWindow.template( 'RepositoryViewerFrameWindow', size=SizeType(768, 512), windowTitle = _(u"Repository Viewer"), eventBoundary=True, childBlocks = [ SplitterWindow.template( 'RepositoryView', displayName=u'Repository Viewer', eventBoundary=True, splitPercentage=0.5, childBlocks=[ Tree.template( 'RepositoryTree', elementDelegate='debug.repositoryviewer.Repository.RepositoryDelegate', hideRoot=False, noLines=False, columns = [ Column.update(parcel, 'RepositoryViewColItemName', heading='ItemName', width=160), Column.update(parcel, 'RepositoryViewColDisplayName', heading='Display Name', width=110), Column.update(parcel, 'RepositoryViewColKind', heading='Kind', width=70), Column.update(parcel, 'RepositoryViewColUUID', heading='UUID', width=245), Column.update(parcel, 'RepositoryViewColPath', heading='Path', width=155), ], size=SizeType(600,200), minimumSize=SizeType(400,100)), BoxContainer.template('RepositoryItemDetailContainer', border = RectType(4, 0, 0, 0), childBlocks = [ RepositoryItemDetail.template('RepositoryItemDetail', size=SizeType(-1,-1)) ]) ]) ]).install(parcel) return window
def makeBlockViewer(parcel): window = FrameWindow.template( 'BlockViewerFrameWindow', size=SizeType(768, 512), windowTitle = _(u"Block Viewer"), eventBoundary=True, childBlocks = [ SplitterWindow.template( 'Splitter', eventBoundary=True, splitPercentage=0.5, childBlocks=[ Tree.template( 'Tree', elementDelegate='debug.blockviewer.blockviewer.BlockDelegate', hideRoot=False, noLines=False, columns = [ Column.update( parcel, 'ColumnBlockName', heading='BlockName', width=350), Column.update( parcel, 'ColumnKind', heading='Kind', width=100), Column.update( parcel, 'ColumnWidget', heading='Widget', width=280), Column.update( parcel, 'ColumnUUID', heading='UUID', width=40), ]), BoxContainer.template('BlockItemDetailContainer', border = RectType(4, 0, 0, 0), childBlocks = [ BlockItemDetail.template( 'BlockItemDetail', size=SizeType(-1,-1)) ]) ]) ]).install(parcel) return window
def makeBlockViewer(parcel): window = FrameWindow.template( 'BlockViewerFrameWindow', size=SizeType(768, 512), windowTitle=_(u"Block Viewer"), eventBoundary=True, childBlocks=[ SplitterWindow.template( 'Splitter', eventBoundary=True, splitPercentage=0.5, childBlocks=[ Tree.template( 'Tree', elementDelegate= 'debug.blockviewer.blockviewer.BlockDelegate', hideRoot=False, noLines=False, columns=[ Column.update(parcel, 'ColumnBlockName', heading='BlockName', width=350), Column.update(parcel, 'ColumnKind', heading='Kind', width=100), Column.update(parcel, 'ColumnWidget', heading='Widget', width=280), Column.update(parcel, 'ColumnUUID', heading='UUID', width=40), ]), BoxContainer.template('BlockItemDetailContainer', border=RectType(4, 0, 0, 0), childBlocks=[ BlockItemDetail.template( 'BlockItemDetail', size=SizeType(-1, -1)) ]) ]) ]).install(parcel) return window