A class for representing an entry in the Project Table.
|
|
__init__(self,
ct=None,
entry_name=None,
entry_id=None)
Creates an 'Entry' object using a given CT ('ct') or an entry ID. |
|
|
|
|
dtor(self)
Deletes this entry (including removing it from the Project Table.). |
|
|
|
|
set_readonly(self,
readonly=True)
Sets this entry to be readonly if 'readonly' is True. |
|
|
|
|
set_deletable(self,
deletable=True)
Sets this entry to be deletable if 'deletable' is True. |
|
|
|
|
show(self,
should_show=True)
Shows the CT in Maestro workspace if 'should_show' is True, hides it
if False. |
|
|
|
|
show_only(self,
should_show=True)
Shows the CT in Maestro workspace and hides other CTs if
'should_show' is True, hides it (not others) if False. |
|
|
|
|
is_shown(self)
Returns True if this entry is already included into the Workspace. |
|
|
|
|
|
|
|
commit(self)
Commits any belonging change in the current workspace to this entry. |
|
|
|
|
rename(self,
name)
Changes the entry name to 'name'. |
|
|
|
|
get_ct(self,
copy=False)
Returns a 'Structure' object of the CT of this entry. |
|
|
|
|
write(self,
fname,
mode='')
Writes the CT 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__
|