if (visibility != this.visibility) if (PluginDebugManager.isDebugState()) if (visibility == InspectableProperty.ALWAYS_VISIBLE) PluginDebugManager.getDebugPlugin().registerMonitor(this); else if (this.visibility == InspectableProperty.ALWAYS_VISIBLE) PluginDebugManager.getDebugPlugin().deregisterMonitor(this);
public void setVisibility(int visibility){	this.visibility = visibility;	if (record!=null) record.fieldValueChanged(this);	//updateInspector();}