01: package org.drools.brms.client;
02:
03: /*
04: * Copyright 2005 JBoss Inc
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: import org.drools.brms.client.common.LoadingPopup;
20:
21: import com.google.gwt.user.client.Command;
22: import com.google.gwt.user.client.ui.AbsolutePanel;
23: import com.google.gwt.user.client.ui.Frame;
24: import com.google.gwt.user.client.ui.Widget;
25:
26: /**
27: * Introduction page.
28: */
29: public class Info extends JBRMSFeature {
30:
31: public static ComponentInfo init() {
32: return new ComponentInfo("Info",
33: "JBoss Rules Managment System.") {
34: public JBRMSFeature createInstance() {
35: return new Info();
36: }
37:
38: };
39: }
40:
41: private Frame infoPanel;
42:
43: public Info() {
44: initWidget(getLayout());
45: }
46:
47: private Widget getLayout() {
48:
49: infoPanel = new Frame("welcome.html");
50: infoPanel.setStyleName("welcome-Page");
51:
52: infoPanel.setVisible(true);
53:
54: return infoPanel;
55: }
56:
57: public void onShow() {
58: }
59: }
|