HelperApplicationUtility.xaml #1

  • //
  • guest/
  • perforce_software/
  • piper/
  • main/
  • windows/
  • R1.1/
  • Perforce/
  • View/
  • HelperApplicationUtility.xaml
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<Window x:Class="Perforce.View.HelperApplicationUtility"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AppHelper" Height="500" Width="500">
    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="20" />
        </Grid.RowDefinitions>
        <DataGrid Name="MappingsGrid" Grid.Row="0" Grid.Column="0" ItemsSource="{Binding Mappings, Mode=TwoWay, UpdateSourceTrigger=LostFocus}" 
                  AutoGenerateColumns="False" SelectionMode="Single"  SelectionUnit="FullRow">
            <DataGrid.Columns>
                <DataGridTextColumn x:Name="Extension" Width="60" Header="Extension" Binding="{Binding Extension}" />
                <DataGridTextColumn x:Name="Application" Width="*" Header="Mapped Application" Binding="{Binding Application, UpdateSourceTrigger=PropertyChanged}" />
                <!--
                Disabled the Browse... button because there seems to be some interference between P4EXP and the P4.NET API
                <DataGridTemplateColumn Width="100">
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <Button Click="BrowseButton_Click" CommandParameter="{Binding}" Content="Browse..." />
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
                </DataGridTemplateColumn>
                -->
            </DataGrid.Columns>
        </DataGrid>
        <Grid Grid.Row="1" HorizontalAlignment="Stretch">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Button Grid.Column="0" Name="SaveButton" Content="Save" Click="SaveButton_Click" />
            <Button Grid.Column="2" DockPanel.Dock="Right" Name="RemoveButton" Content="Remove Selected" Click="RemoveButton_Click" />
        </Grid>
    </Grid>
</Window>
# Change User Description Committed
#1 16507 perforce_software Move to main branch.
//guest/perforce_software/piper/windows/R1.1/Perforce/View/HelperApplicationUtility.xaml
#1 11256 alan_petersen Populate //guest/perforce_software/piper/windows/R1.1/...
from //guest/perforce_software/piper/windows/main/....
//guest/perforce_software/piper/windows/main/Perforce/View/HelperApplicationUtility.xaml
#1 11255 alan_petersen Rename/move file(s)
//guest/perforce_software/piper/windows/Perforce/View/HelperApplicationUtility.xaml
#2 10800 alan_petersen UPDATE:
- Various fixes   
    - fixed bug in which double-click would not work on files locked by the user
    - fixed bug in helper application dialog
    - added 'reconcile files' to context menu in Workspace view
    - updated submit dialog to display error message if submit fails
#1 10761 alan_petersen initial drop of Piper for Windows....

this version still has _many_ bugs (er... i mean "unintended features") but I will be updating it over the next week as more stability is added.