karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ldywi...@apache.org
Subject svn commit: r1165242 - in /karaf/sandbox/webconsole/trunk: blueprint/src/main/java/org/apache/karaf/webconsole/blueprint/internal/details/ core/src/main/java/org/apache/karaf/webconsole/core/ core/src/main/java/org/apache/karaf/webconsole/core/navigati...
Date Mon, 05 Sep 2011 11:07:17 GMT
Author: ldywicki
Date: Mon Sep  5 11:07:16 2011
New Revision: 1165242

URL: http://svn.apache.org/viewvc?rev=1165242&view=rev
Log:
Update headers and remove few warnings

Added:
    karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationsDataTable.java
      - copied, changed from r1165239, karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationstDataTable.java
Modified:
    karaf/sandbox/webconsole/trunk/blueprint/src/main/java/org/apache/karaf/webconsole/blueprint/internal/details/DetailsPage.java
    karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/BasePage.java
    karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/ExtendableSidebarProvider.java
    karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/SidebarProvider.java
    karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/LoginPage.java
    karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SecuredPage.java
    karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SinglePage.java
    karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/util/LinkUtils.java
    karaf/sandbox/webconsole/trunk/examples/branding/src/main/java/org/apache/karaf/webconsole/examples/branding/ExampleBrandProvider.java
    karaf/sandbox/webconsole/trunk/karaf/src/main/java/org/apache/karaf/webconsole/karaf/internal/sidebar/KarafFeaturesSidebar.java
    karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/bundle/view/BundleActionsPanel.java
    karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/ConfigurationsPage.java
    karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationstDataTable.java
    karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/sidebar/OsgiSidebar.java
    karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/ServiceMixPage.java
    karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/sidebar/ServicemixSidebar.java

Modified: karaf/sandbox/webconsole/trunk/blueprint/src/main/java/org/apache/karaf/webconsole/blueprint/internal/details/DetailsPage.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/blueprint/src/main/java/org/apache/karaf/webconsole/blueprint/internal/details/DetailsPage.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/blueprint/src/main/java/org/apache/karaf/webconsole/blueprint/internal/details/DetailsPage.java
(original)
+++ karaf/sandbox/webconsole/trunk/blueprint/src/main/java/org/apache/karaf/webconsole/blueprint/internal/details/DetailsPage.java
Mon Sep  5 11:07:16 2011
@@ -37,6 +37,9 @@ import org.osgi.framework.ServiceReferen
 import org.osgi.service.blueprint.container.BlueprintContainer;
 import org.osgi.service.blueprint.reflect.ComponentMetadata;
 
+/**
+ * Page with blueprint container details.
+ */
 @PaxWicketMountPoint(mountPoint = "/osgi/blueprint/details")
 public class DetailsPage extends SinglePage {
 

Modified: karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/BasePage.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/BasePage.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/BasePage.java
(original)
+++ karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/BasePage.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.core;
 
 import java.util.Arrays;
@@ -14,8 +30,14 @@ import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.util.ListModel;
 import org.ops4j.pax.wicket.api.PaxWicketBean;
 
+/**
+ * Base page for resource loading and keeping same look and feel in extensions.
+ */
 public class BasePage extends WebPage {
 
+    /**
+     * Brand provider responsible for l&f customization.
+     */
     @PaxWicketBean(name = "brandProvider")
     protected BrandProvider brandProvider;
 

Modified: karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/ExtendableSidebarProvider.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/ExtendableSidebarProvider.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/ExtendableSidebarProvider.java
(original)
+++ karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/ExtendableSidebarProvider.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.core.navigation;
 
 import java.util.ArrayList;
@@ -8,6 +24,9 @@ import org.apache.karaf.webconsole.core.
 import org.apache.wicket.Page;
 import org.apache.wicket.markup.html.link.Link;
 
+/**
+ * Sidebar provider implementation which can be extended by other providers.
+ */
 public class ExtendableSidebarProvider implements SidebarProvider {
 
     private Collection<NavigationProvider> navigationProviders;

Modified: karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/SidebarProvider.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/SidebarProvider.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/SidebarProvider.java
(original)
+++ karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/navigation/SidebarProvider.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.core.navigation;
 
 import java.util.List;

Modified: karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/LoginPage.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/LoginPage.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/LoginPage.java
(original)
+++ karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/LoginPage.java
Mon Sep  5 11:07:16 2011
@@ -1,9 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.core.page;
 
 import org.apache.karaf.webconsole.core.BasePage;
 import org.apache.wicket.PageParameters;
 import org.apache.wicket.authentication.panel.SignInPanel;
 
+/**
+ * Dummy login page used to aurgorize user.
+ */
 public class LoginPage extends BasePage {
 
     public LoginPage() {

Modified: karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SecuredPage.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SecuredPage.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SecuredPage.java
(original)
+++ karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SecuredPage.java
Mon Sep  5 11:07:16 2011
@@ -28,6 +28,9 @@ import org.apache.wicket.markup.html.pan
 import org.apache.wicket.model.LoadableDetachableModel;
 import org.ops4j.pax.wicket.api.PaxWicketBean;
 
+/**
+ * Page which requires admin role, in other words authorized user.
+ */
 @AuthorizeInstantiation("admin")
 public class SecuredPage extends BasePage {
 

Modified: karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SinglePage.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SinglePage.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SinglePage.java
(original)
+++ karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/page/SinglePage.java
Mon Sep  5 11:07:16 2011
@@ -16,6 +16,9 @@
  */
 package org.apache.karaf.webconsole.core.page;
 
+/**
+ * Page which body uses all available space - all screen width.
+ */
 public class SinglePage extends SecuredPage {
 
     public SinglePage() {

Modified: karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/util/LinkUtils.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/util/LinkUtils.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/util/LinkUtils.java
(original)
+++ karaf/sandbox/webconsole/trunk/core/src/main/java/org/apache/karaf/webconsole/core/util/LinkUtils.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.core.util;
 
 import org.apache.wicket.Page;

Modified: karaf/sandbox/webconsole/trunk/examples/branding/src/main/java/org/apache/karaf/webconsole/examples/branding/ExampleBrandProvider.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/examples/branding/src/main/java/org/apache/karaf/webconsole/examples/branding/ExampleBrandProvider.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/examples/branding/src/main/java/org/apache/karaf/webconsole/examples/branding/ExampleBrandProvider.java
(original)
+++ karaf/sandbox/webconsole/trunk/examples/branding/src/main/java/org/apache/karaf/webconsole/examples/branding/ExampleBrandProvider.java
Mon Sep  5 11:07:16 2011
@@ -25,6 +25,9 @@ import org.apache.wicket.behavior.IBehav
 import org.apache.wicket.markup.html.CSSPackageResource;
 import org.apache.wicket.markup.html.image.Image;
 
+/**
+ * Example brand provider which modify console look and feel.
+ */
 public class ExampleBrandProvider implements BrandProvider {
 
     public Image getHeaderImage(String imageId) {

Modified: karaf/sandbox/webconsole/trunk/karaf/src/main/java/org/apache/karaf/webconsole/karaf/internal/sidebar/KarafFeaturesSidebar.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/karaf/src/main/java/org/apache/karaf/webconsole/karaf/internal/sidebar/KarafFeaturesSidebar.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/karaf/src/main/java/org/apache/karaf/webconsole/karaf/internal/sidebar/KarafFeaturesSidebar.java
(original)
+++ karaf/sandbox/webconsole/trunk/karaf/src/main/java/org/apache/karaf/webconsole/karaf/internal/sidebar/KarafFeaturesSidebar.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.karaf.internal.sidebar;
 
 import static org.apache.karaf.webconsole.core.util.LinkUtils.createPageLink;
@@ -14,8 +30,12 @@ import org.apache.karaf.webconsole.karaf
 import org.apache.wicket.Page;
 import org.apache.wicket.markup.html.link.Link;
 
+/**
+ * Karaf features sidebar.
+ */
 public class KarafFeaturesSidebar implements SidebarProvider {
 
+    @SuppressWarnings("unchecked")
     public List<Link<Page>> getItems(String componentId, String labelId) {
         return Arrays.asList(
             createPageLink(componentId, labelId, "Repositories", RepositoriesPage.class),

Modified: karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/bundle/view/BundleActionsPanel.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/bundle/view/BundleActionsPanel.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/bundle/view/BundleActionsPanel.java
(original)
+++ karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/bundle/view/BundleActionsPanel.java
Mon Sep  5 11:07:16 2011
@@ -36,6 +36,10 @@ import org.osgi.framework.Bundle;
 import org.osgi.framework.BundleException;
 import org.osgi.service.packageadmin.PackageAdmin;
 
+/**
+ * Action panel for bundles list.
+ */
+@SuppressWarnings("rawtypes")
 public class BundleActionsPanel extends ActionsPanel<Bundle> {
 
     @PaxWicketBean(name = "packageAdmin")

Modified: karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/ConfigurationsPage.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/ConfigurationsPage.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/ConfigurationsPage.java
(original)
+++ karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/ConfigurationsPage.java
Mon Sep  5 11:07:16 2011
@@ -17,7 +17,7 @@
 package org.apache.karaf.webconsole.osgi.internal.configuration;
 
 import org.apache.karaf.webconsole.osgi.internal.OsgiPage;
-import org.apache.karaf.webconsole.osgi.internal.configuration.view.ConfigurationstDataTable;
+import org.apache.karaf.webconsole.osgi.internal.configuration.view.ConfigurationsDataTable;
 import org.apache.wicket.markup.html.CSSPackageResource;
 import org.ops4j.pax.wicket.api.PaxWicketBean;
 import org.ops4j.pax.wicket.api.PaxWicketMountPoint;
@@ -32,7 +32,7 @@ public class ConfigurationsPage extends 
     public ConfigurationsPage() {
         add(CSSPackageResource.getHeaderContribution(ConfigurationsPage.class, "configurations.css"));
 
-        add(new ConfigurationstDataTable("configurations", new ConfigurationProvider(configurationAdmin),
20));
+        add(new ConfigurationsDataTable("configurations", new ConfigurationProvider(configurationAdmin),
20));
 
     }
 

Copied: karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationsDataTable.java
(from r1165239, karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationstDataTable.java)
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationsDataTable.java?p2=karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationsDataTable.java&p1=karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationstDataTable.java&r1=1165239&r2=1165242&rev=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationstDataTable.java
(original)
+++ karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/configuration/view/ConfigurationsDataTable.java
Mon Sep  5 11:07:16 2011
@@ -28,10 +28,14 @@ import org.apache.wicket.markup.repeater
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.Model;
 import org.osgi.service.cm.Configuration;
+import org.osgi.service.cm.ConfigurationAdmin;
 
-public class ConfigurationstDataTable extends DefaultDataTable<Configuration> {
+/**
+ * Datatable which shows list of configurations from OSGi {@link ConfigurationAdmin}.
+ */
+@SuppressWarnings({"rawtypes", "unchecked"})
+public class ConfigurationsDataTable extends DefaultDataTable<Configuration> {
 
-    @SuppressWarnings({"rawtypes", "unchecked"})
     private static List COLUMNS = Arrays.asList(
         new PropertyColumn<Configuration>(Model.of("pid"), "pid"),
         new AbstractColumn<Configuration>(Model.of("operations")) {
@@ -41,7 +45,7 @@ public class ConfigurationstDataTable ex
         }
     );
 
-    public ConfigurationstDataTable(String id, ISortableDataProvider<Configuration>
dataProvider, int rowsPerPage) {
+    public ConfigurationsDataTable(String id, ISortableDataProvider<Configuration>
dataProvider, int rowsPerPage) {
         super(id, COLUMNS, dataProvider, rowsPerPage);
     }
 

Modified: karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/sidebar/OsgiSidebar.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/sidebar/OsgiSidebar.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/sidebar/OsgiSidebar.java
(original)
+++ karaf/sandbox/webconsole/trunk/osgi/src/main/java/org/apache/karaf/webconsole/osgi/internal/sidebar/OsgiSidebar.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.osgi.internal.sidebar;
 
 import static org.apache.karaf.webconsole.core.util.LinkUtils.createPageLink;
@@ -14,8 +30,12 @@ import org.apache.karaf.webconsole.osgi.
 import org.apache.wicket.Page;
 import org.apache.wicket.markup.html.link.Link;
 
+/**
+ * Generic OSGi sidebar.
+ */
 public class OsgiSidebar implements SidebarProvider {
 
+    @SuppressWarnings("unchecked")
     public List<Link<Page>> getItems(String componentId, String labelId) {
         return Arrays.asList(
             createPageLink(componentId, labelId, "Configuration", ConfigurationsPage.class),

Modified: karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/ServiceMixPage.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/ServiceMixPage.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/ServiceMixPage.java
(original)
+++ karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/ServiceMixPage.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.servicemix.internal;
 
 import org.apache.karaf.webconsole.core.navigation.SidebarProvider;
@@ -5,6 +21,9 @@ import org.apache.karaf.webconsole.core.
 import org.apache.servicemix.nmr.api.NMR;
 import org.ops4j.pax.wicket.api.PaxWicketBean;
 
+/**
+ * Base for servicemix pages.
+ */
 public class ServiceMixPage extends SidebarPage {
 
     @PaxWicketBean(name = "nmr")

Modified: karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/sidebar/ServicemixSidebar.java
URL: http://svn.apache.org/viewvc/karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/sidebar/ServicemixSidebar.java?rev=1165242&r1=1165241&r2=1165242&view=diff
==============================================================================
--- karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/sidebar/ServicemixSidebar.java
(original)
+++ karaf/sandbox/webconsole/trunk/servicemix/src/main/java/org/apache/karaf/webconsole/servicemix/internal/sidebar/ServicemixSidebar.java
Mon Sep  5 11:07:16 2011
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.karaf.webconsole.servicemix.internal.sidebar;
 
 import static org.apache.karaf.webconsole.core.util.LinkUtils.createPageLink;
@@ -13,9 +29,12 @@ import org.apache.karaf.webconsole.servi
 import org.apache.wicket.Page;
 import org.apache.wicket.markup.html.link.Link;
 
-
+/**
+ * ServiceMix sidebar.
+ */
 public class ServicemixSidebar implements SidebarProvider {
 
+    @SuppressWarnings("unchecked")
     public List<Link<Page>> getItems(String componentId, String labelId) {
         return Arrays.asList(
             createPageLink(componentId, labelId, "Exchanges", TrackNmrPage.class)



Mime
View raw message