/IronPython_Main/Tools/IronStudio/IronStudio/IronStudio/Project/CommonFileNodeProperties.cs
C# | 65 lines | 41 code | 8 blank | 16 comment | 0 complexity | f0734c2cc29dd40d2ef514f411fdeec2 MD5 | raw file
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, CPL-1.0, CC-BY-SA-3.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1, Apache-2.0
- /* ****************************************************************************
- *
- * Copyright (c) Microsoft Corporation.
- *
- * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
- * copy of the license can be found in the License.html file at the root of this distribution. If
- * you cannot locate the Apache License, Version 2.0, please send an email to
- * ironpy@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
- * by the terms of the Apache License, Version 2.0.
- *
- * You must not remove this notice, or any other, from this software.
- *
- * ***************************************************************************/
-
- using System;
- using System.ComponentModel;
- using System.Runtime.InteropServices;
- using Microsoft.VisualStudio.Project;
-
- namespace Microsoft.IronStudio.Project {
- [ComVisible(true), CLSCompliant(false)]
- [Guid(CommonConstants.FileNodePropertiesGuid)]
- public class CommonFileNodeProperties : SingleFileGeneratorNodeProperties {
-
- public CommonFileNodeProperties(HierarchyNode node)
- : base(node) { }
-
- #region properties
-
- //Hide Build Action property from the property inspector
- [Browsable(false)]
- public override BuildAction BuildAction {
- get {
- return base.BuildAction;
- }
- set {
- base.BuildAction = value;
- }
- }
-
- //Hide Custom Tool property from the property inspector
- [Browsable(false)]
- public override string CustomTool {
- get {
- return base.CustomTool;
- }
- set {
- base.CustomTool = value;
- }
- }
-
- //Hide Custom Tool Namespace property from the property inspector
- [Browsable(false)]
- public override string CustomToolNamespace {
- get {
- return base.CustomToolNamespace;
- }
- set {
- base.CustomToolNamespace = value;
- }
- }
-
- #endregion
- }
- }