/// <summary> /// Verifies that a poller is compatible with this DataStream /// </summary> /// <param name="poller">The poller to verify</param> /// <returns>True if the poller is allowed</returns> public virtual bool VerifyPoller(PollingMechanism poller) { // Don't allow if the poller is built-in if (!UsesGenericPollers) { return(false); } return(true); }
/// <summary> /// Clears the selected component /// </summary> public void ClearChoice() { _selected = null; ListBlockContent(); }
/// <summary> /// Changes the block that is being edited /// </summary> /// <param name="component">The IConnectable block editing is switching to</param> public void SetViewingComponent(PollingMechanism component) { _selected = component; ErrorList.SetComponent(_selected); ListBlockContent(); }