Home | Trees | Indices | Help |
|
---|
|
This object is the graphical representation of one sub-Region under the RegionTree. For top-level Regions, a derived class TopRegion is used, which is mostly just named in a different manner.
To constitute a valid Region, it must have a name and shellAccess. The shellAccess is a string of the ipython command needed to access the object. Since these are not variables, their names aren't their access. Generally speaking, their shellAccess will be a traceback up the tree, with the appropriate calls. The exception to this rule is with top-level regions where their name is indeed a shellAccess, where both object attributes still exist with the same value.
Any abstract object, including this one, may have an alias. An alias is nothing more than setting a variable to an Abstract object. The point being that some arbitrarily deep buried object might have an obscene shellAccess, but the user can assign it to a variable and the GUI will realize this and accomdate for it.
These objects are created by having passed it a list of strings that identify the entire tree structure. Rather than just the information specific to this tree branch, every node linearly "under" and including this node is listed. It will find its current depth, and only generate tree items based on that depth (and tree structure "deeper"), until it has no more. All mutations to the list of strings are permanent, so once a line generates a tree item, it disposes of itself.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
OverviewThis function actually sets the text to screen. It will display the name, the fact that it is a Region, and if it exists, the alias name. Notably, this is only 3 columns where the RegionTree has 4 columns. This is because no Regions have dimensions. |
|
|
|
OverviewThis method will take a given alias and set keep track of its reference to this Region. No checks are made currently, as this is assumed to be done in the calling function. This should only really be done from the VariableViewer when the alias has been established.
|
OverviewThis method will create a dialog that simply verifies that the user wishes to delete this region. Note, this deletes the actual data object behind the abstract model. The data can't be recovered after performing this action. |
OverviewThis action assumes something has been copied. Infact it only becomes available if something has been copied. The copied abstract object is stored on the RegionTree. Regions may have other Regions, Lists, or Grids under them. If an attribute was copied, nothing will happen. After a Paste occurs, the copied object is no longer on the "clipboard". |
OverviewJust adds this object to the "clipboard", located on the RegionTree. Doing so will allow Pastes to occur in the menu system. |
OverviewThis will prompt the user for a name. If a valid name is given, and the dialog wasn't cancelled, this method will create an empty Region as a child of the region being represented by this abstract region. |
OverviewThis will prompt the user for a name. If a valid name is given, and the dialog wasn't cancelled, this method will create an empty Grid as a child of the region being represented by this abstract region. |
OverviewThis will prompt the user for a name. If a valid name is given, and the dialog wasn't cancelled, this method will create an empty List as a child of the region being represented by this abstract region. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Mar 21 09:10:52 2008 | http://epydoc.sourceforge.net |