|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
View.java | - | 0% | 0% | 0% |
|
1 |
// Copyright 2004, 2005 The Apache Software Foundation
|
|
2 |
//
|
|
3 |
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4 |
// you may not use this file except in compliance with the License.
|
|
5 |
// You may obtain a copy of the License at
|
|
6 |
//
|
|
7 |
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8 |
//
|
|
9 |
// Unless required by applicable law or agreed to in writing, software
|
|
10 |
// 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
|
|
13 |
// limitations under the License.
|
|
14 |
|
|
15 |
package org.apache.tapestry.contrib.inspector;
|
|
16 |
|
|
17 |
import org.apache.commons.lang.enum.Enum;
|
|
18 |
|
|
19 |
/**
|
|
20 |
* Identifies different views for the inspector.
|
|
21 |
*
|
|
22 |
* @author Howard Lewis Ship
|
|
23 |
*
|
|
24 |
**/
|
|
25 |
|
|
26 |
public class View extends Enum |
|
27 |
{ |
|
28 |
/**
|
|
29 |
* View that displays the basic specification information, plus
|
|
30 |
* formal and informal parameters (and related bindings), and
|
|
31 |
* assets.
|
|
32 |
*
|
|
33 |
**/
|
|
34 |
|
|
35 |
public static final View SPECIFICATION = new View("SPECIFICATION"); |
|
36 |
|
|
37 |
/**
|
|
38 |
* View that displays the HTML template for the component, if one
|
|
39 |
* exists.
|
|
40 |
*
|
|
41 |
**/
|
|
42 |
|
|
43 |
public static final View TEMPLATE = new View("TEMPLATE"); |
|
44 |
|
|
45 |
/**
|
|
46 |
* View that shows the persistent properties of the page containing
|
|
47 |
* the inspected component.
|
|
48 |
*
|
|
49 |
**/
|
|
50 |
|
|
51 |
public static final View PROPERTIES = new View("PROPERTIES"); |
|
52 |
|
|
53 |
/**
|
|
54 |
* View that shows information about the
|
|
55 |
* {@link org.apache.tapestry.IEngine}.
|
|
56 |
*
|
|
57 |
**/
|
|
58 |
|
|
59 |
public static final View ENGINE = new View("ENGINE"); |
|
60 |
|
|
61 |
|
|
62 | 0 |
private View(String name)
|
63 |
{ |
|
64 | 0 |
super(name);
|
65 |
} |
|
66 |
|
|
67 |
} |
|