Beispiel #1
0
 def open_view(self, view_name=None):
     '''
     Open a new view with the given view_name, or if None open a new view
     with a new, unique name.
     Returns the name of the newly opened view.
     '''
     return _manager.getManager().openView(view_name)
Beispiel #2
0
 def open_duplicate_view(self, view_name):
     '''
     Open a duplicate view of an existing view name. View name cannot be null.
     The view's Data and Gui Bean are duplicated so each view has it's own
     copy.
     Returns the name of the newly opened view.
     '''
     return _manager.getManager().openDuplicateView(view_name)
Beispiel #3
0
 def get_open_views(self):
     '''
     Return a list of all the open plot views.
     '''
     return _manager.getManager().getOpenViews()
Beispiel #4
0
def setremoteport(rmiport=0, **kwargs):
    '''Sets the RMI Connection Port to the rmiport arg'''
    _rmiprovider.getInstance().setPort(rmiport)
    _provider.setPlotService(None)
    if _manager is not None:
        _manager.clearManager()