OrsLegendManipulator

Manages manipulation of color bars and legend bars

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:Nov 11 2015 11:18
dragonflyVersion:
 3.0
UUID:7b8c82a8761511e7b6d0448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsLegendManipulator.OrsLegendManipulator.OrsLegendManipulator(varname=None, managed=True)
OrsStateLegendManipulation = 'OrsStateLegendManipulation'
OrsStateLegendManipulationActivation()
closable = False
closeWidget(name)
contextualMenu(context)
eventFilter(source, event)
handleChanged(oldState, newState)

This method is called when the state of the application is changed.

Parameters:
  • oldState (str) – name of the old (previous) state
  • newState (str) – name of the new (current) state
handleTriggered(eventdata)

This method is called on every user input (mouse move, mouse click, key press, …) when the current state of the application is one of those declared by the plugin. This method can be used to perform specific tasks even if no action is currently in progress.

Parameters:eventData (OrsEvent.eventdata.InputEventData) – the event data
keepAlive = False
multiple = False
orsSelectedObjectsChange()
savable = True
setVertical(legendGUID)
showLUTForLegend(legendGUID)
stateDescriptors = [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]