aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/CrowIDE/ui/ProjectTree.template
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-13 10:09:01 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-13 10:09:01 +0200
commit74d1288c9990bb251b7097b225891bafdc6758af (patch)
tree8173afa55887a46e9ef44076498be725c5b33ad1 /Samples/CrowIDE/ui/ProjectTree.template
parenta73c8383e6ea636672a3bdb07e084260538fc68a (diff)
removed splitted CrowIDE
Diffstat (limited to 'Samples/CrowIDE/ui/ProjectTree.template')
-rw-r--r--Samples/CrowIDE/ui/ProjectTree.template65
1 files changed, 0 insertions, 65 deletions
diff --git a/Samples/CrowIDE/ui/ProjectTree.template b/Samples/CrowIDE/ui/ProjectTree.template
deleted file mode 100644
index 8ffb17ba..00000000
--- a/Samples/CrowIDE/ui/ProjectTree.template
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0"?>
-<ItemTemplate>
- <Border DataSourceType="ProjectItem" Style="TreeItemBorder" ContextCommands="{Commands}" Focusable="true" MouseDown="onClick" MouseDoubleClick="onDoubleClick">
- <Group>
- <Widget Height="Stretched" Background="RoyalBlue" Visible="{IsSelected}"/>
- <HorizontalStack>
- <Widget Width="5" Height="5"/>
- <Image Style="TreeIcon" Picture="{Icon}"/>
- <Label Text="{DisplayName}" Width="Stretched"/>
- </HorizontalStack>
- </Group>
- </Border>
-</ItemTemplate>
-<ItemTemplate DataType="Crow.Coding.Project" Data="RootItems" DataTest="Type">
- <Expandable DataSourceType="Project" Caption="{Name}" ContextCommands="{Commands}" IsExpanded="{²IsExpanded}" MouseDoubleClick="/onClickForExpand">
- <Template>
- <VerticalStack>
- <Border Style="TreeItemBorder" >
- <HorizontalStack Spacing="1">
- <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
- Path="{./Image}"
- Visible="{./IsExpandable}"
- SvgSub="{./IsExpanded}"
- MouseEnter="{Background=LightGrey}"
- MouseLeave="{Background=Transparent}"/>
- <Image Style="TreeIcon"
- Path="#Crow.Icons.crowproj.svg"/>
- <Widget Width="4" Height="9" Background="Green" Visible="{IsStartupProject}"/>
- <Label Text="{./Caption}"/>
- </HorizontalStack>
- </Border>
- <Container Name="Content" Visible="false"/>
- </VerticalStack>
- </Template>
- <HorizontalStack Height="Fit">
- <Widget Width="8" Height="10"/>
- <VerticalStack Height="Fit" Name="ItemsContainer"/>
- </HorizontalStack>
- </Expandable>
-</ItemTemplate>
-<ItemTemplate DataSourceType="ProjectNode" DataType="ReferenceGroup" Data="ChildNodes" DataTest="Type" >
- <Expandable Caption="{DisplayName}" Template="#Crow.Coding.TreeExpandable.template" IsExpanded="{²IsExpanded}">
- <HorizontalStack Height="Fit">
- <Widget Width="8" Height="10"/>
- <VerticalStack Height="Fit" Name="ItemsContainer"/>
- </HorizontalStack>
- </Expandable>
-</ItemTemplate>
-<ItemTemplate DataType="VirtualGroup" Data="ChildNodes" DataTest="Type">
- <Expandable DataSourceType="ProjectNode" Caption="{DisplayName}" Template="#Crow.Coding.TreeExpandable.template" IsExpanded="{²IsExpanded}">
- <HorizontalStack Height="Fit">
- <Widget Width="8" Height="10"/>
- <VerticalStack Height="Fit" Name="ItemsContainer"/>
- </HorizontalStack>
- </Expandable>
-</ItemTemplate>
-<ItemTemplate DataType="Folder" DataTest="Type">
- <Border DataSourceType="ProjectNode" Style="TreeItemBorder" ContextCommands="{Commands}">
- <HorizontalStack>
- <Image Style="ProjTreeIcon"
- Path="#Crow.Icons.folder.svg"/>
- <Label Text="{DisplayName}" Width="Stretched"/>
- </HorizontalStack>
- </Border>
-</ItemTemplate>