01: /*
02: * Copyright 2007 Giordano Maestro (giordano.maestro@assetdata.it)
03: *
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
06: * use this file except in compliance with the License.
07: *
08: * You may obtain a copy of the License at
09: * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
10: * or agreed to in writing, software distributed under the License is
11: * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12: * KIND, either express or implied. See the License for the specific language
13: * governing permissions and limitations under the License.
14: */
15: package org.romaframework.module.designer.view.domain.radpage;
16:
17: import org.romaframework.aspect.view.ViewConstants;
18: import org.romaframework.aspect.view.annotation.ViewClass;
19: import org.romaframework.core.flow.ObjectContext;
20: import org.romaframework.core.serializer.RomaSerializationException;
21: import org.romaframework.module.designer.domain.RadClass;
22:
23: /**
24: * The class child page, it is used for annidated classes.
25: *
26: * @author Giordano Maestro(giordano.maestro@assetdata.it) 09/nov/07
27: *
28: */
29:
30: public class ChildClassAspectsPage extends ClassAspectsPage {
31: public ChildClassAspectsPage(RadClass clazz)
32: throws RomaSerializationException {
33: super (clazz);
34: }
35:
36: @Override
37: public void ok() throws Exception {
38: super .ok();
39: ObjectContext.getInstance().show(getBackObject());
40: }
41:
42: @Override
43: public void cancel() throws Exception {
44: super.cancel();
45: ObjectContext.getInstance().show(getBackObject());
46: }
47: }
|