start something to make a Table()
This commit is contained in:
parent
2fc78f1c2a
commit
201ec576bc
|
@ -0,0 +1,59 @@
|
||||||
|
package zoopb
|
||||||
|
|
||||||
|
/*
|
||||||
|
type RepoTable struct {
|
||||||
|
n *gui.Node
|
||||||
|
x *Repos
|
||||||
|
FullPath *repoTableFullPath
|
||||||
|
columns []*gui.NodeColumn
|
||||||
|
order []*gui.NodeColumn
|
||||||
|
}
|
||||||
|
|
||||||
|
type RepoTableRow struct {
|
||||||
|
nodes []*gui.Node
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
type repoTableFullPath struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *repoTableFullPath) Add(s string) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RepoTable) FullPath() *RepoTableFullPath {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *Repos) NewTable() *RepoTable {
|
||||||
|
t := new(RepoTable)
|
||||||
|
t.n = gui.NewTable()
|
||||||
|
return *RepoTable
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RepoTable) AddFullPath() {
|
||||||
|
x.order = append(x.order, x.n.AddStringFunc( f() string {
|
||||||
|
return t.x.getRepoFullPath(rx *RepoTableRow)
|
||||||
|
}))
|
||||||
|
return *RepoTableRow
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RepoTable) Show() {
|
||||||
|
x.order.f()
|
||||||
|
ZZ
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RepoTable) AddMasterVersion() {
|
||||||
|
|
||||||
|
all := x.x.SortByFullPath()
|
||||||
|
for all.Scan() {
|
||||||
|
repo := all.Next()
|
||||||
|
for x.order
|
||||||
|
|
||||||
|
|
||||||
|
return *RepoTableRow
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RepoTable) NewColumn() *RepoRow {
|
||||||
|
t := new(RepoTableRow)
|
||||||
|
return *RepoTableRow
|
||||||
|
}
|
||||||
|
*/
|
Loading…
Reference in New Issue