| Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
| TrailsPage |
|
| 1.0;1 |
| 1 | /* |
|
| 2 | * Created on Mar 15, 2005 |
|
| 3 | * |
|
| 4 | * Copyright 2004 Chris Nelson |
|
| 5 | * |
|
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 7 | * you may not use this file except in compliance with the License. |
|
| 8 | * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
|
| 9 | * Unless required by applicable law or agreed to in writing, |
|
| 10 | * software distributed under the License is distributed on an "AS IS" BASIS, |
|
| 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 12 | * See the License for the specific language governing permissions and limitations under the License. |
|
| 13 | */ |
|
| 14 | package org.trails.page; |
|
| 15 | ||
| 16 | import org.apache.hivemind.util.Defense; |
|
| 17 | import org.apache.tapestry.IRequestCycle; |
|
| 18 | import org.apache.tapestry.event.PageBeginRenderListener; |
|
| 19 | import org.apache.tapestry.event.PageEvent; |
|
| 20 | import org.apache.tapestry.html.BasePage; |
|
| 21 | ||
| 22 | 84 | public abstract class TrailsPage extends BasePage implements IActivatableTrailsPage, PageBeginRenderListener |
| 23 | { |
|
| 24 | ||
| 25 | public void pushCallback() |
|
| 26 | { |
|
| 27 | 0 | } |
| 28 | ||
| 29 | public void activateTrailsPage(Object[] objects, IRequestCycle iRequestCycle) |
|
| 30 | { |
|
| 31 | 0 | pushCallback(); |
| 32 | 0 | } |
| 33 | ||
| 34 | public void pageBeginRender(PageEvent event) |
|
| 35 | { |
|
| 36 | 0 | Defense.notNull(getClassDescriptor(), "classDescriptor"); |
| 37 | 0 | } |
| 38 | } |