|
|
__init__(self,
struc,
group_name=None)
Creates an entry group with a given list of CTs (via 'struc'). |
|
|
|
|
dtor(self)
Deletes all entries in this entry-group (including removing them from
the Project Table). |
|
|
|
|
add(self,
e)
Adds an entry into this entry-group. |
|
|
|
|
duplicate(self,
entry)
Duplicates an entry (or entries), and the new copy will be put in
this entry-group. |
|
|
|
|
delete(self,
entry)
Deletes one or more entries from the Project Table. |
|
|
|
|
set_readonly(self,
readonly=True)
Sets all entries in this group to be readonly if 'readonly' is True. |
|
|
|
|
set_deletable(self,
deletable=True)
Sets all entries in this group to be deletable if 'deletable' is
True. |
|
|
|
|
is_shown(self)
Returns True if all entries in this group are included into the
Workspace, False otherwise. |
|
|
|
|
is_shown_only(self)
Returns True if all entries in this group and only entries in this
group are included into the Workspace. |
|
|
|
|
show(self,
should_show=True)
Shows all entries in this group onto Maestro workspace if
'should_show' is True, hides them if it is False. |
|
|
|
|
show_only(self,
should_show=True)
Shows all entries in this group onto Maestro workspace and hides
other entries if 'should_show' is True, hides them (not others) if
False. |
|
|
|
|
commit(self)
Commits any belonging changes in the Workspace to their corresponding
entries that are in this entry-group. |
|
|
|
|
get_ct(self,
copy=False)
Returns a list of 'Structure' objects of the CTs of this group. |
|
|
|
|
get_entry(self,
entry_id)
Returns an 'Entry' object whose entry ID is 'entry_id', or None if
the entry is not in this group. |
|
|
|
|
write(self,
fname,
mode='')
Writes all CTs to a file, whose name is given by 'fname'. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|