Project

General

Profile

Actions

Bug #256

closed

allow toolbar to display alternative widgets

Added by Matt Jones over 22 years ago. Updated over 21 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
07/20/2001
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
256

Description

Toolbar in the framework would be enhanced if the sort order were something that
could be set by plugins, and if plugins could register more than just buttons as
widgets for the toolbar. This goes beyond the capabilities of the current
Action interface, so it'll require an alternative approach.

Actions #1

Updated by Dan Higgins over 21 years ago

The bug fix described here may not be needed as of Java 1.3. The Action class
was changed in Java 1.3 as described in
http://java.sun.com/j2se/1.3/docs/guide/swing/ActionsChanges.html.

It is now recommended that Components be added to Toolbars, menus, etc. and that
the 'setAction' command then be used on the component to attach an Action. or as
stated in the Java Tutorial " as of v 1.3, you can invoke setAction [(in the API
reference documentation)] on all menu items and buttons. We no longer recommend
using the tool bar and menu add(Action) methods."
http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html

Dan Higgins

Actions #2

Updated by Matt Jones over 21 years ago

Buttons seem to be adequate for now. Marking as WONTFIX.

Actions #3

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 256

Actions

Also available in: Atom PDF