• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

テキストの各行をキーと値に分離し、複数テキストファイルを読み込み、キーを突き合わせ照合し、その結果を表示するGUIユーテリティです。


コミットメタ情報

リビジョン965f86c3bcc4f4ca6a94af9448a5bdcaaaef9e85 (tree)
日時2011-10-16 17:00:38
作者seraphy <seraphy@dime...>
コミッターseraphy

ログメッセージ

ショットカットキー対応

変更サマリ

差分

--- a/src/textkeymatcher/ui/TextKeyMatcherView.form
+++ b/src/textkeymatcher/ui/TextKeyMatcherView.form
@@ -10,12 +10,12 @@
1010 <Layout>
1111 <DimensionLayout dim="0">
1212 <Group type="103" groupAlignment="0" attributes="0">
13- <Component id="dataViewTableSP" alignment="0" pref="487" max="32767" attributes="0"/>
13+ <Component id="dataViewTableSP" alignment="0" pref="464" max="32767" attributes="0"/>
1414 </Group>
1515 </DimensionLayout>
1616 <DimensionLayout dim="1">
1717 <Group type="103" groupAlignment="0" attributes="0">
18- <Component id="dataViewTableSP" alignment="0" pref="404" max="32767" attributes="0"/>
18+ <Component id="dataViewTableSP" alignment="0" pref="388" max="32767" attributes="0"/>
1919 </Group>
2020 </DimensionLayout>
2121 </Layout>
@@ -35,7 +35,6 @@
3535 <Property name="autoResizeMode" type="int" value="0"/>
3636 <Property name="gridColor" type="java.awt.Color" resourceKey="dateViewTable.gridColor"/>
3737 <Property name="name" type="java.lang.String" value="dateViewTable" noResource="true"/>
38- <Property name="showGrid" type="boolean" value="true"/>
3938 <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
4039 <TableHeader reorderingAllowed="true" resizingAllowed="true"/>
4140 </Property>
@@ -70,7 +69,6 @@
7069 <Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor">
7170 <action class="textkeymatcher.ui.TextKeyMatcherView" id="onNew" methodName="onNew"/>
7271 </Property>
73- <Property name="mnemonic" type="int" value="78"/>
7472 <Property name="text" type="java.lang.String" resourceKey="newMenuItem.text"/>
7573 <Property name="name" type="java.lang.String" value="newMenuItem" noResource="true"/>
7674 </Properties>
@@ -287,27 +285,28 @@
287285 <Layout>
288286 <DimensionLayout dim="0">
289287 <Group type="103" groupAlignment="0" attributes="0">
290- <Component id="statusPanelSeparator" alignment="0" pref="454" max="32767" attributes="0"/>
291- <Group type="102" alignment="0" attributes="0">
292- <EmptySpace max="-2" attributes="0"/>
293- <Component id="statusMessageLabel" min="-2" max="-2" attributes="0"/>
294- <EmptySpace pref="258" max="32767" attributes="0"/>
295- <Component id="progressBar" min="-2" max="-2" attributes="0"/>
296- <EmptySpace max="-2" attributes="0"/>
297- <Component id="statusAnimationLabel" min="-2" max="-2" attributes="0"/>
288+ <Group type="102" attributes="0">
298289 <EmptySpace max="-2" attributes="0"/>
290+ <Group type="103" groupAlignment="0" attributes="0">
291+ <Group type="102" attributes="0">
292+ <Component id="statusMessageLabel" min="-2" max="-2" attributes="0"/>
293+ <EmptySpace pref="268" max="32767" attributes="0"/>
294+ <Component id="statusAnimationLabel" min="-2" max="-2" attributes="0"/>
295+ <EmptySpace min="-2" pref="151" max="-2" attributes="0"/>
296+ </Group>
297+ <Component id="progressBar" alignment="1" min="-2" max="-2" attributes="0"/>
298+ </Group>
299299 </Group>
300300 </Group>
301301 </DimensionLayout>
302302 <DimensionLayout dim="1">
303303 <Group type="103" groupAlignment="0" attributes="0">
304- <Group type="102" alignment="0" attributes="0">
305- <Component id="statusPanelSeparator" min="-2" pref="2" max="-2" attributes="0"/>
304+ <Group type="102" alignment="1" attributes="0">
305+ <Component id="progressBar" min="-2" max="-2" attributes="0"/>
306306 <EmptySpace max="32767" attributes="0"/>
307307 <Group type="103" groupAlignment="3" attributes="0">
308308 <Component id="statusMessageLabel" alignment="3" min="-2" max="-2" attributes="0"/>
309309 <Component id="statusAnimationLabel" alignment="3" min="-2" max="-2" attributes="0"/>
310- <Component id="progressBar" alignment="3" min="-2" max="-2" attributes="0"/>
311310 </Group>
312311 <EmptySpace min="-2" pref="3" max="-2" attributes="0"/>
313312 </Group>
@@ -315,15 +314,6 @@
315314 </DimensionLayout>
316315 </Layout>
317316 <SubComponents>
318- <Component class="javax.swing.JSeparator" name="statusPanelSeparator">
319- <Properties>
320- <Property name="name" type="java.lang.String" value="statusPanelSeparator" noResource="true"/>
321- </Properties>
322- <AuxValues>
323- <AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/>
324- <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
325- </AuxValues>
326- </Component>
327317 <Component class="javax.swing.JLabel" name="statusMessageLabel">
328318 <Properties>
329319 <Property name="name" type="java.lang.String" value="statusMessageLabel" noResource="true"/>
@@ -387,6 +377,6 @@
387377 <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
388378 <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
389379 <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
390- <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-47,0,0,1,-25"/>
380+ <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-77,0,0,1,-48"/>
391381 </AuxValues>
392382 </Form>
--- a/src/textkeymatcher/ui/TextKeyMatcherView.java
+++ b/src/textkeymatcher/ui/TextKeyMatcherView.java
@@ -179,7 +179,6 @@ public class TextKeyMatcherView extends FrameView {
179179 javax.swing.JMenu helpMenu = new javax.swing.JMenu();
180180 javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();
181181 statusPanel = new javax.swing.JPanel();
182- javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator();
183182 statusMessageLabel = new javax.swing.JLabel();
184183 statusAnimationLabel = new javax.swing.JLabel();
185184 progressBar = new javax.swing.JProgressBar();
@@ -197,18 +196,17 @@ public class TextKeyMatcherView extends FrameView {
197196 org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(textkeymatcher.TextKeyMatcherApp.class).getContext().getResourceMap(TextKeyMatcherView.class);
198197 dateViewTable.setGridColor(resourceMap.getColor("dateViewTable.gridColor")); // NOI18N
199198 dateViewTable.setName("dateViewTable"); // NOI18N
200- dateViewTable.setShowGrid(true);
201199 dataViewTableSP.setViewportView(dateViewTable);
202200
203201 javax.swing.GroupLayout mainPanelLayout = new javax.swing.GroupLayout(mainPanel);
204202 mainPanel.setLayout(mainPanelLayout);
205203 mainPanelLayout.setHorizontalGroup(
206204 mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
207- .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 487, Short.MAX_VALUE)
205+ .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 464, Short.MAX_VALUE)
208206 );
209207 mainPanelLayout.setVerticalGroup(
210208 mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
211- .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 404, Short.MAX_VALUE)
209+ .addComponent(dataViewTableSP, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE)
212210 );
213211
214212 menuBar.setName("menuBar"); // NOI18N
@@ -219,7 +217,6 @@ public class TextKeyMatcherView extends FrameView {
219217
220218 javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(textkeymatcher.TextKeyMatcherApp.class).getContext().getActionMap(TextKeyMatcherView.class, this);
221219 newMenuItem.setAction(actionMap.get("onNew")); // NOI18N
222- newMenuItem.setMnemonic('N');
223220 newMenuItem.setText(resourceMap.getString("newMenuItem.text")); // NOI18N
224221 newMenuItem.setName("newMenuItem"); // NOI18N
225222 fileMenu.add(newMenuItem);
@@ -343,8 +340,6 @@ public class TextKeyMatcherView extends FrameView {
343340 statusPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 32));
344341 statusPanel.setName("statusPanel"); // NOI18N
345342
346- statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N
347-
348343 statusMessageLabel.setName("statusMessageLabel"); // NOI18N
349344
350345 statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
@@ -356,25 +351,24 @@ public class TextKeyMatcherView extends FrameView {
356351 statusPanel.setLayout(statusPanelLayout);
357352 statusPanelLayout.setHorizontalGroup(
358353 statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
359- .addComponent(statusPanelSeparator, javax.swing.GroupLayout.DEFAULT_SIZE, 454, Short.MAX_VALUE)
360354 .addGroup(statusPanelLayout.createSequentialGroup()
361355 .addContainerGap()
362- .addComponent(statusMessageLabel)
363- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 258, Short.MAX_VALUE)
364- .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
365- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
366- .addComponent(statusAnimationLabel)
367- .addContainerGap())
356+ .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
357+ .addGroup(statusPanelLayout.createSequentialGroup()
358+ .addComponent(statusMessageLabel)
359+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 268, Short.MAX_VALUE)
360+ .addComponent(statusAnimationLabel)
361+ .addGap(151, 151, 151))
362+ .addComponent(progressBar, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
368363 );
369364 statusPanelLayout.setVerticalGroup(
370365 statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
371- .addGroup(statusPanelLayout.createSequentialGroup()
372- .addComponent(statusPanelSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE)
366+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, statusPanelLayout.createSequentialGroup()
367+ .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
373368 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
374369 .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
375370 .addComponent(statusMessageLabel)
376- .addComponent(statusAnimationLabel)
377- .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
371+ .addComponent(statusAnimationLabel))
378372 .addGap(3, 3, 3))
379373 );
380374
--- a/src/textkeymatcher/ui/resources/TextKeyMatcherView.properties
+++ b/src/textkeymatcher/ui/resources/TextKeyMatcherView.properties
@@ -49,7 +49,7 @@ existsLeftRadioButtonMenuItem.text=Exists First Column
4949 missingLeftRadioButtonMenuItem.text=Missing First Column
5050 onImportData.BlockingDialog.title=Loading...
5151 onImportData.BlockingDialog.optionPane.message=wait a moment
52-onImportData.Action.accelerator=meta pressed I
52+onImportData.Action.accelerator=shortcut I
5353 onImportData.Action.shortDescription=import data
5454 onImportData.Action.text=
5555 #NOI18N
@@ -61,4 +61,7 @@ onLoad.Action.shortDescription=
6161 onNew.Action.shortDescription=
6262 onNew.Action.text=
6363 confirm.discard.title=CONFIRM
64-confirm.discard.message=Are you sure you want to discard your changes?
\ No newline at end of file
64+confirm.discard.message=Are you sure you want to discard your changes?
65+onNew.Action.accelerator=shortcut N
66+onLoad.Action.accelerator=shortcut O
67+onSave.Action.accelerator=shortcut S
--- a/src/textkeymatcher/ui/resources/TextKeyMatcherView_ja_JP.properties
+++ b/src/textkeymatcher/ui/resources/TextKeyMatcherView_ja_JP.properties
@@ -21,7 +21,7 @@ missingLeftRadioButtonMenuItem.text=\u5de6\u7aef\u30ab\u30e9\u30e0\u304c\u7a7a\u
2121 onImportData.Action.text=
2222 onImportData.BlockingDialog.title=\u30ed\u30fc\u30c9\u4e2d
2323 onImportData.BlockingDialog.optionPane.message=\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044
24-onImportData.Action.accelerator=meta pressed I
24+onImportData.Action.accelerator=shortcut I
2525 onImportData.Action.shortDescription=\u30a4\u30f3\u30dd\u30fc\u30c8
2626 dateViewTable.gridColor=153, 153, 153
2727 showAboutBox.Action.text=\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831...
@@ -52,3 +52,6 @@ onNew.Action.shortDescription=
5252 onNew.Action.text=
5353 confirm.discard.title=\u78ba\u8a8d
5454 confirm.discard.message=\u5909\u66f4\u3092\u7834\u68c4\u3057\u3066\u3082\u3088\u308d\u3057\u3044\u3067\u3059\u304b?
55+onNew.Action.accelerator=shortcut N
56+onLoad.Action.accelerator=shortcut O
57+onSave.Action.accelerator=shortcut S