Skip to content

Commit

Permalink
move bibsonomy files to jabref package
Browse files Browse the repository at this point in the history
  • Loading branch information
zesaro committed Nov 21, 2016
1 parent 25e0ee8 commit 3a43cdf
Show file tree
Hide file tree
Showing 53 changed files with 185 additions and 226 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref;
package net.sf.jabref.bibsonomy;

/**
* Provide some default values for configuration of the plugin.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref;
package net.sf.jabref.bibsonomy;

import java.util.Optional;
import java.util.Properties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref;
package net.sf.jabref.bibsonomy;

import java.awt.Dimension;

Expand All @@ -8,15 +8,14 @@
import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.SidePaneComponent;
import net.sf.jabref.gui.SidePaneManager;
import net.sf.jabref.gui.bibsonomy.BibsonomyMenuItem;
import net.sf.jabref.gui.bibsonomy.BibsonomySidePanel;
import net.sf.jabref.gui.bibsonomy.BibsonomyToolBarExtender;
import net.sf.jabref.gui.bibsonomy.EntryEditorTabExtender;
import net.sf.jabref.gui.bibsonomy.listener.BibsonomyDataBaseChangeListener;
import net.sf.jabref.gui.bibsonomy.listener.TabbedPaneChangeListener;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.plugin.jabref.gui.BibsonomyMenuItem;
import org.bibsonomy.plugin.jabref.gui.BibsonomySidePanel;
import org.bibsonomy.plugin.jabref.gui.BibsonomyToolBarExtender;
import org.bibsonomy.plugin.jabref.gui.EntryEditorTabExtender;
import org.bibsonomy.plugin.jabref.listener.BibsonomyDataBaseChangeListener;
import org.bibsonomy.plugin.jabref.listener.TabbedPaneChangeListener;

/**
* {@link BibsonomySidePaneComponent} holds the dimension of the {@link BibsonomySidePanel}.
* Additionally it sets the icon and the name.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

import net.sf.jabref.Globals;
import net.sf.jabref.JabRefExecutorService;
import net.sf.jabref.bibsonomy.BibsonomySidePaneComponent;
import net.sf.jabref.gui.actions.Actions;
import net.sf.jabref.gui.actions.AutoLinkFilesAction;
import net.sf.jabref.gui.actions.ErrorConsoleAction;
Expand Down Expand Up @@ -142,7 +143,6 @@
import com.jgoodies.looks.Options;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.bibsonomy.plugin.jabref.BibsonomySidePaneComponent;
import osx.macadapter.MacAdapter;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import javax.swing.AbstractAction;
import javax.swing.Icon;

import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.util.bibsonomy.WorkerUtil;
import net.sf.jabref.gui.worker.AbstractWorker;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.bibsonomy.plugin.jabref.util.WorkerUtil;

/**
* {@link AbstractBibsonomyAction} is the base class for all actions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.ImageIcon;

import net.sf.jabref.gui.bibsonomy.BibsonomySettingsDialog;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.plugin.jabref.gui.BibsonomySettingsDialog;

/**
* {@link CloseBibsonomySettingsDialogByCancelAction} closes the {@link BibsonomySettingsDialog} without saving the properties
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

Expand All @@ -9,13 +9,12 @@
import javax.swing.JSpinner;
import javax.swing.JTextField;

import net.sf.jabref.bibsonomy.BibsonomyProperties;
import net.sf.jabref.gui.bibsonomy.BibsonomySettingsDialog;
import net.sf.jabref.gui.bibsonomy.GroupingComboBoxItem;
import net.sf.jabref.gui.bibsonomy.OrderComboBoxItem;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.plugin.jabref.BibsonomyProperties;
import org.bibsonomy.plugin.jabref.gui.BibsonomySettingsDialog;
import org.bibsonomy.plugin.jabref.gui.GroupingComboBoxItem;
import org.bibsonomy.plugin.jabref.gui.OrderComboBoxItem;

/**
* {@link CloseBibsonomySettingsDialogBySaveAction} saves the properties and closes the {@link BibsonomySettingsDialog}.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

import javax.swing.ImageIcon;

import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.worker.bibsonomy.DeletePostsWorker;
import net.sf.jabref.logic.l10n.Localization;
import net.sf.jabref.model.entry.BibEntry;

import org.bibsonomy.plugin.jabref.worker.DeletePostsWorker;

/**
* {@link DeleteSelectedEntriesAction} runs the {@link DeletePostsWorker}.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;
import java.util.Collection;

import javax.swing.ImageIcon;

import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.worker.bibsonomy.DownloadDocumentsWorker;
import net.sf.jabref.logic.l10n.Localization;
import net.sf.jabref.model.entry.BibEntry;

import org.bibsonomy.plugin.jabref.worker.DownloadDocumentsWorker;

/**
* {@link DownloadDocumentsAction} collects all entries of a the {@link net.sf.jabref.model.database.BibDatabase BibDatabase} and fetches all documents available for the post.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;
import java.util.List;
Expand All @@ -7,13 +7,13 @@
import javax.swing.JOptionPane;

import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.util.bibsonomy.CheckTagsUtil;
import net.sf.jabref.gui.worker.bibsonomy.ExportWorker;
import net.sf.jabref.logic.l10n.Localization;
import net.sf.jabref.model.entry.BibEntry;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.bibsonomy.plugin.jabref.util.CheckTagsUtil;
import org.bibsonomy.plugin.jabref.worker.ExportWorker;

/**
* {@link ExportSelectedEntriesAction} checks for entries without keywords and does
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

import net.sf.jabref.bibsonomy.BibsonomyProperties;
import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.bibsonomy.SearchType;
import net.sf.jabref.gui.worker.bibsonomy.ImportPostsByCriteriaWorker;

import org.bibsonomy.common.enums.GroupingEntity;
import org.bibsonomy.plugin.jabref.BibsonomyProperties;
import org.bibsonomy.plugin.jabref.gui.SearchType;
import org.bibsonomy.plugin.jabref.worker.ImportPostsByCriteriaWorker;


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;
import java.util.ArrayList;
Expand All @@ -8,14 +8,14 @@
import javax.swing.JComboBox;
import javax.swing.JEditorPane;

import net.sf.jabref.bibsonomy.BibsonomyProperties;
import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.bibsonomy.GroupingComboBoxItem;
import net.sf.jabref.gui.worker.bibsonomy.RefreshTagListWorker;
import net.sf.jabref.gui.worker.bibsonomy.UpdateVisibilityWorker;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.common.enums.GroupingEntity;
import org.bibsonomy.plugin.jabref.BibsonomyProperties;
import org.bibsonomy.plugin.jabref.gui.GroupingComboBoxItem;
import org.bibsonomy.plugin.jabref.worker.RefreshTagListWorker;
import org.bibsonomy.plugin.jabref.worker.UpdateVisibilityWorker;

/**
* {@link RefreshTagListAction} runs the {@link RefreshTagListWorker} to refresh the tag cloud
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

Expand All @@ -7,11 +7,10 @@
import javax.swing.JTextField;

import net.sf.jabref.gui.JabRefFrame;

import org.bibsonomy.plugin.jabref.gui.GroupingComboBoxItem;
import org.bibsonomy.plugin.jabref.gui.SearchType;
import org.bibsonomy.plugin.jabref.gui.SearchTypeComboBoxItem;
import org.bibsonomy.plugin.jabref.worker.ImportPostsByCriteriaWorker;
import net.sf.jabref.gui.bibsonomy.GroupingComboBoxItem;
import net.sf.jabref.gui.bibsonomy.SearchType;
import net.sf.jabref.gui.bibsonomy.SearchTypeComboBoxItem;
import net.sf.jabref.gui.worker.bibsonomy.ImportPostsByCriteriaWorker;

/**
* {@link SearchAction} runs the {@link ImportPostsByCriteriaWorker} with the values of the search text box
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.ImageIcon;

import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.bibsonomy.BibsonomySettingsDialog;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.plugin.jabref.gui.BibsonomySettingsDialog;


/**
* {@link ShowSettingsDialogAction} creates and displays the {@link BibsonomySettingsDialog}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

import javax.swing.ImageIcon;

import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.worker.bibsonomy.SynchronizationWorker;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.plugin.jabref.worker.SynchronizationWorker;


/**
* {@link SynchronizeAction} runs the {@link SynchronizationWorker}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.ImageIcon;

import net.sf.jabref.bibsonomy.BibsonomySidePaneComponent;
import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.SidePaneManager;
import net.sf.jabref.gui.bibsonomy.BibsonomySidePanel;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.plugin.jabref.BibsonomySidePaneComponent;
import org.bibsonomy.plugin.jabref.gui.BibsonomySidePanel;

/**
* Display or hide the {@link BibsonomySidePanel}
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref.action;
package net.sf.jabref.gui.actions.bibsonomy;

import java.awt.event.ActionEvent;
import java.util.List;
Expand All @@ -7,8 +7,8 @@

import net.sf.jabref.gui.JabRefFrame;

import org.bibsonomy.plugin.jabref.gui.GroupingComboBoxItem;
import org.bibsonomy.plugin.jabref.worker.UpdateVisibilityWorker;
import net.sf.jabref.gui.bibsonomy.GroupingComboBoxItem;
import net.sf.jabref.gui.worker.bibsonomy.UpdateVisibilityWorker;

/**
* {@link UpdateVisibilityAction} runs the {@link UpdateVisibilityWorker}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
package org.bibsonomy.plugin.jabref.gui;
package net.sf.jabref.gui.bibsonomy;

import javax.swing.JMenu;
import javax.swing.JMenuItem;

import net.sf.jabref.bibsonomy.BibsonomyGlobals;
import net.sf.jabref.bibsonomy.BibsonomySidePaneComponent;
import net.sf.jabref.gui.actions.bibsonomy.DeleteSelectedEntriesAction;
import net.sf.jabref.gui.actions.bibsonomy.DownloadDocumentsAction;
import net.sf.jabref.gui.actions.bibsonomy.ExportSelectedEntriesAction;
import net.sf.jabref.gui.actions.bibsonomy.ImportAllMyPostsAction;
import net.sf.jabref.gui.actions.bibsonomy.ShowSettingsDialogAction;
import net.sf.jabref.gui.actions.bibsonomy.SynchronizeAction;
import net.sf.jabref.gui.actions.bibsonomy.ToggleSidePaneComponentAction;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.plugin.jabref.BibsonomyGlobals;
import org.bibsonomy.plugin.jabref.BibsonomySidePaneComponent;
import org.bibsonomy.plugin.jabref.action.DeleteSelectedEntriesAction;
import org.bibsonomy.plugin.jabref.action.DownloadDocumentsAction;
import org.bibsonomy.plugin.jabref.action.ExportSelectedEntriesAction;
import org.bibsonomy.plugin.jabref.action.ImportAllMyPostsAction;
import org.bibsonomy.plugin.jabref.action.ShowSettingsDialogAction;
import org.bibsonomy.plugin.jabref.action.SynchronizeAction;
import org.bibsonomy.plugin.jabref.action.ToggleSidePaneComponentAction;

/**
* {@link BibsonomyMenuItem} is the plugins menu item
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.bibsonomy.plugin.jabref.gui;
package net.sf.jabref.gui.bibsonomy;

import java.awt.BorderLayout;
import java.awt.Color;
Expand All @@ -25,17 +25,17 @@
import javax.swing.SpinnerNumberModel;
import javax.swing.border.TitledBorder;

import net.sf.jabref.bibsonomy.BibsonomyGlobals;
import net.sf.jabref.bibsonomy.BibsonomyProperties;
import net.sf.jabref.gui.JabRefFrame;
import net.sf.jabref.gui.actions.bibsonomy.CloseBibsonomySettingsDialogByCancelAction;
import net.sf.jabref.gui.actions.bibsonomy.CloseBibsonomySettingsDialogBySaveAction;
import net.sf.jabref.gui.actions.bibsonomy.OpenDatabasePropertiesAction;
import net.sf.jabref.gui.actions.bibsonomy.UpdateVisibilityAction;
import net.sf.jabref.logic.l10n.Localization;

import org.bibsonomy.common.enums.GroupingEntity;
import org.bibsonomy.model.enums.Order;
import org.bibsonomy.plugin.jabref.BibsonomyGlobals;
import org.bibsonomy.plugin.jabref.BibsonomyProperties;
import org.bibsonomy.plugin.jabref.action.CloseBibsonomySettingsDialogByCancelAction;
import org.bibsonomy.plugin.jabref.action.CloseBibsonomySettingsDialogBySaveAction;
import org.bibsonomy.plugin.jabref.action.OpenDatabasePropertiesAction;
import org.bibsonomy.plugin.jabref.action.UpdateVisibilityAction;

public class BibsonomySettingsDialog extends JDialog {

Expand Down
Loading

0 comments on commit 3a43cdf

Please sign in to comment.