Uploaded image for project: 'S2Swing'
  1. S2Swing
  2. SWING-2

アクション名およびコンポーネント名に基づくリソース注入の優先順位

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor Minor
    • 0.1.3
    • Affects Version/s: 0.1.2
    • None

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

      @ActionTarget("foo")
      private JButton barButton;

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

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

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

            Assignee:
            kaiseh kaiseh
            Reporter:
            kaiseh kaiseh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: