SiteProxy leitet jetzt nach dem Erzeugen zum Bearbeiten der BasicProperties weiter (Ticket #1765).
git-svn-id: https://svn.libreccm.org/ccm/trunk@2216 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
443db79fae
commit
6f227bab68
|
|
@ -30,14 +30,14 @@ import com.arsdigita.cms.util.GlobalizationUtil;
|
|||
import com.arsdigita.toolbox.ui.DomainObjectPropertySheet;
|
||||
import com.arsdigita.cms.ui.workflow.WorkflowLockedComponentAccess;
|
||||
|
||||
|
||||
/**
|
||||
* Authoring step to edit the simple attributes of the SiteProxy content
|
||||
* type (and its subclasses).
|
||||
* Authoring step to edit the simple attributes of the SiteProxy content type (and its subclasses).
|
||||
*/
|
||||
public class SiteProxyPropertiesStep extends SimpleEditStep {
|
||||
|
||||
/** The name of the editing sheet added to this step */
|
||||
/**
|
||||
* The name of the editing sheet added to this step
|
||||
*/
|
||||
public static final String EDIT_SHEET_NAME = "edit";
|
||||
|
||||
/**
|
||||
|
|
@ -59,20 +59,18 @@ public class SiteProxyPropertiesStep extends SimpleEditStep {
|
|||
new WorkflowLockedComponentAccess(editSheet, itemModel),
|
||||
editSheet.getSaveCancelSection().getCancelButton());
|
||||
|
||||
setDefaultEditKey(EDIT_SHEET_NAME);
|
||||
setDisplayComponent(getSiteProxyPropertySheet(itemModel));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a component that displays the properties of the SiteProxy
|
||||
* specified by the ItemSelectionModel passed in.
|
||||
* Returns a component that displays the properties of the SiteProxy specified by the ItemSelectionModel passed in.
|
||||
*
|
||||
* @param itemModel The ItemSelectionModel to use
|
||||
* @pre itemModel != null
|
||||
* @return A component to display the state of the basic properties
|
||||
* of the release
|
||||
* @return A component to display the state of the basic properties of the release
|
||||
*/
|
||||
public static Component getSiteProxyPropertySheet( ItemSelectionModel
|
||||
itemModel ) {
|
||||
public static Component getSiteProxyPropertySheet(ItemSelectionModel itemModel) {
|
||||
DomainObjectPropertySheet sheet = new DomainObjectPropertySheet(itemModel);
|
||||
|
||||
sheet.add(GlobalizationUtil
|
||||
|
|
@ -88,4 +86,3 @@ public class SiteProxyPropertiesStep extends SimpleEditStep {
|
|||
return sheet;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue