-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring back the context menu #3666
Conversation
*/ | ||
public class OldCommandWrapper extends CommandBase { | ||
|
||
private static final Log LOGGER = LogFactory.getLog(OldCommandWrapper.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the new logging private static final Logger LOGGER = LoggerFactory.getLogger(OldCommandWrapper.class);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your PR is not yet merged into javafxTable
and I prefer to do this as soon as all the other maintable PRs are merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, just as a hint to make work then easier. Slf4j has a nice migrator tool (inlcuded in the zip download) https://www.slf4j.org/migrator.html to replace all occurences. Used that for the migration, too.
|
@Siedlerchr Thank you for the feedback. I implemented your suggestions accordingly. |
Can't we have an "Edit" submenu here containing all the edit actions available? For me, this conforms to "Lernförderlichkeit" and "Erwartungskonformität" from EN ISO 9241-110 Grundsätze der Dialoggestaltung. Especially the "Erwawrungskonformität", because I expect that all actions available for the current entry are available in the context menu. |
Removed a few commands that are not needed often and thus don't need to be placed that prominently.
Changes in the architecture:
Action
defined both the visual properties (text, icons, ...) as well as the behavior. These actions are usually defined in the base panel (or main frame).ActionFX
(to be renamed toAction
as soon as the old class can be removed) and the behavior by implementing theCommand
interface. This separation makes it possible to reuse the visual aspects without the ties to the behavior.