public override void alignEdition(TypeEditor interfaceType, globalItem ownParent) { if (interfaceType == TypeEditor.ROUTECONFIG) { setMovable(); setRotable(); } }
public override void alignEdition(TypeEditor interfaceType, globalItem ownParent) { if (interfaceType == TypeEditor.ACTIVITY) { setMovable(); setLineSnap(); setEditable(); setActEdit(); } }
public override void alignEdition(TypeEditor interfaceType, globalItem ownParent) { if (interfaceType == TypeEditor.ROUTECONFIG) { setMovable(); } if (parent == null) { parent = (StationItem)ownParent; } }
public void AddActWidget(globalItem item) { if (item.GetType() == typeof(ActStartItem)) { foreach (var action in ActItemWidget) { if (action.GetType() == typeof(ActStartItem)) { return; } } } else if (item.GetType() == typeof(ActStopItem)) { bool StartFound = false; foreach (var action in ActItemWidget) { if (action.GetType() == typeof(ActStopItem)) { return; } if (action.GetType() == typeof(ActStartItem)) { StartFound = true; } } if (!StartFound) { return; } } else if (item.GetType() == typeof(ActWaitItem)) { bool StartFound = false; foreach (var action in ActItemWidget) { if (action.GetType() == typeof(ActStartItem)) { StartFound = true; } } if (!StartFound) { return; } } ActItemWidget.Add(item); }
public override void alignEdition(TypeEditor interfaceType, globalItem ownParent) { setMovable(); }
public virtual void alignEdition(TypeEditor interfaceType, globalItem ownParent) { }