mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-03 23:56:16 +00:00
Ensure: * CamelCase, ending in Test * No hyphens, spaces, underscores or other non-alpha characters Updated application directory names. Update Jakefiles.
438 lines
30 KiB
XML
438 lines
30 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
|
<dependencies>
|
|
<deployment version="1050" identifier="macosx" />
|
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24506" />
|
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0" />
|
|
</dependencies>
|
|
<objects>
|
|
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
|
<connections>
|
|
<outlet property="delegate" destination="450" id="451" />
|
|
</connections>
|
|
</customObject>
|
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder" />
|
|
<customObject id="-3" userLabel="Application" />
|
|
<menu title="AMainMenu" systemMenu="main" id="29" userLabel="MainMenu">
|
|
<items>
|
|
<menuItem title="CopyAndPaste" id="56">
|
|
<menu key="submenu" title="CopyAndPaste" systemMenu="apple" id="57">
|
|
<items>
|
|
<menuItem title="About CopyAndPaste" id="58">
|
|
<modifierMask key="keyEquivalentModifierMask" />
|
|
<connections>
|
|
<action selector="orderFrontStandardAboutPanel:" target="-2" id="142" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem isSeparatorItem="YES" id="236">
|
|
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
|
</menuItem>
|
|
<menuItem title="Preferences…" keyEquivalent="," id="129" />
|
|
<menuItem isSeparatorItem="YES" id="143">
|
|
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
|
</menuItem>
|
|
<menuItem title="Quit CopyAndPaste" keyEquivalent="q" id="136">
|
|
<connections>
|
|
<action selector="terminate:" target="-3" id="449" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="File" id="83">
|
|
<menu key="submenu" title="File" id="81">
|
|
<items>
|
|
<menuItem title="New" keyEquivalent="n" id="82">
|
|
<connections>
|
|
<action selector="newDocument:" target="-1" id="373" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Open…" keyEquivalent="o" id="72">
|
|
<connections>
|
|
<action selector="openDocument:" target="-1" id="374" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Open Recent" id="124">
|
|
<menu key="submenu" title="Open Recent" systemMenu="recentDocuments" id="125">
|
|
<items>
|
|
<menuItem title="Clear Menu" id="126">
|
|
<connections>
|
|
<action selector="clearRecentDocuments:" target="-1" id="127" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem isSeparatorItem="YES" id="79">
|
|
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
|
</menuItem>
|
|
<menuItem title="Close" keyEquivalent="w" id="73">
|
|
<connections>
|
|
<action selector="performClose:" target="-1" id="193" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Save" keyEquivalent="s" id="75">
|
|
<connections>
|
|
<action selector="saveDocument:" target="-1" id="362" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Save As…" keyEquivalent="S" id="80">
|
|
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
|
<connections>
|
|
<action selector="saveDocumentAs:" target="-1" id="363" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Revert to Saved" id="112">
|
|
<modifierMask key="keyEquivalentModifierMask" />
|
|
<connections>
|
|
<action selector="revertDocumentToSaved:" target="-1" id="364" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="Edit" id="217">
|
|
<menu key="submenu" title="Edit" id="205">
|
|
<items>
|
|
<menuItem title="Undo" keyEquivalent="z" id="207">
|
|
<connections>
|
|
<action selector="undo:" target="-1" id="223" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Redo" keyEquivalent="Z" id="215">
|
|
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
|
<connections>
|
|
<action selector="redo:" target="-1" id="231" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem isSeparatorItem="YES" id="206">
|
|
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
|
</menuItem>
|
|
<menuItem title="Cut" keyEquivalent="x" id="199">
|
|
<connections>
|
|
<action selector="cut:" target="-1" id="228" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Copy" keyEquivalent="c" id="197">
|
|
<connections>
|
|
<action selector="copy:" target="-1" id="224" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Paste" keyEquivalent="v" id="203">
|
|
<connections>
|
|
<action selector="paste:" target="-1" id="226" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Delete" id="202">
|
|
<connections>
|
|
<action selector="delete:" target="-1" id="235" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Select All" keyEquivalent="a" id="198">
|
|
<connections>
|
|
<action selector="selectAll:" target="-1" id="232" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem isSeparatorItem="YES" id="214">
|
|
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
|
</menuItem>
|
|
<menuItem title="Find" id="218">
|
|
<menu key="submenu" title="Find" id="220">
|
|
<items>
|
|
<menuItem title="Find…" tag="1" keyEquivalent="f" id="209">
|
|
<connections>
|
|
<action selector="performFindPanelAction:" target="-1" id="241" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Find Next" tag="2" keyEquivalent="g" id="208" />
|
|
<menuItem title="Find Previous" tag="3" keyEquivalent="G" id="213">
|
|
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
|
</menuItem>
|
|
<menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="221" />
|
|
<menuItem title="Jump to Selection" keyEquivalent="j" id="210">
|
|
<connections>
|
|
<action selector="centerSelectionInVisibleArea:" target="-1" id="245" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="Spelling and Grammar" id="216">
|
|
<menu key="submenu" title="Spelling and Grammar" id="200">
|
|
<items>
|
|
<menuItem title="Show Spelling…" keyEquivalent=":" id="204">
|
|
<connections>
|
|
<action selector="showGuessPanel:" target="-1" id="230" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Check Spelling" keyEquivalent=";" id="201">
|
|
<connections>
|
|
<action selector="checkSpelling:" target="-1" id="225" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Check Spelling While Typing" id="219">
|
|
<connections>
|
|
<action selector="toggleContinuousSpellChecking:" target="-1" id="222" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Check Grammar With Spelling" id="346">
|
|
<connections>
|
|
<action selector="toggleGrammarChecking:" target="-1" id="347" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="Substitutions" id="348">
|
|
<menu key="submenu" title="Substitutions" id="349">
|
|
<items>
|
|
<menuItem title="Smart Copy/Paste" tag="1" keyEquivalent="f" id="350">
|
|
<connections>
|
|
<action selector="toggleSmartInsertDelete:" target="-1" id="355" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Smart Quotes" tag="2" keyEquivalent="g" id="351">
|
|
<connections>
|
|
<action selector="toggleAutomaticQuoteSubstitution:" target="-1" id="356" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Smart Links" tag="3" keyEquivalent="G" id="354">
|
|
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
|
<connections>
|
|
<action selector="toggleAutomaticLinkDetection:" target="-1" id="357" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="Speech" id="211">
|
|
<menu key="submenu" title="Speech" id="212">
|
|
<items>
|
|
<menuItem title="Start Speaking" id="196">
|
|
<connections>
|
|
<action selector="startSpeaking:" target="-1" id="233" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Stop Speaking" id="195">
|
|
<connections>
|
|
<action selector="stopSpeaking:" target="-1" id="227" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="View" id="295">
|
|
<menu key="submenu" title="View" id="296">
|
|
<items>
|
|
<menuItem title="Show Toolbar" keyEquivalent="t" id="297">
|
|
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES" />
|
|
<connections>
|
|
<action selector="toggleToolbarShown:" target="-1" id="366" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Customize Toolbar…" id="298">
|
|
<connections>
|
|
<action selector="runToolbarCustomizationPalette:" target="-1" id="365" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="Window" id="19">
|
|
<menu key="submenu" title="Window" systemMenu="window" id="24">
|
|
<items>
|
|
<menuItem title="Minimize" keyEquivalent="m" id="23">
|
|
<connections>
|
|
<action selector="performMiniaturize:" target="-1" id="37" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Zoom" id="239">
|
|
<connections>
|
|
<action selector="performZoom:" target="-1" id="240" />
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem isSeparatorItem="YES" id="92">
|
|
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
|
</menuItem>
|
|
<menuItem title="Bring All to Front" id="5">
|
|
<connections>
|
|
<action selector="arrangeInFront:" target="-1" id="39" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="Help" id="103">
|
|
<menu key="submenu" title="Help" id="106">
|
|
<items>
|
|
<menuItem title="CopyAndPaste Help" keyEquivalent="?" id="111">
|
|
<connections>
|
|
<action selector="showHelp:" target="-1" id="360" />
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="371">
|
|
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" />
|
|
<windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES" />
|
|
<rect key="contentRect" x="335" y="390" width="791" height="447" />
|
|
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1418" />
|
|
<view key="contentView" id="372">
|
|
<rect key="frame" x="0.0" y="0.0" width="791" height="447" />
|
|
<autoresizingMask key="autoresizingMask" />
|
|
<subviews>
|
|
<textField verticalHuggingPriority="750" id="460">
|
|
<rect key="frame" x="17" y="410" width="237" height="17" />
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Collection View with Copyable Items:" id="461">
|
|
<font key="font" metaFont="system" />
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
|
</textFieldCell>
|
|
</textField>
|
|
<scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="462">
|
|
<rect key="frame" x="20" y="275" width="751" height="127" />
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
|
<clipView key="contentView" id="ANJ-sj-Ktr">
|
|
<rect key="frame" x="1" y="1" width="749" height="125" />
|
|
<autoresizingMask key="autoresizingMask" />
|
|
<subviews>
|
|
<collectionView selectable="YES" allowsMultipleSelection="YES" id="463">
|
|
<rect key="frame" x="0.0" y="0.0" width="749" height="125" />
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
|
<color key="primaryBackgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
|
<userDefinedRuntimeAttributes>
|
|
<userDefinedRuntimeAttribute type="size" keyPath="maxItemSize">
|
|
<size key="value" width="150" height="150" />
|
|
</userDefinedRuntimeAttribute>
|
|
<userDefinedRuntimeAttribute type="size" keyPath="minItemSize">
|
|
<size key="value" width="150" height="150" />
|
|
</userDefinedRuntimeAttribute>
|
|
</userDefinedRuntimeAttributes>
|
|
<connections>
|
|
<binding destination="476" name="content" keyPath="arrangedObjects" id="478" />
|
|
<binding destination="476" name="selectionIndexes" keyPath="selectionIndexes" previousBinding="478" id="481" />
|
|
<outlet property="delegate" destination="450" id="475" />
|
|
<outlet property="itemPrototype" destination="466" id="468" />
|
|
</connections>
|
|
</collectionView>
|
|
</subviews>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
|
</clipView>
|
|
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="464">
|
|
<rect key="frame" x="1" y="144" width="233" height="15" />
|
|
<autoresizingMask key="autoresizingMask" />
|
|
</scroller>
|
|
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="465">
|
|
<rect key="frame" x="234" y="1" width="15" height="143" />
|
|
<autoresizingMask key="autoresizingMask" />
|
|
</scroller>
|
|
</scrollView>
|
|
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" id="472">
|
|
<rect key="frame" x="17" y="20" width="757" height="153" />
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES" />
|
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" id="473">
|
|
<font key="font" metaFont="system" />
|
|
<mutableString key="title">Instructions:
|
|
|
|
1. Select text items in the Collection View or the Text Field and copy it to the system clipboard (Cmd-C on the Mac, Ctrl-C on the PC). It's also possible to select text from "a label with selectable text" and "non-editable field".
|
|
2. Open this application in a different browser window, or even a different browser. You can test copying from Firefox to Chrome, Safari to Internet Explorer or vice versa and so on.
|
|
3. Paste into the Collection View or Text Field of the destination and verify your material transferred correctly.
|
|
4. It is not currently possible to copy or paste images between browsers. Using the Cappuccino menus only, you can copy, cut or paste the image item within this app in this browser window (e.g. to and from the same collection view).</mutableString>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
|
</textFieldCell>
|
|
</textField>
|
|
<textField verticalHuggingPriority="750" id="489">
|
|
<rect key="frame" x="159" y="220" width="609" height="22" />
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES" />
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="490">
|
|
<font key="font" metaFont="system" />
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
|
</textFieldCell>
|
|
</textField>
|
|
<textField verticalHuggingPriority="750" id="491">
|
|
<rect key="frame" x="19" y="223" width="135" height="17" />
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES" />
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Regular Text Field:" id="492">
|
|
<font key="font" metaFont="system" />
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
|
</textFieldCell>
|
|
</textField>
|
|
<textField verticalHuggingPriority="750" id="497">
|
|
<rect key="frame" x="17" y="250" width="757" height="17" />
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxY="YES" />
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" title="A label with selectable text." id="498">
|
|
<font key="font" metaFont="system" />
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
|
</textFieldCell>
|
|
</textField>
|
|
<textField verticalHuggingPriority="750" id="499">
|
|
<rect key="frame" x="19" y="191" width="135" height="17" />
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES" />
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Non-editable Field:" id="500">
|
|
<font key="font" metaFont="system" />
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
|
</textFieldCell>
|
|
</textField>
|
|
<textField verticalHuggingPriority="750" id="501">
|
|
<rect key="frame" x="159" y="188" width="609" height="22" />
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES" />
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="502">
|
|
<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>
|
|
</subviews>
|
|
</view>
|
|
</window>
|
|
<customObject id="450" customClass="AppController">
|
|
<connections>
|
|
<outlet property="aCollectionView" destination="463" id="474" />
|
|
<outlet property="anArrayController" destination="476" id="479" />
|
|
<outlet property="selectableTextField" destination="501" id="503" />
|
|
<outlet property="theWindow" destination="371" id="459" />
|
|
</connections>
|
|
</customObject>
|
|
<collectionViewItem id="466" customClass="CollectionViewItem">
|
|
<connections>
|
|
<outlet property="view" destination="467" id="469" />
|
|
</connections>
|
|
</collectionViewItem>
|
|
<arrayController id="476" />
|
|
<view id="467" customClass="CollectionViewView">
|
|
<rect key="frame" x="0.0" y="0.0" width="100" height="100" />
|
|
<autoresizingMask key="autoresizingMask" />
|
|
<subviews>
|
|
<imageView id="493">
|
|
<rect key="frame" x="17" y="17" width="66" height="66" />
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
|
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="494" />
|
|
</imageView>
|
|
<textField verticalHuggingPriority="750" id="482">
|
|
<rect key="frame" x="17" y="42" width="66" height="17" />
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES" />
|
|
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Label" id="483">
|
|
<font key="font" metaFont="system" />
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
|
</textFieldCell>
|
|
</textField>
|
|
</subviews>
|
|
<connections>
|
|
<outlet property="textField" destination="482" id="488" />
|
|
</connections>
|
|
</view>
|
|
</objects>
|
|
</document> |