-
-
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
Refactored exporter and split it into gui and logic #1574
Conversation
c87242b
to
f97d030
Compare
And probably after #1472 as well... |
eae8ed7
to
441fd1c
Compare
441fd1c
to
ddc7930
Compare
@@ -13,26 +13,28 @@ | |||
with this program; if not, write to the Free Software Foundation, Inc., | |||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |||
*/ | |||
package net.sf.jabref.exporter; | |||
package net.sf.jabref.gui.exporter; |
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.
This class is really independent of GUI code, so it should be in logic and not in gui.
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.
import javax.swing.filechooser.FileFilter;
Had to restructure ExportFormat a bit because of that darn FileFilter
...
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.
I see. You are correct! That means the PR is fine from my point of view.
Nice work! I am looking into architectural structure at the moment as well. I would only move one class, as mentioned above. I think it would be cool if we got the |
Thanks! The main purpose was really to see which classes are "easily" testable (=logic) at the moment. |
LGTM 👍 |
ddc7930
to
ebef53d
Compare
Should be a no-brainer but better wait until after 3.5 with merging.