OrsTextPresenterManager¶
Manages all aspects of text annotations
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2018. |
| date: | Oct 30 2015 18:19 |
| dragonflyVersion: | |
| 3.1.0.286 (D) | |
| UUID: | bed278e2761c11e789a9448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsTextPresenterManager.OrsTextPresenterManager.OrsTextPresenterManager(varname=None, managed=True, subclassesToIgnore=None)¶ -
addNewManagedClass(aClass)¶ Adds a text presenter
Parameters: aTextPresenter (ORSModel.ors.VisualText) – a text presenter object
-
closable= False¶
-
getState()¶ This method is called when saving a plugin instance in a session to obtain the information required to set up the plugin at the loading of the session.
The plugin needs to be savable (see
ORSServiceClass.OrsPlugin.abstractPlugin.AbstractPlugin.savable).Return: a string of information that will be sent back to the setState method Rtype: str
-
keepAlive= False¶
-
manageTextPresenter(aTextPresenter)¶ Adds a text presenter
Parameters: aTextPresenter (ORSModel.ors.VisualText) – a text presenter object
-
multiple= False¶
-
orsSelectedObjectsChange()¶
-
savable= True¶
-
setState(aString)¶ This method is called to set up the plugin when loading a session.
Note
This method is called only if the string returned by
ORSServiceClass.OrsPlugin.orsPlugin.OrsPlugin.getState()at the saving of the session was not empty.Parameters: state (str) – string of information as provided by the getState during the saving of the session
-
visibleClasses= ['CxvVolumeROIVisual', 'CxvMesh', 'CxvAbstractDatasetPresenter']¶
-