예제 #1
0
		/// <summary>
		/// This method is called before an extension is removed from its DesignItem because it should not be applied anymore.
		/// Is called by the ExtensionManager.
		/// </summary>
		public abstract void RemoveExtension(Extension extension);
예제 #2
0
		public override void RemoveExtension(Extension extension)
		{
			throw new NotImplementedException();
		}
예제 #3
0
        /// <summary>
        /// If interface implementing class sets this to false defaultkeyaction will be 
        /// </summary>
        /// <param name="e"></param>
        /// <returns></returns>
        bool InvokeDefaultKeyDownAction(Extension e)
        {
            var keyDown = e as IKeyDown;
            if (keyDown != null) {
                return keyDown.InvokeDefaultAction;
            }

            return true;
        }
예제 #4
0
		/// <summary>
		/// Calls OnRemove() on the DefaultExtension.
		/// </summary>
		public override void RemoveExtension(Extension extension)
		{
			DefaultExtension defaultExtension = extension as DefaultExtension;
			Debug.Assert(defaultExtension != null);
			defaultExtension.CallOnRemove();
		}
예제 #5
0
 /// <summary>
 /// This method is called before an extension is removed from its DesignItem because it should not be applied anymore.
 /// Is called by the ExtensionManager.
 /// </summary>
 public abstract void RemoveExtension(Extension extension);
 public override void RemoveExtension(Extension extension)
 {
     throw new NotImplementedException();
 }