Movi BaseController y BasePanel al package framework
This commit is contained in:
@@ -27,6 +27,7 @@ import xyz.danielcortes.controllers.libro.LibroCreateController;
|
|||||||
import xyz.danielcortes.controllers.libro.LibroSearchController;
|
import xyz.danielcortes.controllers.libro.LibroSearchController;
|
||||||
import xyz.danielcortes.controllers.libro.LibroUpdateController;
|
import xyz.danielcortes.controllers.libro.LibroUpdateController;
|
||||||
import xyz.danielcortes.controllers.libro.LibroViewController;
|
import xyz.danielcortes.controllers.libro.LibroViewController;
|
||||||
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.views.LaunchFrame;
|
import xyz.danielcortes.views.LaunchFrame;
|
||||||
import xyz.danielcortes.views.autor.AutorCreatePanel;
|
import xyz.danielcortes.views.autor.AutorCreatePanel;
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.autor;
|
package xyz.danielcortes.controllers.autor;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Autor;
|
import xyz.danielcortes.models.Autor;
|
||||||
import xyz.danielcortes.repository.AutorRepository;
|
import xyz.danielcortes.repository.AutorRepository;
|
||||||
import xyz.danielcortes.validator.AutorValidator;
|
import xyz.danielcortes.validator.AutorValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.autor.AutorCreatePanel;
|
import xyz.danielcortes.views.autor.AutorCreatePanel;
|
||||||
|
|
||||||
public class AutorCreateController extends BaseController {
|
public class AutorCreateController extends BaseController {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package xyz.danielcortes.controllers.autor;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
@@ -10,7 +10,7 @@ import xyz.danielcortes.framework.ValidationResult;
|
|||||||
import xyz.danielcortes.models.Autor;
|
import xyz.danielcortes.models.Autor;
|
||||||
import xyz.danielcortes.repository.AutorRepository;
|
import xyz.danielcortes.repository.AutorRepository;
|
||||||
import xyz.danielcortes.validator.AutorValidator;
|
import xyz.danielcortes.validator.AutorValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.autor.AutorSearchPanel;
|
import xyz.danielcortes.views.autor.AutorSearchPanel;
|
||||||
|
|
||||||
public class AutorSearchController extends BaseController {
|
public class AutorSearchController extends BaseController {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.autor;
|
package xyz.danielcortes.controllers.autor;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Autor;
|
import xyz.danielcortes.models.Autor;
|
||||||
import xyz.danielcortes.repository.AutorRepository;
|
import xyz.danielcortes.repository.AutorRepository;
|
||||||
import xyz.danielcortes.validator.AutorValidator;
|
import xyz.danielcortes.validator.AutorValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.autor.AutorUpdatePanel;
|
import xyz.danielcortes.views.autor.AutorUpdatePanel;
|
||||||
|
|
||||||
public class AutorUpdateController extends BaseController {
|
public class AutorUpdateController extends BaseController {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
package xyz.danielcortes.controllers.autor;
|
package xyz.danielcortes.controllers.autor;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.models.Autor;
|
import xyz.danielcortes.models.Autor;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.autor.AutorViewPanel;
|
import xyz.danielcortes.views.autor.AutorViewPanel;
|
||||||
|
|
||||||
public class AutorViewController extends BaseController {
|
public class AutorViewController extends BaseController {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.categoria;
|
package xyz.danielcortes.controllers.categoria;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.repository.CategoriaRepository;
|
import xyz.danielcortes.repository.CategoriaRepository;
|
||||||
import xyz.danielcortes.validator.CategoriaValidator;
|
import xyz.danielcortes.validator.CategoriaValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.categoria.CategoriaCreatePanel;
|
import xyz.danielcortes.views.categoria.CategoriaCreatePanel;
|
||||||
|
|
||||||
public class CategoriaCreateController extends BaseController {
|
public class CategoriaCreateController extends BaseController {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package xyz.danielcortes.controllers.categoria;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
@@ -10,7 +10,7 @@ import xyz.danielcortes.framework.ValidationResult;
|
|||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.repository.CategoriaRepository;
|
import xyz.danielcortes.repository.CategoriaRepository;
|
||||||
import xyz.danielcortes.validator.CategoriaValidator;
|
import xyz.danielcortes.validator.CategoriaValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.categoria.CategoriaSearchPanel;
|
import xyz.danielcortes.views.categoria.CategoriaSearchPanel;
|
||||||
|
|
||||||
public class CategoriaSearchController extends BaseController {
|
public class CategoriaSearchController extends BaseController {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.categoria;
|
package xyz.danielcortes.controllers.categoria;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.repository.CategoriaRepository;
|
import xyz.danielcortes.repository.CategoriaRepository;
|
||||||
import xyz.danielcortes.validator.CategoriaValidator;
|
import xyz.danielcortes.validator.CategoriaValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.categoria.CategoriaUpdatePanel;
|
import xyz.danielcortes.views.categoria.CategoriaUpdatePanel;
|
||||||
|
|
||||||
public class CategoriaUpdateController extends BaseController {
|
public class CategoriaUpdateController extends BaseController {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
package xyz.danielcortes.controllers.categoria;
|
package xyz.danielcortes.controllers.categoria;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.categoria.CategoriaViewPanel;
|
import xyz.danielcortes.views.categoria.CategoriaViewPanel;
|
||||||
|
|
||||||
public class CategoriaViewController extends BaseController {
|
public class CategoriaViewController extends BaseController {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.editorial;
|
package xyz.danielcortes.controllers.editorial;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.repository.EditorialRepository;
|
import xyz.danielcortes.repository.EditorialRepository;
|
||||||
import xyz.danielcortes.validator.EditorialValidator;
|
import xyz.danielcortes.validator.EditorialValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.editorial.EditorialCreatePanel;
|
import xyz.danielcortes.views.editorial.EditorialCreatePanel;
|
||||||
|
|
||||||
public class EditorialCreateController extends BaseController {
|
public class EditorialCreateController extends BaseController {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package xyz.danielcortes.controllers.editorial;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
@@ -10,7 +10,7 @@ import xyz.danielcortes.framework.ValidationResult;
|
|||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.repository.EditorialRepository;
|
import xyz.danielcortes.repository.EditorialRepository;
|
||||||
import xyz.danielcortes.validator.EditorialValidator;
|
import xyz.danielcortes.validator.EditorialValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.editorial.EditorialSearchPanel;
|
import xyz.danielcortes.views.editorial.EditorialSearchPanel;
|
||||||
|
|
||||||
public class EditorialSearchController extends BaseController {
|
public class EditorialSearchController extends BaseController {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.editorial;
|
package xyz.danielcortes.controllers.editorial;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.repository.EditorialRepository;
|
import xyz.danielcortes.repository.EditorialRepository;
|
||||||
import xyz.danielcortes.validator.EditorialValidator;
|
import xyz.danielcortes.validator.EditorialValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.editorial.EditorialUpdatePanel;
|
import xyz.danielcortes.views.editorial.EditorialUpdatePanel;
|
||||||
|
|
||||||
public class EditorialUpdateController extends BaseController {
|
public class EditorialUpdateController extends BaseController {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
package xyz.danielcortes.controllers.editorial;
|
package xyz.danielcortes.controllers.editorial;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.editorial.EditorialViewPanel;
|
import xyz.danielcortes.views.editorial.EditorialViewPanel;
|
||||||
|
|
||||||
public class EditorialViewController extends BaseController {
|
public class EditorialViewController extends BaseController {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.idioma;
|
package xyz.danielcortes.controllers.idioma;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.repository.IdiomaRepository;
|
import xyz.danielcortes.repository.IdiomaRepository;
|
||||||
import xyz.danielcortes.validator.IdiomaValidator;
|
import xyz.danielcortes.validator.IdiomaValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.idioma.IdiomaCreatePanel;
|
import xyz.danielcortes.views.idioma.IdiomaCreatePanel;
|
||||||
|
|
||||||
public class IdiomaCreateController extends BaseController {
|
public class IdiomaCreateController extends BaseController {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package xyz.danielcortes.controllers.idioma;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
@@ -10,7 +10,7 @@ import xyz.danielcortes.framework.ValidationResult;
|
|||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.repository.IdiomaRepository;
|
import xyz.danielcortes.repository.IdiomaRepository;
|
||||||
import xyz.danielcortes.validator.IdiomaValidator;
|
import xyz.danielcortes.validator.IdiomaValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.idioma.IdiomaSearchPanel;
|
import xyz.danielcortes.views.idioma.IdiomaSearchPanel;
|
||||||
|
|
||||||
public class IdiomaSearchController extends BaseController {
|
public class IdiomaSearchController extends BaseController {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package xyz.danielcortes.controllers.idioma;
|
package xyz.danielcortes.controllers.idioma;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.repository.IdiomaRepository;
|
import xyz.danielcortes.repository.IdiomaRepository;
|
||||||
import xyz.danielcortes.validator.IdiomaValidator;
|
import xyz.danielcortes.validator.IdiomaValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.idioma.IdiomaUpdatePanel;
|
import xyz.danielcortes.views.idioma.IdiomaUpdatePanel;
|
||||||
|
|
||||||
public class IdiomaUpdateController extends BaseController {
|
public class IdiomaUpdateController extends BaseController {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
package xyz.danielcortes.controllers.idioma;
|
package xyz.danielcortes.controllers.idioma;
|
||||||
|
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.idioma.IdiomaViewPanel;
|
import xyz.danielcortes.views.idioma.IdiomaViewPanel;
|
||||||
|
|
||||||
public class IdiomaViewController extends BaseController {
|
public class IdiomaViewController extends BaseController {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.HashSet;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.DefaultListModel;
|
import javax.swing.DefaultListModel;
|
||||||
import javax.swing.JComboBox;
|
import javax.swing.JComboBox;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
import xyz.danielcortes.framework.ValidationResult;
|
import xyz.danielcortes.framework.ValidationResult;
|
||||||
@@ -20,7 +20,7 @@ import xyz.danielcortes.repository.EditorialRepository;
|
|||||||
import xyz.danielcortes.repository.IdiomaRepository;
|
import xyz.danielcortes.repository.IdiomaRepository;
|
||||||
import xyz.danielcortes.repository.LibroRepository;
|
import xyz.danielcortes.repository.LibroRepository;
|
||||||
import xyz.danielcortes.validator.LibroValidator;
|
import xyz.danielcortes.validator.LibroValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.libro.LibroCreatePanel;
|
import xyz.danielcortes.views.libro.LibroCreatePanel;
|
||||||
|
|
||||||
public class LibroCreateController extends BaseController {
|
public class LibroCreateController extends BaseController {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package xyz.danielcortes.controllers.libro;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
@@ -13,7 +13,7 @@ import xyz.danielcortes.repository.EjemplarRepository;
|
|||||||
import xyz.danielcortes.repository.LibroRepository;
|
import xyz.danielcortes.repository.LibroRepository;
|
||||||
import xyz.danielcortes.validator.EjemplarValidator;
|
import xyz.danielcortes.validator.EjemplarValidator;
|
||||||
import xyz.danielcortes.validator.LibroValidator;
|
import xyz.danielcortes.validator.LibroValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.libro.LibroAgregarStockDialog;
|
import xyz.danielcortes.views.libro.LibroAgregarStockDialog;
|
||||||
import xyz.danielcortes.views.libro.LibroSearchPanel;
|
import xyz.danielcortes.views.libro.LibroSearchPanel;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.HashSet;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.DefaultListModel;
|
import javax.swing.DefaultListModel;
|
||||||
import javax.swing.JComboBox;
|
import javax.swing.JComboBox;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.JListUtils;
|
import xyz.danielcortes.framework.JListUtils;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
@@ -21,7 +21,7 @@ import xyz.danielcortes.repository.EditorialRepository;
|
|||||||
import xyz.danielcortes.repository.IdiomaRepository;
|
import xyz.danielcortes.repository.IdiomaRepository;
|
||||||
import xyz.danielcortes.repository.LibroRepository;
|
import xyz.danielcortes.repository.LibroRepository;
|
||||||
import xyz.danielcortes.validator.LibroValidator;
|
import xyz.danielcortes.validator.LibroValidator;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.libro.LibroUpdatePanel;
|
import xyz.danielcortes.views.libro.LibroUpdatePanel;
|
||||||
|
|
||||||
public class LibroUpdateController extends BaseController {
|
public class LibroUpdateController extends BaseController {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package xyz.danielcortes.controllers.libro;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.swing.DefaultListModel;
|
import javax.swing.DefaultListModel;
|
||||||
import javax.swing.JComboBox;
|
import javax.swing.JComboBox;
|
||||||
import xyz.danielcortes.controllers.BaseController;
|
import xyz.danielcortes.framework.BaseController;
|
||||||
import xyz.danielcortes.controllers.LaunchController;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
import xyz.danielcortes.framework.JListUtils;
|
import xyz.danielcortes.framework.JListUtils;
|
||||||
import xyz.danielcortes.framework.PanelName;
|
import xyz.danielcortes.framework.PanelName;
|
||||||
@@ -16,7 +16,7 @@ import xyz.danielcortes.repository.AutorRepository;
|
|||||||
import xyz.danielcortes.repository.CategoriaRepository;
|
import xyz.danielcortes.repository.CategoriaRepository;
|
||||||
import xyz.danielcortes.repository.EditorialRepository;
|
import xyz.danielcortes.repository.EditorialRepository;
|
||||||
import xyz.danielcortes.repository.IdiomaRepository;
|
import xyz.danielcortes.repository.IdiomaRepository;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
import xyz.danielcortes.views.libro.LibroViewPanel;
|
import xyz.danielcortes.views.libro.LibroViewPanel;
|
||||||
|
|
||||||
public class LibroViewController extends BaseController {
|
public class LibroViewController extends BaseController {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package xyz.danielcortes.controllers;
|
package xyz.danielcortes.framework;
|
||||||
|
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.controllers.LaunchController;
|
||||||
|
|
||||||
public abstract class BaseController {
|
public abstract class BaseController {
|
||||||
private LaunchController parentController;
|
private LaunchController parentController;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package xyz.danielcortes.views;
|
package xyz.danielcortes.framework;
|
||||||
|
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class AutorCreatePanel extends BasePanel {
|
public class AutorCreatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import javax.swing.JTextField;
|
|||||||
import javax.swing.ListSelectionModel;
|
import javax.swing.ListSelectionModel;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.models.Autor;
|
import xyz.danielcortes.models.Autor;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class AutorSearchPanel extends BasePanel {
|
public class AutorSearchPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class AutorUpdatePanel extends BasePanel {
|
public class AutorUpdatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class AutorViewPanel extends BasePanel {
|
public class AutorViewPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class CategoriaCreatePanel extends BasePanel {
|
public class CategoriaCreatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import javax.swing.JTextField;
|
|||||||
import javax.swing.ListSelectionModel;
|
import javax.swing.ListSelectionModel;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class CategoriaSearchPanel extends BasePanel {
|
public class CategoriaSearchPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class CategoriaUpdatePanel extends BasePanel {
|
public class CategoriaUpdatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class CategoriaViewPanel extends BasePanel {
|
public class CategoriaViewPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class EditorialCreatePanel extends BasePanel {
|
public class EditorialCreatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import javax.swing.JTable;
|
|||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class EditorialSearchPanel extends BasePanel {
|
public class EditorialSearchPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class EditorialUpdatePanel extends BasePanel {
|
public class EditorialUpdatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class EditorialViewPanel extends BasePanel {
|
public class EditorialViewPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class IdiomaCreatePanel extends BasePanel {
|
public class IdiomaCreatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import javax.swing.JTextField;
|
|||||||
import javax.swing.ListSelectionModel;
|
import javax.swing.ListSelectionModel;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class IdiomaSearchPanel extends BasePanel {
|
public class IdiomaSearchPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class IdiomaUpdatePanel extends BasePanel {
|
public class IdiomaUpdatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import javax.swing.JComponent;
|
|||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class IdiomaViewPanel extends BasePanel {
|
public class IdiomaViewPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import xyz.danielcortes.models.Autor;
|
|||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class LibroCreatePanel extends BasePanel {
|
public class LibroCreatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import javax.swing.JTextField;
|
|||||||
import javax.swing.ListSelectionModel;
|
import javax.swing.ListSelectionModel;
|
||||||
import xyz.danielcortes.framework.BaseTableModel;
|
import xyz.danielcortes.framework.BaseTableModel;
|
||||||
import xyz.danielcortes.models.Libro;
|
import xyz.danielcortes.models.Libro;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class LibroSearchPanel extends BasePanel {
|
public class LibroSearchPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import xyz.danielcortes.models.Autor;
|
|||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class LibroUpdatePanel extends BasePanel {
|
public class LibroUpdatePanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import xyz.danielcortes.models.Autor;
|
|||||||
import xyz.danielcortes.models.Categoria;
|
import xyz.danielcortes.models.Categoria;
|
||||||
import xyz.danielcortes.models.Editorial;
|
import xyz.danielcortes.models.Editorial;
|
||||||
import xyz.danielcortes.models.Idioma;
|
import xyz.danielcortes.models.Idioma;
|
||||||
import xyz.danielcortes.views.BasePanel;
|
import xyz.danielcortes.framework.BasePanel;
|
||||||
|
|
||||||
public class LibroViewPanel extends BasePanel {
|
public class LibroViewPanel extends BasePanel {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user