SciOrgamization
RelatedLinkPropertiesStep angepaßt auf die neue Variante Quasi git-svn-id: https://svn.libreccm.org/ccm/trunk@627 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
5d22f7a277
commit
b829c26dab
|
|
@ -4,11 +4,9 @@
|
||||||
*/
|
*/
|
||||||
package com.arsdigita.cms.contenttypes.ui;
|
package com.arsdigita.cms.contenttypes.ui;
|
||||||
|
|
||||||
import com.arsdigita.bebop.FormSection;
|
|
||||||
import com.arsdigita.cms.ContentType;
|
import com.arsdigita.cms.ContentType;
|
||||||
import com.arsdigita.cms.ItemSelectionModel;
|
import com.arsdigita.cms.ItemSelectionModel;
|
||||||
import com.arsdigita.cms.contentassets.ui.RelatedLinkPropertiesStep;
|
import com.arsdigita.cms.contentassets.ui.RelatedLinkPropertiesStep;
|
||||||
import com.arsdigita.cms.contentassets.ui.RelatedLinkPropertyForm;
|
|
||||||
import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
|
import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -17,17 +15,12 @@ import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
|
||||||
*/
|
*/
|
||||||
public class SciProjectPublicationsStep extends RelatedLinkPropertiesStep {
|
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,
|
public SciProjectPublicationsStep(ItemSelectionModel itemModel,
|
||||||
AuthoringKitWizard parent) {
|
AuthoringKitWizard parent) {
|
||||||
super(itemModel, parent);
|
super(itemModel, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected FormSection getEditSheet() {
|
|
||||||
return new RelatedLinkPropertyForm(getItemSelectionModel(),
|
|
||||||
getLinkSelectionModel(),
|
|
||||||
ContentType.
|
|
||||||
findByAssociatedObjectType(
|
|
||||||
"com.arsdigita.cms.contenttypes.Publication"));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue