Changeset 16936
- Timestamp:
- 08/01/08 15:05:27 (5 years ago)
- Location:
- platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse
- Files:
-
- 7 modified
-
action/AddTabAction.java (modified) (3 diffs)
-
action/Messages.java (modified) (1 diff)
-
action/messages.properties (modified) (1 diff)
-
action/messages_ja.properties (modified) (1 diff)
-
views/LabelProcessor.java (modified) (1 diff)
-
views/SabotterView.java (modified) (1 diff)
-
views/TimeLineViewLabelProvider.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/action/AddTabAction.java
r16211 r16936 48 48 new ColumnPixelData(200), 49 49 new ColumnPixelData(400), 50 new ColumnPixelData(150), 50 51 new ColumnPixelData(150) 51 52 }; … … 69 70 70 71 private TableColumn colTime; 72 73 private TableColumn colService; 71 74 72 75 private Action closeTabAction = new CloseTabAction(); … … 216 219 colTime.addSelectionListener(new ColumnHeaderSelectionListener(tab)); 217 220 colTime.addControlListener(new ColumnSizeListener(view)); 221 222 colService = new TableColumn(table, SWT.NULL); 223 colService.setText(Messages.col_service); 224 colService.addSelectionListener(new ColumnHeaderSelectionListener(tab)); 225 colService.addControlListener(new ColumnSizeListener(view)); 226 218 227 } 219 228 -
platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/action/Messages.java
r15670 r16936 18 18 19 19 public static String col_time; 20 21 public static String col_service; 20 22 21 23 public static String add_tab_dialog_title; -
platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/action/messages.properties
r15670 r16936 3 3 col_message = Message 4 4 col_time = Time 5 col_service = Service 5 6 add_tab_dialog_title = Add new tab 6 7 add_tab_dialog_message = Input new tab name -
platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/action/messages_ja.properties
r15670 r16936 3 3 col_message = \u30e1\u30c3\u30bb\u30fc\u30b8 4 4 col_time = \u6642\u9593 5 col_service = \u30b5\u30fc\u30d3\u30b9 5 6 add_tab_dialog_title = \u30bf\u30d6\u3092\u8ffd\u52a0 6 7 add_tab_dialog_message = \u65b0\u3057\u3044\u30bf\u30d6\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044 -
platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/views/LabelProcessor.java
r16746 r16936 77 77 78 78 /** 79 * 表示するサービスを取得する。 80 * 81 * @param status 82 * @return サービス 83 */ 84 public String getService(ViewMiniblogEntry status){ 85 86 return status.getServiceId(); 87 } 88 89 /** 79 90 * 48x48サイズのアイコンを取得する 80 91 * -
platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/views/SabotterView.java
r16746 r16936 701 701 702 702 }); 703 704 703 txtMessage.addKeyListener(new KeyAdapter() { 705 704 706 705 @Override 707 706 public void keyPressed(KeyEvent e) { 708 // System.out.println("e.keyCode[" + e.keyCode + "] e.stateMask[" + e.stateMask + "]"); 709 if (e.keyCode == 32 && e.stateMask == SWT.CONTROL) { //Ctrl+Spaceのときは補完 710 int caretPosition = txtMessage.getCaretPosition(); 711 String messagePart = txtMessage.getText(0, caretPosition); 707 if (e.keyCode == 32 && e.stateMask == SWT.CONTROL) { 708 String messagePart = txtMessage.getText(0, txtMessage.getCaretPosition()); 712 709 int lastAt = messagePart.lastIndexOf('@'); 713 710 if (lastAt >= 0) { -
platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/views/TimeLineViewLabelProvider.java
r16746 r16936 46 46 case 2: 47 47 result = processor.getTime(miniblogEntry); 48 break; 49 case 3: 50 result = processor.getService(miniblogEntry); 48 51 break; 49 52 default:
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)