CCM NG: Missing class AbstractSingletonApplicationManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3703 8810af33-2d31-482b-a856-94f89814c4dfpull/2/head
parent
77a4965de9
commit
77f7ff0c9e
|
|
@ -73,13 +73,13 @@ class UserAdministrationTab extends LayoutPanel {
|
||||||
// browsePane.setTabbedPane(parent);
|
// browsePane.setTabbedPane(parent);
|
||||||
// browsePane.setGroupAdministrationTab(groupAdminTab);
|
// browsePane.setGroupAdministrationTab(groupAdminTab);
|
||||||
//
|
//
|
||||||
final BoxPanel body = new BoxPanel();
|
//// final BoxPanel body = new BoxPanel();
|
||||||
// addSection(USER_TAB_SUMMARY, summarySection, body);
|
////// addSection(USER_TAB_SUMMARY, summarySection, body);
|
||||||
// addSection(USER_TAB_BROWSE, browsePane, body);
|
////// addSection(USER_TAB_BROWSE, browsePane, body);
|
||||||
// addSection(USER_TAB_SEARCH, searchSection, body);
|
////// addSection(USER_TAB_SEARCH, searchSection, body);
|
||||||
// addSection(USER_TAB_CREATE_USER, createSection, body);
|
////// addSection(USER_TAB_CREATE_USER, createSection, body);
|
||||||
|
//
|
||||||
setBody(body);
|
// setBody(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,48 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2013 Jens Pelzetter
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package com.arsdigita.ui.admin.applications;
|
||||||
|
|
||||||
|
import com.arsdigita.bebop.Form;
|
||||||
|
|
||||||
|
import org.libreccm.web.CcmApplication;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An abstract class providing a default implementation of {@link ApplicationManager#getApplicationCreateForm()}.
|
||||||
|
*
|
||||||
|
* @param <T> Type of the application for which this ApplicationManager provides the administration forms.
|
||||||
|
*
|
||||||
|
* @author Jens Pelzetter <jens@jp-digital.de>
|
||||||
|
* @version $Id$
|
||||||
|
*/
|
||||||
|
public abstract class AbstractSingletonApplicationManager<T extends CcmApplication> implements ApplicationManager<T>{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementation of {@link ApplicationManager#getApplicationCreateForm()}
|
||||||
|
* for singleton applications.
|
||||||
|
*
|
||||||
|
* @return {@code} null because it is not possible to create instances
|
||||||
|
* of singleton applications.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings("PMD.EmptyMethodInAbstractClassShouldBeAbstract")
|
||||||
|
@Override
|
||||||
|
public final Form getApplicationCreateForm() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue