Refactorings item #780317, was opened at 2003-07-30 16:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=451586&aid=780317&group_id=44253
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Charles Reis (csreis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Consolidate Action-related info
Initial Comment:
Right now, there are several different places where
different attributes of Actions are defined. We should
consolidate all of these attributes into a common
DrJavaAction class so they can be defined in one place
for each Action. This would include:
- Name (in menu)
- "Short Name" (in toolbar)
- Tooltip
- Icon (filename prefix)
- KeyStrokeOption
- The code for the Action itself
For example:
_openAction = new DrJavaAction("Open...", "Open",
"Open existing document",
"open", KEY_OPEN)
{
public void actionPerformed(ActionEvent ae) {
_open();
}
};
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=451586&aid=780317&group_id=44253
|