SciOrgamization

RelatedLinkPropertiesStep angepaßt auf die neue Variante

Quasi

git-svn-id: https://svn.libreccm.org/ccm/trunk@627 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2010-11-19 16:15:58 +00:00
parent 5d22f7a277
commit b829c26dab
1 changed files with 5 additions and 12 deletions

View File

@ -4,11 +4,9 @@
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.FormSection;
import com.arsdigita.cms.ContentType;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.contentassets.ui.RelatedLinkPropertiesStep;
import com.arsdigita.cms.contentassets.ui.RelatedLinkPropertyForm;
import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
/**
@ -17,17 +15,12 @@ import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
*/
public class SciProjectPublicationsStep extends RelatedLinkPropertiesStep {
protected String m_linkListName = "SciProjectPublications";
protected ContentType m_contentType = ContentType.findByAssociatedObjectType(
"com.arsdigita.cms.contenttypes.Publication");
public SciProjectPublicationsStep(ItemSelectionModel itemModel,
AuthoringKitWizard parent) {
AuthoringKitWizard parent) {
super(itemModel, parent);
}
@Override
protected FormSection getEditSheet() {
return new RelatedLinkPropertyForm(getItemSelectionModel(),
getLinkSelectionModel(),
ContentType.
findByAssociatedObjectType(
"com.arsdigita.cms.contenttypes.Publication"));
}
}