[SWING-2] アクション名およびコンポーネント名に基づくリソース注入の優先順位 Created: 2009-04-06  Updated: 2009-05-13  Resolved: 2009-05-13

Status: Resolved
Project: S2Swing
Component/s: None
Affects Version/s: 0.1.2
Fix Version/s: 0.1.3

Type: Improvement Priority: Minor
Reporter: kaiseh Assignee: kaiseh
Resolution: Fixed Votes: 0
Labels: None


 Description   

以下のように@ActionTargetアノテーションが付与されたコンポーネントがあり、

@ActionTarget("foo")
private JButton barButton;

以下のようにリソースファイル中で「アクション名に基づくプロパティ指定」と「コンポーネント名に基づくプロパティ指定」の両方があった場合、アクション名に基づく指定が優先される。

foo.Action.text=Foo
barButton.text=Bar

これを、コンポーネント名に基づく指定が優先されるように変更したい。


Generated at Tue Apr 23 16:31:02 JST 2024 using Jira 9.15.0#9150000-sha1:9ead8528714127d8cfabf2446010d7e62c0a195c.