コード例 #1
0
		/*
		/// <summary>Shows the dialog, in which the user can exchange the underlying table(s) of all plot items in the graph documents given by the <paramref name="list"/>.</summary>
		/// <param name="list">The list of graph documents.</param>
		public static void ShowExchangeTablesOfPlotItemsDialog(IEnumerable<GraphDocument> list)
		{
			var exchangeOptions = ExchangeTablesOfPlotItemsDocument.CreateFromGraphs(list);
			Current.Gui.ShowDialog(ref exchangeOptions, "Exchange tables of plot items", false);
		}
		*/

		#endregion Exchange tables for plot items

		#region Show properties dialog

		public static void ShowPropertyDialog(this GraphDocument doc)
		{
			var propHierarchy = new Altaxo.Main.Properties.PropertyHierarchy(PropertyExtensions.GetPropertyBags(doc));
			Current.Gui.ShowDialog(new object[] { propHierarchy }, "Graph properties", true);
		}
コード例 #2
0
ファイル: ToolCommands.cs プロジェクト: Altaxo/Altaxo
		public override void Run()
		{
			var ph = new Altaxo.Main.Properties.PropertyHierarchy(PropertyExtensions.GetPropertyBagsStartingFromUserSettings());
			Current.Gui.ShowDialog(new object[] { ph }, "Edit user settings", false);
		}
コード例 #3
0
        /// <summary>
        /// Shows the property dialog for this data table.
        /// </summary>
        /// <param name="doc">The data table.</param>
        public static void ShowPropertyDialog(this Altaxo.Data.DataTable doc)
        {
            var propHierarchy = new Altaxo.Main.Properties.PropertyHierarchy(PropertyExtensions.GetPropertyBags(doc));

            Current.Gui.ShowDialog(new object[] { propHierarchy }, "Table properties", true);
        }
コード例 #4
0
        public override void Execute(object parameter)
        {
            var ph = new Altaxo.Main.Properties.PropertyHierarchy(PropertyExtensions.GetPropertyBagsStartingFromUserSettings());

            Current.Gui.ShowDialog(new object[] { ph }, "Edit user settings", false);
        }