/// <summary> /// Get a cursor from the cursor type. Returns the searching cursor for /// everything except the allowed action. /// </summary> /// <param name="connectActionCursor">The requested cursor style</param> /// <returns></returns> protected override Cursor GetCursorFromCursorType(ConnectActionCursor connectActionCursor) { Cursor cursor = null; switch (connectActionCursor) { case ConnectActionCursor.Allowed: DiagramItem item; if (null != (item = myLastMouseMoveItem)) { foreach (ModelElement element in item.RepresentedElements) { if (element is Role) { cursor = myAllowedCursor; break; } } } break; case ConnectActionCursor.Searching: case ConnectActionCursor.Warning: cursor = Cursors.No; break; } return((cursor == null) ? mySearchingCursor : cursor); }
public virtual void _0001(ConnectActionCursor first) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (first < (ConnectActionCursor)0 || first > (ConnectActionCursor)3) { throw new ArgumentOutOfRangeException("value"); } _FactoryError = first; }
/// <summary> /// Get a cursor from the cursor type. Returns the searching cursor for /// everything except the allowed action. /// </summary> /// <param name="connectActionCursor">The requrested cursor styl</param> /// <returns></returns> protected override Cursor GetCursorFromCursorType(ConnectActionCursor connectActionCursor) { Cursor cursor; switch (connectActionCursor) { case ConnectActionCursor.Allowed: cursor = myRoleReorderConnector ? myAllowedReorderCursor : myAllowedCursor; break; //case ConnectActionCursor.Searching: //case ConnectActionCursor.Disallowed: //case ConnectActionCursor.Warning: default: cursor = mySearchingCursor; break; } return(cursor); }
public PrototypeError() { //Discarded unreachable code: IL_0002, IL_0006 //IL_0003: Incompatible stack heights: 0 vs 1 //IL_0007: Incompatible stack heights: 0 vs 1 SingletonReader.PushGlobal(); base._002Ector(); helperError = (FacadeComposer)0; _ExceptionError = (InternalArrayTypeE)0; m_DatabaseError = (ApplicationState)0; _FactoryError = (ConnectActionCursor)0; _AttributeError = (PageDicCandidate)0; m_PageError = (TaskListAnnotation)0; _SerializerError = (AttributeStyle)0; m_ParserError = (SparklineAxisMinMaxValues)0; _CallbackError = (CacheActions)0; roleError = CodeListAnnotation.m_TokenError; writerError = IndexerTest.m_DecoratorTest; m_ItemError = CodeListAnnotation.m_DispatcherError; listenerError = PublisherRequestStrategy._0001(); }
/// <summary> /// Get a cursor from the cursor type. Returns the searching cursor for /// everything except the allowed action. /// </summary> /// <param name="connectActionCursor">The requrested cursor styl</param> /// <returns></returns> protected override Cursor GetCursorFromCursorType(ConnectActionCursor connectActionCursor) { Cursor cursor; switch (connectActionCursor) { case ConnectActionCursor.Allowed: cursor = myRoleReorderConnector ? myAllowedReorderCursor : myAllowedCursor; break; //case ConnectActionCursor.Searching: //case ConnectActionCursor.Disallowed: //case ConnectActionCursor.Warning: default: cursor = mySearchingCursor; break; } return cursor; }
/// <summary> /// Get a cursor from the cursor type. Returns the searching cursor for /// everything except the allowed action. /// </summary> /// <param name="connectActionCursor">The requested cursor style</param> /// <returns></returns> protected override Cursor GetCursorFromCursorType(ConnectActionCursor connectActionCursor) { Cursor cursor = null; switch (connectActionCursor) { case ConnectActionCursor.Allowed: DiagramItem item; if (null != (item = myLastMouseMoveItem)) { foreach (ModelElement element in item.RepresentedElements) { if (element is Role) { cursor = myAllowedCursor; break; } } } break; case ConnectActionCursor.Searching: case ConnectActionCursor.Warning: cursor = Cursors.No; break; } return (cursor == null) ? mySearchingCursor : cursor; }
/// <summary> /// Get a cursor from the cursor type. Returns the searching cursor for /// everything except the allowed action. /// </summary> /// <param name="connectActionCursor">The requrested cursor styl</param> /// <returns></returns> protected override Cursor GetCursorFromCursorType(ConnectActionCursor connectActionCursor) { Cursor cursor = null; if (connectActionCursor == ConnectActionCursor.Allowed) { DiagramItem item; if (null != (item = myLastMouseMoveItem)) { foreach (ModelElement element in item.RepresentedElements) { if (element is Role || element is SubtypeLink) { cursor = myAllowedCursor; break; } } } } return (cursor == null) ? mySearchingCursor : cursor; }
public override void _0001(ConnectActionCursor value) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 m_ExpressionProperty._0001(value); }
private bool RevertBroadcaster(ConnectActionCursor var1, ConnectActionCursor pred) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 return((var1 & pred) == pred); }