Added serialverionID which were missing.
This commit is contained in:
parent
ad0ef842fa
commit
6751ea7f63
src/main/java/se/su/dsv/scipro/supervisor/pages
@ -1,23 +1,25 @@
|
||||
package se.su.dsv.scipro.supervisor.pages;
|
||||
|
||||
import org.apache.wicket.PageParameters;
|
||||
|
||||
import se.su.dsv.scipro.basepages.MenuPage;
|
||||
import se.su.dsv.scipro.security.auth.Authorization;
|
||||
import se.su.dsv.scipro.security.auth.roles.Roles;
|
||||
import se.su.dsv.scipro.supervisor.panels.SupervisorTabMenuPanel;
|
||||
|
||||
/**
|
||||
* Grants correct authorization and marks the correct main-menu option as "supervisor"
|
||||
* @author Martin Peters - mpeters@dsv.su.se
|
||||
*
|
||||
*/
|
||||
@Authorization(authorizedRoles={/* Probably Roles.EXTERNAL, too when/if implemented*/ Roles.EMPLOYEE})
|
||||
public abstract class AbstractSupervisorPage extends MenuPage {
|
||||
|
||||
public AbstractSupervisorPage(PageParameters pp) {
|
||||
super(pp);
|
||||
add(new SupervisorTabMenuPanel("tabMenu", this.getClass()));
|
||||
}
|
||||
|
||||
}
|
||||
package se.su.dsv.scipro.supervisor.pages;
|
||||
|
||||
import org.apache.wicket.PageParameters;
|
||||
|
||||
import se.su.dsv.scipro.basepages.MenuPage;
|
||||
import se.su.dsv.scipro.security.auth.Authorization;
|
||||
import se.su.dsv.scipro.security.auth.roles.Roles;
|
||||
import se.su.dsv.scipro.supervisor.panels.SupervisorTabMenuPanel;
|
||||
|
||||
/**
|
||||
* Grants correct authorization and marks the correct main-menu option as "supervisor"
|
||||
* @author Martin Peters - mpeters@dsv.su.se
|
||||
*
|
||||
*/
|
||||
@Authorization(authorizedRoles={/* Probably Roles.EXTERNAL, too when/if implemented*/ Roles.EMPLOYEE})
|
||||
public abstract class AbstractSupervisorPage extends MenuPage {
|
||||
|
||||
private static final long serialVersionUID = -1020369453880467888L;
|
||||
|
||||
public AbstractSupervisorPage(PageParameters pp) {
|
||||
super(pp);
|
||||
add(new SupervisorTabMenuPanel("tabMenu", this.getClass()));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,21 +1,22 @@
|
||||
package se.su.dsv.scipro.supervisor.pages;
|
||||
|
||||
import org.apache.wicket.Component;
|
||||
import org.apache.wicket.PageParameters;
|
||||
|
||||
import org.apache.wicket.markup.html.panel.FeedbackPanel;
|
||||
import se.su.dsv.scipro.SciProSession;
|
||||
import se.su.dsv.scipro.supervisor.panels.SupervisorMatchedThesisPanel;
|
||||
|
||||
public class SupervisorProjectIdeaPage extends AbstractSupervisorPage {
|
||||
|
||||
public static final String MAIN_MENU_LABEL = "Supervisor";
|
||||
|
||||
public SupervisorProjectIdeaPage(PageParameters pp) {
|
||||
super(pp);
|
||||
Component feedBackPanel = new FeedbackPanel("feedBackPanel");
|
||||
feedBackPanel.setOutputMarkupId(true);
|
||||
add(feedBackPanel);
|
||||
add(new SupervisorMatchedThesisPanel("matchedThesisPanel", SciProSession.get().getUser(), "Supervisor", feedBackPanel));
|
||||
}
|
||||
}
|
||||
package se.su.dsv.scipro.supervisor.pages;
|
||||
|
||||
import org.apache.wicket.Component;
|
||||
import org.apache.wicket.PageParameters;
|
||||
|
||||
import org.apache.wicket.markup.html.panel.FeedbackPanel;
|
||||
import se.su.dsv.scipro.SciProSession;
|
||||
import se.su.dsv.scipro.supervisor.panels.SupervisorMatchedThesisPanel;
|
||||
|
||||
public class SupervisorProjectIdeaPage extends AbstractSupervisorPage {
|
||||
|
||||
public static final String MAIN_MENU_LABEL = "Supervisor";
|
||||
private static final long serialVersionUID = -6146389373527384427L;
|
||||
|
||||
public SupervisorProjectIdeaPage(PageParameters pp) {
|
||||
super(pp);
|
||||
Component feedBackPanel = new FeedbackPanel("feedBackPanel");
|
||||
feedBackPanel.setOutputMarkupId(true);
|
||||
add(feedBackPanel);
|
||||
add(new SupervisorMatchedThesisPanel("matchedThesisPanel", SciProSession.get().getUser(), "Supervisor", feedBackPanel));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user