From abf38d1ee2fa212804aad58bbd8d92b4ea5d57bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Sat, 17 Mar 2018 04:31:05 +0100 Subject: [PATCH] crowide lqi explorer --- CrowIDE/CrowIDE.csproj | 4 ++-- CrowIDE/src/CrowIDE.cs | 4 +++- CrowIDE/src/ProjectTree/ImlProjectItem.cs | 5 ++++- CrowIDE/ui/CrowIDE.crow | 1 + .../{LQIsExplorer.crow => DockWindows/winLQIs.crow} | 13 +++++++++---- 5 files changed, 19 insertions(+), 8 deletions(-) rename CrowIDE/ui/{LQIsExplorer.crow => DockWindows/winLQIs.crow} (87%) diff --git a/CrowIDE/CrowIDE.csproj b/CrowIDE/CrowIDE.csproj index 1cae7289..73687723 100644 --- a/CrowIDE/CrowIDE.csproj +++ b/CrowIDE/CrowIDE.csproj @@ -24,7 +24,7 @@ true full false - DEBUG; + DEBUG;DBG_EVENTS prompt 4 false @@ -146,7 +146,6 @@ Crow.Coding.MembersView.template - @@ -298,6 +297,7 @@ + diff --git a/CrowIDE/src/CrowIDE.cs b/CrowIDE/src/CrowIDE.cs index 0332592d..681da208 100644 --- a/CrowIDE/src/CrowIDE.cs +++ b/CrowIDE/src/CrowIDE.cs @@ -42,7 +42,7 @@ namespace Crow.Coding CMDUndo, CMDRedo, CMDCut, CMDCopy, CMDPaste, CMDHelp, CMDAbout, CMDOptions, CMDViewGTExp, CMDViewProps, CMDViewProj, CMDViewProjProps, CMDViewErrors, CMDViewSolution, CMDViewEditor, CMDViewProperties, - CMDViewToolbox, CMDViewSchema, CMDViewStyling,CMDViewDesign, + CMDViewToolbox, CMDViewSchema, CMDViewStyling,CMDViewDesign,CMDViewLQIs, CMDCompile; void initCommands () { @@ -78,6 +78,8 @@ namespace Crow.Coding { Caption = "IML Shematic View", CanExecute = true}; CMDViewStyling = new Command(new Action(() => loadWindow ("#Crow.Coding.ui.DockWindows.winStyleView.crow",this))) { Caption = "Styling Explorer", CanExecute = true}; + CMDViewLQIs = new Command(new Action(() => loadWindow ("#Crow.Coding.ui.DockWindows.winLQIs.crow",this))) + { Caption = "LQIs Explorer", CanExecute = true}; CMDViewGTExp = new Command(new Action(() => loadWindow ("#Crow.Coding.ui.DockWindows.winGTExplorer.crow"))) { Caption = "Graphic Tree Explorer", CanExecute = false}; diff --git a/CrowIDE/src/ProjectTree/ImlProjectItem.cs b/CrowIDE/src/ProjectTree/ImlProjectItem.cs index 0575d177..b967ce50 100644 --- a/CrowIDE/src/ProjectTree/ImlProjectItem.cs +++ b/CrowIDE/src/ProjectTree/ImlProjectItem.cs @@ -54,9 +54,12 @@ namespace Crow.Coding return; instance = value; NotifyValueChanged ("Instance", instance); + NotifyValueChanged ("LQIs", LQIs); } } - + public List LQIs { + get { return instance == null ? null : instance.IFace.LQIs; } + } public Measure DesignWidth { get { return designWidth; } set { diff --git a/CrowIDE/ui/CrowIDE.crow b/CrowIDE/ui/CrowIDE.crow index d721ac36..4f1dd675 100644 --- a/CrowIDE/ui/CrowIDE.crow +++ b/CrowIDE/ui/CrowIDE.crow @@ -28,6 +28,7 @@ + diff --git a/CrowIDE/ui/LQIsExplorer.crow b/CrowIDE/ui/DockWindows/winLQIs.crow similarity index 87% rename from CrowIDE/ui/LQIsExplorer.crow rename to CrowIDE/ui/DockWindows/winLQIs.crow index 72a36fbd..3581141b 100644 --- a/CrowIDE/ui/LQIsExplorer.crow +++ b/CrowIDE/ui/DockWindows/winLQIs.crow @@ -1,7 +1,12 @@  - - - + + + + + + + + -- 2.47.3