<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6154.21" systemVersion="14A261i" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <dependencies> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6154.21"/> </dependencies> <objects> <customObject id="-2" userLabel="File's Owner" customClass="AddPerforceController" customModule="DocHub" customModuleProvider="target"> <connections> <outlet property="addButton" destination="eo0-Hw-t5i" id="1cl-Re-D5B"/> <outlet property="cancelButton" destination="6XZ-yh-mIp" id="tMT-ya-kzw"/> <outlet property="hostname" destination="Xea-SJ-Y3M" id="h7h-uH-5PP"/> <outlet property="login" destination="RD9-h5-skP" id="JPy-B8-MwX"/> <outlet property="password" destination="aux-6y-Aq9" id="Z3s-bN-Es8"/> <outlet property="window" destination="QvC-M9-y7g" id="jdd-GF-5I9"/> </connections> </customObject> <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-3" userLabel="Application"/> <window title="Add Perforce Server" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="QvC-M9-y7g"> <windowStyleMask key="styleMask" titled="YES"/> <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/> <rect key="contentRect" x="196" y="240" width="480" height="270"/> <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/> <view key="contentView" id="EiT-Mj-1SZ"> <rect key="frame" x="0.0" y="0.0" width="480" height="270"/> <autoresizingMask key="autoresizingMask"/> <subviews> <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Xea-SJ-Y3M"> <rect key="frame" x="20" y="203" width="440" height="22"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="hostname:port (e.g., perforce:1666)" drawsBackground="YES" usesSingleLineMode="YES" id="APP-At-rlM"> <font key="font" metaFont="system"/> <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> </textField> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="CDP-mL-rN9"> <rect key="frame" x="20" y="178" width="442" height="17"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Enter Your Perforce Login" id="FVk-HE-3Qj"> <font key="font" metaFont="systemBold"/> <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> </textField> <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RD9-h5-skP"> <rect key="frame" x="20" y="148" width="440" height="22"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="A login like "jdoe"" drawsBackground="YES" usesSingleLineMode="YES" id="5cI-2Q-AhO"> <font key="font" metaFont="system"/> <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> </textField> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DxR-rX-e0w"> <rect key="frame" x="20" y="123" width="442" height="17"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Password" id="kZb-hd-atf"> <font key="font" metaFont="systemBold"/> <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> </textField> <secureTextField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aux-6y-Aq9"> <rect key="frame" x="20" y="93" width="440" height="22"/> <secureTextFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Perforce password, may be empty, depends on security level" drawsBackground="YES" usesSingleLineMode="YES" id="xbm-yk-iUe"> <font key="font" metaFont="system"/> <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> <allowedInputSourceLocales> <string>NSAllRomanInputSourcesLocaleIdentifier</string> </allowedInputSourceLocales> </secureTextFieldCell> </secureTextField> <button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eo0-Hw-t5i"> <rect key="frame" x="400" y="13" width="66" height="32"/> <buttonCell key="cell" type="push" title="Add" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="xe8-MM-LoA"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> <string key="keyEquivalent" base64-UTF8="YES"> DQ </string> </buttonCell> <connections> <action selector="tryAdd:" target="-2" id="4v5-me-DHg"/> </connections> </button> <button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6XZ-yh-mIp"> <rect key="frame" x="317" y="13" width="83" height="32"/> <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="vlh-hK-BOE"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> <string key="keyEquivalent" base64-UTF8="YES"> Gw </string> </buttonCell> <connections> <action selector="cancelOperation:" target="-2" id="yNq-no-g4g"/> </connections> </button> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hc4-kJ-9oT"> <rect key="frame" x="20" y="233" width="444" height="17"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Enter Perforce Server Hostname and Port" id="uz9-ot-4b8"> <font key="font" metaFont="systemBold"/> <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> </textField> </subviews> </view> </window> </objects> </document>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 9475 | tjuricek |
Set up the positive workflow for AddPerforceController to get a login token. This required adding another couple of methods to provide input to the p4api (which were surprisingly absent from the earlier system). |
||
#1 | 9469 | tjuricek | Add sheet view for collecting Perforce connection information. |