Interface IRelationEditorActionAccess

    • Method Detail

      • addMemberTableAction

        default void addMemberTableAction​(java.lang.String actionMapKey,
                                          javax.swing.Action action)
        Adds a keyboard action to the member table.
        Parameters:
        actionMapKey - The key to use
        action - The action to map for that key.
      • getChangedRelation

        default IRelation<?> getChangedRelation()
        Get the changed relation
        Returns:
        The changed relation (note: will not be part of a dataset) or the value returned by getEditor().getRelation(). This should never be null. If called for a temporary use of the relation instance, make sure to cleanup a copy to avoid memory leaks, see #23527
        Since:
        18413
      • wouldRelationBeUseful

        default boolean wouldRelationBeUseful()
        Check if the changed relation would be useful.
        Returns:
        true if the saved relation has at least one tag and one member
        Since:
        19014
      • stopMemberCellEditing

        default boolean stopMemberCellEditing()
        Tells the member table editor to stop editing and accept any partially edited value as the value of the editor. The editor returns false if editing was not stopped; this is useful for editors that validate and can not accept invalid entries.
        Returns:
        true if editing was stopped; false otherwise
        Since:
        18118