swingx
  1. swingx
  2. SWINGX-354

Ability to add custom actions to the JXTaskPane titlebar

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      354

      Description

      Ability to add custom actions to the JXTaskPane titlebar.

      Specifically, I want to be able to add a configuration button beside the
      expand/shrink icon so that an end user can select the type of content to be
      displayed in the JXTaskPane.

        Activity

        Hide
        kleopatra added a comment -

        reassigned to the master of the tasks

        Jeanette

        Show
        kleopatra added a comment - reassigned to the master of the tasks Jeanette
        Hide
        Karl Schaefer added a comment -

        Post 1.0.

        Show
        Karl Schaefer added a comment - Post 1.0.
        Hide
        Karl Schaefer added a comment -

        This has been around a long time, but I don't have real detail on what you're
        looking for. Can you please supply some kind of test case, example, image,
        etc. of what you're looking for.

        Karl

        Show
        Karl Schaefer added a comment - This has been around a long time, but I don't have real detail on what you're looking for. Can you please supply some kind of test case, example, image, etc. of what you're looking for. Karl
        Hide
        jeff_brooks added a comment -

        The JXTaskPane has a title bar. There is a expand/shrink button in it. I would
        like to be able to add my own actions in the titlebar that would appear beside
        the expand/shrink button.

        I'll attach a screenshot that shows a help type action in the titlebar to show
        you what I mean.

        Show
        jeff_brooks added a comment - The JXTaskPane has a title bar. There is a expand/shrink button in it. I would like to be able to add my own actions in the titlebar that would appear beside the expand/shrink button. I'll attach a screenshot that shows a help type action in the titlebar to show you what I mean.
        Hide
        jeff_brooks added a comment -

        Created an attachment (id=287)
        A mochup of a help button added to the JXTaskPane

        Show
        jeff_brooks added a comment - Created an attachment (id=287) A mochup of a help button added to the JXTaskPane
        Hide
        Karl Schaefer added a comment -

        Thank you for the screen shot. I have a good idea of what you're looking for
        now. Do you suggest one or N additional actions? Any ideas on how you'd like
        to see that feature implemented?

        Karl

        Show
        Karl Schaefer added a comment - Thank you for the screen shot. I have a good idea of what you're looking for now. Do you suggest one or N additional actions? Any ideas on how you'd like to see that feature implemented? Karl
        Hide
        jeff_brooks added a comment -

        I assume the API would look something like this:

        taskPane.addTitleBarAction(helpAction);
        taskPane.removeTitleBarAction(helpAction);
        taskPane.removeAllTitleBarActions();
        Action[] actions = taskPane.getTitleBarActions();

        It would be useful to be able to add more than one action.

        I also assume that if I disable the Action the button in the toolbar would be
        disabled.

        Show
        jeff_brooks added a comment - I assume the API would look something like this: taskPane.addTitleBarAction(helpAction); taskPane.removeTitleBarAction(helpAction); taskPane.removeAllTitleBarActions(); Action[] actions = taskPane.getTitleBarActions(); It would be useful to be able to add more than one action. I also assume that if I disable the Action the button in the toolbar would be disabled.

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            jeff_brooks
          • Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: