cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [4/8] cxf git commit: [CXF-7192] Removing cxf-rt-management-web module, to be restored on demand
Date Thu, 22 Dec 2016 14:23:26 GMT
http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.java
deleted file mode 100644
index 2d3aa0c..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.browser;
-
-import java.util.List;
-
-import org.apache.cxf.management.web.browser.client.service.settings.Subscription;
-import org.apache.cxf.management.web.browser.client.ui.View;
-
-public interface NavigationSidebarView extends View {
-
-    public interface Presenter {
-        void onExploreSubcriptionItemClicked(int row);
-
-        void onFilterSubcriptionItemClicked(int row);
-
-        void onManageSubscriptionsButtonClicked();
-
-        void onEditCriteriaHyperinkClicked();
-    }
-
-    void setSubscriptions(List<Subscription> subscriptions);
-    
-    void setPresenter(Presenter presenter);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml
deleted file mode 100644
index f6d5490..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  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.
-  -->
-<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:logbrowser="urn:import:org.apache.cxf.management.web.browser.client.ui.browser">
-    <ui:with field="res" type="org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources"/>
-    <g:StackLayoutPanel unit="EM">
-        <g:stack>
-            <g:header size="3">
-                <div><div/>
-               Explore
-            </div>
-            </g:header>
-            <g:ScrollPanel>
-                <g:HTMLPanel>
-                    <g:Label styleName="{res.css.sidebarHeader}">Tasks</g:Label>
-                    <g:Hyperlink ui:field="manageSubscriptionsHyperlink" styleName="{res.css.sidebarItem}">
-                  Manage endpoints
-               </g:Hyperlink>
-                    <g:Label styleName="{res.css.sidebarHeader}">Endpoints</g:Label>
-                    <logbrowser:SubscriptionTable ui:field="exploreSubscriptionTable" styleName="{res.css.browserTabEntrySelectableTable}"/>
-                </g:HTMLPanel>
-            </g:ScrollPanel>
-        </g:stack>
-        <g:stack>
-            <g:header size="3">
-                <div><div/>
-               Filter
-            </div>
-            </g:header>
-            <g:ScrollPanel>
-                <g:HTMLPanel>
-                    <g:Label styleName="{res.css.sidebarHeader}">Tasks</g:Label>
-                    <g:Hyperlink ui:field="editCriteriaHyperlink" styleName="{res.css.sidebarItem}">
-                  Edit criteria
-               </g:Hyperlink>
-                    <g:Label styleName="{res.css.sidebarHeader}">Endpoints</g:Label>
-                    <logbrowser:SubscriptionTable ui:field="filterSubscriptionTable" styleName="{res.css.browserTabEntrySelectableTable}"/>
-                </g:HTMLPanel>
-            </g:ScrollPanel>
-        </g:stack>
-    </g:StackLayoutPanel>
-</ui:UiBinder>

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarViewImpl.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarViewImpl.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarViewImpl.java
deleted file mode 100644
index 2aa23d7..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarViewImpl.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.browser;
-
-import java.util.List;
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.uibinder.client.UiBinder;
-import com.google.gwt.uibinder.client.UiField;
-import com.google.gwt.uibinder.client.UiHandler;
-import com.google.gwt.uibinder.client.UiTemplate;
-import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.Widget;
-import com.google.inject.Singleton;
-
-import org.apache.cxf.management.web.browser.client.service.settings.Subscription;
-
-@Singleton
-public class NavigationSidebarViewImpl extends Composite implements NavigationSidebarView {
-
-    @UiTemplate("NavigationSidebarView.ui.xml")
-    interface NavigationSidebarViewUiBinder extends UiBinder<Widget, NavigationSidebarViewImpl> { }
-
-    private static final NavigationSidebarViewUiBinder UI_BINDER =
-            GWT.create(NavigationSidebarViewUiBinder.class);    
-
-    @UiField @Nonnull
-    SubscriptionTable exploreSubscriptionTable;
-
-    @UiField @Nonnull
-    SubscriptionTable filterSubscriptionTable;
-
-    @Nullable
-    private Presenter presenter;
-
-    public NavigationSidebarViewImpl() {
-        initWidget(UI_BINDER.createAndBindUi(this));
-
-        addColumnDefinitions(exploreSubscriptionTable);
-        exploreSubscriptionTable.addSelectRowHandler(new SelectableTable.SelectRowHandler() {
-
-            public void onSelectRow(int row) {
-
-                // Remove selection from subscription list in filter section
-                filterSubscriptionTable.deselect();
-                presenter.onExploreSubcriptionItemClicked(row);
-            }
-        });
-
-        addColumnDefinitions(filterSubscriptionTable);
-        filterSubscriptionTable.addSelectRowHandler(new SelectableTable.SelectRowHandler() {
-
-            public void onSelectRow(int row) {
-
-                // Remove selection from subscription list in explore section
-                exploreSubscriptionTable.deselect();
-                presenter.onFilterSubcriptionItemClicked(row);
-            }
-        });
-    }
-
-    public void setSubscriptions(@Nonnull final List<Subscription> subscriptions) {
-        exploreSubscriptionTable.setData(subscriptions);
-        filterSubscriptionTable.setData(subscriptions);
-    }
-
-    @UiHandler("editCriteriaHyperlink")
-    void onEditCriteriaHyperlinkClicked(@Nonnull final ClickEvent event) {
-        assert presenter != null;
-        presenter.onEditCriteriaHyperinkClicked();
-    }
-
-    @UiHandler("manageSubscriptionsHyperlink")
-    void onManageSubscriptionsHyperlinkClicked(@Nonnull final ClickEvent event) {
-        assert presenter != null;
-        presenter.onManageSubscriptionsButtonClicked();
-    }
-
-    @SuppressWarnings("unchecked")
-    private void addColumnDefinitions(@Nonnull SubscriptionTable table) {
-        table.setColumnDefinitions(new SelectableTable.ColumnDefinition<Subscription>() {
-
-            public String getContent(Subscription subscription) {
-                return subscription.getName();
-            }
-
-            public String getWidth() {
-                return null;
-            }
-        });
-    }
-
-    public void setPresenter(Presenter presenter) {
-        this.presenter = presenter;
-    }
-
-    public Widget asWidget() {
-        return this;
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java
deleted file mode 100644
index 8472b3e..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java
+++ /dev/null
@@ -1,268 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.browser;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.dom.client.Element;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.KeyDownEvent;
-import com.google.gwt.event.dom.client.KeyDownHandler;
-import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.FlexTable;
-import com.google.gwt.user.client.ui.FlowPanel;
-import com.google.gwt.user.client.ui.FocusPanel;
-import com.google.gwt.user.client.ui.HTMLTable.Cell;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.ScrollPanel;
-import com.google.gwt.user.client.ui.UIObject;
-
-import org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources;
-
-public class SelectableTable<T> extends Composite {
-
-    @Nonnull
-    private final ScrollPanel scroller;
-
-    @Nullable
-    private final FocusPanel focuser;
-
-    @Nonnull
-    private final FlexTable table;
-
-    @Nonnull
-    private final List<SelectRowHandler> selectRowHandlers;
-
-    private final boolean hotkeysEnabled;
-
-    private int selectedRowIndex;
-    
-    private boolean isRowSelected;
-
-    private Label messageLabel;
-
-    @Nullable
-    private List<ColumnDefinition<T>> columnDefinitions;
-
-    @Nonnull
-    private LogBrowserResources resources = GWT.create(LogBrowserResources.class);
-
-    public SelectableTable(final boolean hotkeysEnabled) {
-        this.hotkeysEnabled = hotkeysEnabled;
-        selectRowHandlers = new ArrayList<SelectRowHandler>();
-
-        table = new FlexTable();
-        table.setCellPadding(0);
-        table.setCellSpacing(0);
-        table.setVisible(false);
-
-        messageLabel = new Label();
-        messageLabel.setVisible(false);
-
-        FlowPanel content = new FlowPanel();
-        content.add(messageLabel);
-        content.add(table);
-
-        scroller = new ScrollPanel();
-
-        if (hotkeysEnabled) {
-            focuser = new FocusPanel();
-            focuser.setWidth("99%");
-            focuser.add(content);
-
-            scroller.add(focuser);
-        } else {
-            focuser = null;
-
-            scroller.add(content);
-        }
-
-        addEventHandlers();
-
-        initWidget(scroller);
-    }
-
-    public void setMessageInsteadOfData(@Nonnull final String message, @Nullable final String styleName) {
-        messageLabel.setText(message);
-
-        messageLabel.setVisible(true);
-        table.setVisible(false);
-
-        if (styleName != null) {
-            messageLabel.setStyleName(styleName);
-        }
-    }
-
-    public void setData(@Nonnull final List<T> entries) {
-        assert columnDefinitions != null;
-        
-        table.removeAllRows();
-
-        messageLabel.setVisible(false);
-        table.setVisible(true);
-        
-        for (int i = 0; i < entries.size(); i++) {
-            T entry = entries.get(i);
-            for (int j = 0; j < columnDefinitions.size(); j++) {
-                ColumnDefinition<T> columnDefinition = columnDefinitions.get(j);
-                table.setText(i, j, columnDefinition.getContent(entry));
-                table.getCellFormatter().addStyleName(i, j, resources.css().selectableTableRow());
-            }
-        }
-
-        restoreRowSelection();
-
-        if (hotkeysEnabled) {
-            focuser.setFocus(true);
-        }
-    }
-
-    public void setColumnDefinitions(@Nonnull final List<ColumnDefinition<T>> columnDefinitions) {
-        this.columnDefinitions = columnDefinitions;
-        setColumnsWidth();
-    }
-
-    public void setColumnDefinitions(ColumnDefinition<T>... columnDefinitions) {
-        this.columnDefinitions = Arrays.asList(columnDefinitions);
-        setColumnsWidth();
-    }
-
-    public void addSelectRowHandler(@Nonnull final SelectRowHandler selectRowHandler) {
-        selectRowHandlers.add(selectRowHandler);
-    }
-
-    public void deselect() {
-        if (table.getRowCount() > 0) {
-            styleRow(selectedRowIndex, false);
-            selectedRowIndex = 0;
-            isRowSelected = false;
-        }
-    }
-
-    private void addEventHandlers() {
-        table.addClickHandler(new ClickHandler() {
-
-            public void onClick(@Nonnull final ClickEvent event) {
-                performClickAction(event);
-            }
-        });
-
-        if (hotkeysEnabled) {
-            focuser.addKeyDownHandler(new KeyDownHandler() {
-
-                public void onKeyDown(@Nonnull final KeyDownEvent event) {
-                    performKeyDownAction(event);
-                }
-            });
-        }
-    }
-
-    private void performClickAction(@Nonnull final ClickEvent event) {
-        Cell cell = table.getCellForEvent(event);
-        if (cell != null) {
-            int row = cell.getRowIndex();
-            selectRow(row);
-        }
-    }
-
-    private void performKeyDownAction(@Nonnull final KeyDownEvent event) {
-        if (isRowSelected) {
-            event.preventDefault();
-
-            if (event.isUpArrow()) {
-                selectRow(selectedRowIndex - 1);
-            } else if (event.isDownArrow()) {
-                selectRow(selectedRowIndex + 1);
-            }
-
-            ScrollMarker scrollMarker =
-                new ScrollMarker(table.getRowFormatter().getElement(selectedRowIndex));
-            scroller.ensureVisible(scrollMarker);
-        }
-    }
-
-    private void selectRow(final int row) {
-        if (row >= 0 && row < table.getRowCount()) {
-            if (isRowSelected) {
-                styleRow(selectedRowIndex, false);
-            }
-
-            selectedRowIndex = row;
-            styleRow(selectedRowIndex, true);
-            isRowSelected = true;
-
-            fireSelectRowEvent();
-        }
-    }
-
-    private void styleRow(final int row, final boolean selected) {
-        String style = resources.css().browserTabSelectedRow();
-
-        if (selected) {
-            table.getRowFormatter().addStyleName(row, style);
-        } else {
-            table.getRowFormatter().removeStyleName(row, style);
-        }
-    }
-
-    private void fireSelectRowEvent() {
-        for (SelectRowHandler selectRowHandler : selectRowHandlers) {
-            selectRowHandler.onSelectRow(selectedRowIndex);
-        }
-    }
-    
-    private void restoreRowSelection() {
-        if (isRowSelected && selectedRowIndex < table.getRowCount()) {
-            selectRow(selectedRowIndex);
-        } else {
-            isRowSelected = false;
-        }
-    }
-    
-    private void setColumnsWidth() {
-        assert columnDefinitions != null;
-        for (int j = 0; j < columnDefinitions.size(); j++) {
-            ColumnDefinition<?> columnDefinition = columnDefinitions.get(j);
-            table.getColumnFormatter().setWidth(j, columnDefinition.getWidth());
-        }
-    }
-
-    private class ScrollMarker extends UIObject {
-        ScrollMarker(Element element) {
-            setElement(element);
-        }
-    }
-
-    public interface SelectRowHandler {
-        void onSelectRow(int row);
-    }
-
-    public interface ColumnDefinition<T> {
-        String getContent(T t);
-        
-        String getWidth();
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SubscriptionTable.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SubscriptionTable.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SubscriptionTable.java
deleted file mode 100644
index 8df7c1a..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SubscriptionTable.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.browser;
-
-import org.apache.cxf.management.web.browser.client.service.settings.Subscription;
-
-public class SubscriptionTable extends SelectableTable<Subscription> {
-    public SubscriptionTable() {
-        super(/* hotkeys not enabled */ false);
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerPresenter.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerPresenter.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerPresenter.java
deleted file mode 100644
index 21d92c8..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerPresenter.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.browser;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.EventBus;
-import com.google.gwt.http.client.Request;
-import com.google.inject.Inject;
-import com.google.inject.Singleton;
-import com.google.inject.name.Named;
-
-import org.apache.cxf.management.web.browser.client.event.SelectedSubscriptionEvent;
-import org.apache.cxf.management.web.browser.client.event.SelectedSubscriptionEventHandler;
-import org.apache.cxf.management.web.browser.client.service.browser.Feed;
-import org.apache.cxf.management.web.browser.client.service.browser.FeedProxyImpl;
-import org.apache.cxf.management.web.browser.client.ui.BasePresenter;
-import org.apache.cxf.management.web.browser.client.ui.BindStrategy;
-import org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserConstans;
-import org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources;
-
-@Singleton
-public class ViewerPresenter extends BasePresenter implements ViewerView.Presenter {
-
-    @Nonnull
-    private final FeedProxyImpl proxy;
-
-    @Nonnull
-    private Feed feed;
-
-    @Nonnull
-    private final ViewerView view;
-
-    @Nonnull
-    private final LogBrowserConstans constans;
-
-    @Nonnull
-    private final LogBrowserResources resources;
-
-    @Inject
-    public ViewerPresenter(@Nonnull final EventBus eventBus,
-            @Nonnull final ViewerView view,
-            @Nonnull @Named("BindStrategyForViewer") final BindStrategy bindStrategy,
-            @Nonnull final FeedProxyImpl proxy,
-            @Nonnull final LogBrowserConstans constans,
-            @Nonnull final LogBrowserResources resources) {
-        super(eventBus, view, bindStrategy);
-
-        this.view = view;
-        this.view.setPresenter(this);
-
-        this.proxy = proxy;
-        this.constans = constans;
-        this.resources = resources;        
-
-        setFeed(Feed.EMPTY);
-
-        bind();
-    }
-
-    private void bind() {
-        eventBus.addHandler(SelectedSubscriptionEvent.TYPE, new SelectedSubscriptionEventHandler() {
-
-            public void onSelectedSubscription(SelectedSubscriptionEvent event) {
-                getFeed(event.getUrl());
-            }
-        });
-        
-    }
-
-    public void onEntryItemClicked(final int row) {
-        assert row >= 0 && row < feed.getEntries().size();
-        view.setEntryDetails(feed.getEntries().get(row));
-    }
-
-    public void onNewerButtonClicked() {
-        getFeed(feed.getLinks().getNext());
-    }
-
-    public void onLastButtonClicked() {
-        getFeed(feed.getLinks().getLast());
-    }
-
-    public void onFirstButtonClicked() {
-        getFeed(feed.getLinks().getFirst());
-    }
-
-    public void onRefreshButtonClicked() {
-        getFeed(feed.getLinks().getSelf());
-    }
-
-    public void onOlderButtonClicked() {
-        getFeed(feed.getLinks().getPrevious());
-    }
-
-    private void setFeed(@Nonnull final Feed newFeed) {
-        feed = newFeed;
-
-        view.setEntryDetails(null);
-        view.setLinks(feed.getLinks());
-
-        if (feed.getEntries().isEmpty()) {
-            setNoEntriesMessage();
-        } else {
-            view.setEntries(feed.getEntries());
-        }
-    }
-
-    private void setNoEntriesMessage() {
-        view.setMessageInsteadOfEntries(constans.browserTabNoEntries(),
-            resources.css().browserTabNoEntriesMessage());
-    }
-
-    private void setLoadingMessage() {
-        view.setMessageInsteadOfEntries(constans.browserTabLoading(),
-            resources.css().browserTabLoadingMessage());
-    }
-
-    //TODO Rename this method. Name should emphasize that it gets and sets feed
-    private void getFeed(@Nonnull final String url) {
-        setLoadingMessage();
-        proxy.getFeed(url, new FeedProxyImpl.Callback() {
-
-            @Override
-            public void onSuccess(@Nonnull final Feed newFeed) {
-                setFeed(newFeed);
-            }
-
-            @Override
-            public void onError(@Nonnull final Request request, @Nonnull final Throwable ex) {
-                setFeed(Feed.EMPTY);
-                super.onError(request, ex);
-            }
-
-        });
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.java
deleted file mode 100644
index 716942d..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.browser;
-
-import java.util.List;
-
-import org.apache.cxf.management.web.browser.client.service.browser.Entry;
-import org.apache.cxf.management.web.browser.client.service.browser.Links;
-import org.apache.cxf.management.web.browser.client.ui.View;
-
-public interface ViewerView extends View {
-
-    public interface Presenter {
-        void onEntryItemClicked(int row);
-
-        void onOlderButtonClicked();
-
-        void onNewerButtonClicked();
-
-        void onLastButtonClicked();
-
-        void onFirstButtonClicked();
-
-        void onRefreshButtonClicked();                
-    }
-
-    void setMessageInsteadOfEntries(String message, String styleName);
-
-    void setEntries(List<Entry> entries);
-
-    void setEntryDetails(Entry entry);
-
-    void setLinks(Links links);
-
-    void setPresenter(Presenter presenter);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.ui.xml
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.ui.xml b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.ui.xml
deleted file mode 100644
index cc27a4b..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerView.ui.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  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.
-  -->
-<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:logbrowser="urn:import:org.apache.cxf.management.web.browser.client.ui.browser">
-    <ui:with field="res" type="org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources"/>
-    <g:SplitLayoutPanel>
-        <g:north size="200">
-            <g:DockLayoutPanel styleName="{res.css.browserTabToolBar}" unit="EM">
-                <g:north size="2.2">
-                    <g:HTMLPanel>
-                        <table cellspacing="0" cellpadding="0" class="{res.css.browserTabEntryTableHeaders}">
-                            <colgroup>
-                                <!--TODO move this values to constans-->
-                                <col width="160px"/>
-                                <col width="128px"/>
-                                <col/>
-                                <col width="350px"/>
-                            </colgroup>
-                            <tbody>
-                                <tr>
-                                    <td>
-                                        Date
-                                    </td>
-                                    <td>
-                                        Level
-                                    </td>
-                                    <td>
-                                        Message
-                                    </td>
-                                    <td style="text-align:right;">
-                                        <g:Anchor styleName="{res.css.browserTabNavigationLink}" ui:field="firstButton" href="javascript:;">
-                                            &#xAB; first
-                                        </g:Anchor>
-                                        <g:Anchor styleName="{res.css.browserTabNavigationLink}" ui:field="olderButton" href="javascript:;">
-                                            &#x2039; previous
-                                        </g:Anchor>
-                                        <g:Anchor styleName="{res.css.browserTabNavigationLink}" ui:field="refreshButton" href="javascript:;">
-                                            refresh
-                                        </g:Anchor>
-                                        <g:Anchor styleName="{res.css.browserTabNavigationLink}" ui:field="newerButton" href="javascript:;">
-                                            next &#x203A;
-                                        </g:Anchor>
-                                        <g:Anchor styleName="{res.css.browserTabNavigationLink}" ui:field="lastButton" href="javascript:;">
-                                            last &#xBB;
-                                        </g:Anchor>
-                                    </td>
-                                </tr>
-                            </tbody>
-                        </table>
-                    </g:HTMLPanel>
-                </g:north>
-                <g:center>
-                    <logbrowser:EntryTable ui:field="entryTable" styleName="{res.css.browserTabEntrySelectableTable}"/>
-                </g:center>
-            </g:DockLayoutPanel>
-        </g:north>
-        <g:center size="200">
-            <g:DockLayoutPanel styleName="{res.css.browserTabEntryDetailsSection}" unit="EM">
-                <g:center>
-                    <g:ScrollPanel>
-                        <g:HTML ui:field="entryDetails" styleName="{res.css.browserTabEntryDetailsContent}"/>
-                    </g:ScrollPanel>
-                </g:center>
-            </g:DockLayoutPanel>
-        </g:center>
-    </g:SplitLayoutPanel>
-</ui:UiBinder>

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerViewImpl.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerViewImpl.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerViewImpl.java
deleted file mode 100644
index 4b7f6cb..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/ViewerViewImpl.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.browser;
-
-import java.util.List;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.i18n.client.DateTimeFormat;
-import com.google.gwt.safehtml.shared.SafeHtmlUtils;
-import com.google.gwt.uibinder.client.UiBinder;
-import com.google.gwt.uibinder.client.UiField;
-import com.google.gwt.uibinder.client.UiHandler;
-import com.google.gwt.uibinder.client.UiTemplate;
-import com.google.gwt.user.client.ui.Anchor;
-import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.HTML;
-import com.google.gwt.user.client.ui.Widget;
-import com.google.inject.Inject;
-import com.google.inject.Singleton;
-
-import org.apache.cxf.management.web.browser.client.service.browser.Entry;
-import org.apache.cxf.management.web.browser.client.service.browser.Links;
-import org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserConstans;
-
-@Singleton
-public class ViewerViewImpl extends Composite implements ViewerView {
-
-    private static final DateTimeFormat DT_FORMATTER =
-        DateTimeFormat.getFormat("HH:mm:ss dd.MM.yyyy");
-
-    @UiTemplate("ViewerView.ui.xml")
-    interface ViewerViewUiBinder extends UiBinder<Widget, ViewerViewImpl> { }
-
-    private static final ViewerViewUiBinder UI_BINDER =
-            GWT.create(ViewerViewUiBinder.class);
-
-    @UiField @Nonnull
-    EntryTable entryTable;
-
-    @UiField @Nonnull
-    HTML entryDetails;
-
-    @UiField @Nonnull
-    Anchor refreshButton;
-
-    @UiField @Nonnull
-    Anchor newerButton;
-
-    @UiField @Nonnull
-    Anchor olderButton;
-
-    @UiField @Nonnull
-    Anchor lastButton;
-
-    @UiField @Nonnull
-    Anchor firstButton;    
-
-    private Presenter presenter;
-
-    @Nonnull
-    private final LogBrowserConstans constans;
-
-    @Inject
-    public ViewerViewImpl(@Nonnull final LogBrowserConstans constans) {
-        this.constans = constans;
-        
-        initWidget(UI_BINDER.createAndBindUi(this));
-
-        initEntryTable();
-    }
-
-    public void setEntries(@Nonnull final List<Entry> entries) {
-        entryTable.setData(entries);
-    }
-
-
-    public void setMessageInsteadOfEntries(@Nonnull final String message, @Nullable final String styleName) {
-        entryTable.setMessageInsteadOfData(message, styleName);
-    }
-
-    public void setEntryDetails(@Nullable final Entry entry) {
-        if (entry == null) {
-            entryDetails.setHTML("");
-            return;
-        }
-
-        String val = entry.getMessage() != null 
-            ? entry.getMessage() : entry.getThrowable() != null
-            ? entry.getThrowable() : "";
-        entryDetails.setHTML(SafeHtmlUtils.fromString(val));
-    }
-
-    public void setLinks(@Nonnull final Links links) {
-        olderButton.setVisible(links.previousAvailable());
-        newerButton.setVisible(links.nextAvailable());
-        refreshButton.setVisible(links.selfAvailable());
-        lastButton.setVisible(links.lastAvailable());
-        firstButton.setVisible(links.firstAvailable());
-    }
-
-    @UiHandler("firstButton")
-    void onFirstButtonClicked(@Nonnull ClickEvent event) {
-        assert presenter != null;
-        presenter.onFirstButtonClicked();
-    }
-
-    @UiHandler("newerButton")
-    void onNewerButtonClicked(@Nonnull ClickEvent event) {
-        assert presenter != null;
-        presenter.onNewerButtonClicked();
-    }
-
-    @UiHandler("refreshButton")
-    void onRefreshButtonClicked(@Nonnull ClickEvent event) {
-        assert presenter != null;
-        presenter.onRefreshButtonClicked();
-    }
-
-    @UiHandler("olderButton")
-    void onOlderButtonClicked(@Nonnull ClickEvent event) {
-        assert presenter != null;
-        presenter.onOlderButtonClicked();
-    }
-
-    @UiHandler("lastButton")
-    void onLastButtonClicked(@Nonnull ClickEvent event) {
-        assert presenter != null;
-        presenter.onLastButtonClicked();
-    }
-
-    @SuppressWarnings("unchecked")
-    private void initEntryTable() {
-        entryTable.setColumnDefinitions(
-            new SelectableTable.ColumnDefinition<Entry>() {
-    
-                public String getContent(Entry entry) {
-                    return DT_FORMATTER.format(entry.getEventTimestamp());
-                }
-
-                public String getWidth() {
-                    return constans.browseTabDatatimeColumnWidth();
-                }
-            },
-            new SelectableTable.ColumnDefinition<Entry>() {
-
-                public String getContent(Entry entry) {
-                    return entry.getLevel();
-                }
-
-                public String getWidth() {
-                    return constans.browseTabLevelColumnWidth();
-                }
-            },
-            new SelectableTable.ColumnDefinition<Entry>() {
-
-                public String getContent(Entry entry) {
-                    return entry.getTitle();
-                }
-
-                public String getWidth() {
-                    return null;
-                }
-            }
-        );
-
-        entryTable.addSelectRowHandler(new SelectableTable.SelectRowHandler() {
-
-            public void onSelectRow(int row) {
-                assert presenter != null;
-                presenter.onEntryItemClicked(row);
-            }
-        });
-    }
-
-    public void setPresenter(Presenter presenter) {
-        this.presenter = presenter;
-    }
-
-    public Widget asWidget() {
-        return this;
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderPresenter.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderPresenter.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderPresenter.java
deleted file mode 100644
index 6464719..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderPresenter.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.common;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.event.shared.EventBus;
-import com.google.inject.Inject;
-import com.google.inject.name.Named;
-
-import org.apache.cxf.management.web.browser.client.event.GoToSettingsEvent;
-import org.apache.cxf.management.web.browser.client.ui.BasePresenter;
-import org.apache.cxf.management.web.browser.client.ui.BindStrategy;
-
-public class NavigationHeaderPresenter extends BasePresenter implements NavigationHeaderView.Presenter {
-
-    @Nonnull
-    private NavigationHeaderView view;
-
-    @Inject
-    public NavigationHeaderPresenter(@Nonnull final EventBus eventBus,
-            @Nonnull final NavigationHeaderView view,
-            @Nonnull @Named("BindStrategyForNavigationHeader") final BindStrategy bindStrategy) {
-        super(eventBus, view, bindStrategy);
-
-        this.view = view;
-        this.view.setPresenter(this);
-    }
-
-    public void onSettingsButtonClicked() {
-        eventBus.fireEvent(new GoToSettingsEvent());
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.java
deleted file mode 100644
index 2f1a06b..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.common;
-
-import org.apache.cxf.management.web.browser.client.ui.View;
-
-public interface NavigationHeaderView extends View {
-    
-    public interface Presenter {
-        void onSettingsButtonClicked();
-    }
-
-    void setPresenter(Presenter presenter);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml
deleted file mode 100644
index 02c855d..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  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.
-  -->
-<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui">
-    <ui:with field="res" type="org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources"/>
-    <g:HTMLPanel>
-        <table>
-            <tbody>
-                <tr>
-                    <td align="right">
-                        <g:Hyperlink ui:field="settingsHyperlink" styleName="{res.css.topbarLink}">
-                     Settings
-                  </g:Hyperlink>
-                    </td>
-                </tr>
-            </tbody>
-        </table>
-    </g:HTMLPanel>
-</ui:UiBinder>

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderViewImpl.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderViewImpl.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderViewImpl.java
deleted file mode 100644
index f993802..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderViewImpl.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.common;
-
-import javax.annotation.Nonnull;
-
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.uibinder.client.UiBinder;
-import com.google.gwt.uibinder.client.UiHandler;
-import com.google.gwt.uibinder.client.UiTemplate;
-import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.Widget;
-
-public class NavigationHeaderViewImpl extends Composite implements NavigationHeaderView {
-
-    @UiTemplate("NavigationHeaderView.ui.xml")
-    interface NavigationHeaderViewUiBinder extends UiBinder<Widget, NavigationHeaderViewImpl> { }
-
-    private static final NavigationHeaderViewUiBinder UI_BINDER =
-            GWT.create(NavigationHeaderViewUiBinder.class);
-
-    @Nonnull
-    private Presenter presenter;
-
-    public NavigationHeaderViewImpl() {
-        initWidget(UI_BINDER.createAndBindUi(this));
-    }
-
-    @UiHandler("settingsHyperlink")
-    void onSignOutHyperlinkClicked(@Nonnull final ClickEvent event) {
-        assert presenter != null;
-        presenter.onSettingsButtonClicked();
-    }
-
-    public void setPresenter(@Nonnull final Presenter presenter) {
-        this.presenter = presenter;
-    }
-
-    public Widget asWidget() {
-        return this;
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserConstans.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserConstans.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserConstans.java
deleted file mode 100644
index a80c6a4..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserConstans.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.resources;
-
-import com.google.gwt.i18n.client.Constants;
-
-//TODO divide items into groups (like: browseTab, settingsTab etc.)
-public interface LogBrowserConstans extends Constants {
-
-    @DefaultStringValue("Application Error")
-    String errorDialogTitle();
-
-    @DefaultStringValue("Continue")
-    String errorDialogContineButton();
-
-    @DefaultStringValue("No entries")
-    String browserTabNoEntries();
-
-    @DefaultStringValue("160px")
-    String browseTabDatatimeColumnWidth();
-
-    @DefaultStringValue("128px")
-    String browseTabLevelColumnWidth();
-
-    @DefaultStringValue("350px")
-    String browseTabNavigationLinksColumnWidth();
-
-    @DefaultStringValue("Loading")
-    String browserTabLoading();
-
-    @DefaultStringValue("Edit criteria")
-    String editCriteriaDialogTitle();
-
-    @DefaultStringValue("Add endpoint")
-    String settingsTabAddSubscriptionDialogTitle();
-
-    @DefaultStringValue("Edit endpoint")
-    String settingsTabEditSubscriptionDialogTitle();
-
-    @DefaultStringValue("Name can't be empty")
-    String settingsTabSubscriptionDialogEmptyName();
-
-    @DefaultStringValue("URL can't be empty")
-    String settingsTabSubscriptionDialogEmptyUrl();
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java
deleted file mode 100644
index db9410c..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.resources;
-
-import com.google.gwt.resources.client.CssResource;
-
-public interface LogBrowserCss extends CssResource {
-
-    String navigationSidebarSlot();
-    String viewerSlot();
-
-    /* Error Dialog styles */
-    String errorDialog();
-    String errorDialogGlass();
-    String errorDialogTitle();
-    String errorDialogButtons();
-    String errorDialogErrorType();
-
-    /* Browser tab styles*/
-    String browserTabLoadingMessage();
-    String browserTabNoEntriesMessage();
-    String browserTabSelectedRow();
-    String browserTabManageSubscriptionsButton();
-    String browserTabToolBar();
-    String browserTabEntryTableHeaders();
-    String browserTabEntrySelectableTable();
-    String browserTabSubscriptionsSideBar();
-    String browserTabSubscriptionsHeader();
-    String browserTabEntryDetailsSection();
-    String browserTabEntryDetailsContent();
-    String browserTabNavigationLink();
-
-    String sidebarItem();
-    String sidebarHeader();
-
-    String topbarLink();
-
-    String selectableTableRow();
-
-    /* Settings tab styles */
-    String settingsTabHeader();
-    String settingsTabBackButton();
-    String settingsTabTitle();
-    String settingsTabToolBar();
-    String settingsTabContent();
-    String settingsTabFeedList();
-
-    /*  Feed's entry (in settings tab) styles */
-    String feedEntry();
-    String feedEntryNameLabel();
-    String feedEntryUrlLabel();
-    String feedEntryButtons();
-    String feedEntryRemoveButton();
-    String feedEntryEditButton();
-
-    /* Edit feed dialog (in settings tab) styles */
-    String editFeedDialogErrorMessage();
-    String editFeedDialogButtons();
-    String editFeedDialogAddButton();
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserResources.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserResources.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserResources.java
deleted file mode 100644
index 8726cef..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserResources.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.resources;
-
-import com.google.gwt.resources.client.ClientBundle;
-import com.google.gwt.resources.client.ImageResource;
-
-public interface LogBrowserResources extends ClientBundle {
-
-    @Source("logbrowser.css")
-    LogBrowserCss css();
-
-    @Source("loader.gif")
-    ImageResource loader();    
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/loader.gif
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/loader.gif b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/loader.gif
deleted file mode 100644
index d42f72c..0000000
Binary files a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/loader.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css
deleted file mode 100644
index a42aca3..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css
+++ /dev/null
@@ -1,290 +0,0 @@
-a {
-   cursor: pointer;
-}
-
-.topbarLink {
-   width: 5em;
-}
-
-.topbarLink > a {
-   color:#00C;
-   text-decoration: underline;
-   padding-top: 2px;
-   padding-right: 10px;
-}
-
-.selectableTableRow {
-   cursor: pointer;
-}
-
-.navigationSidebarSlot > div {
-    position: absolute !important;
-    left: 0px;
-    top: 0px;
-    right: 0px;
-    bottom: 0px;
-}
-
-.viewerSlot > div {
-    position: absolute !important;
-    left: 0px;
-    top: 0px;
-    right: 0px;
-    bottom: 0px;
-}
-
-
-/** Error Dialog **/
-
-.errorDialog {
-  background: none;
-  border: none;
-  padding: 10px;
-  width: 600px;
-  color: #FFFFFF;
-  font-size: 15px;
-  font-family: verdana;
-}
-
-.errorDialogGlass {
-  opacity: 0.75;
-}
-
-@if user.agent safari {
-
-  .errorDialogGlass {
-    opacity: 0.80;
-  }
-}
-
-@if user.agent ie6 ie8 {
-
-  /* IE just doesn't do opacity the way we want, make our dialog
-   * stand out in a way that it can't be missed against the page
-   */
-  .errorDialog {
-    color: black;
-    background: darkgray;
-    border: 10px groove lightgrey;
-  }
-}
-
-.errorDialogTitle {
-  font-size: 30px;
-  font-weight: bold;
-  margin-bottom: 15px;
-}
-
-.errorDialogErrorType {
-  font-weight: bold;
-  white-space: nowrap;
-  margin-bottom: 15px;
-}
-
-.errorDialogButtons {
-  width: 100%;
-  margin-top: 15px;
-}
-
-/* Browser tab styles */
-
-@sprite .browserTabLoadingMessage {
-    gwt-image: "loader";
-    background-repeat:no-repeat;
-    background-position:left;
-    color:grey;
-    font-size:large;
-    margin-top:1em;
-    text-align:right;
-    margin-left:auto;
-    margin-right:auto;
-    width:5.7em;
-    height:100%;
-}
-
-.browserTabNoEntriesMessage {
-    color:grey;
-    font-size:large;
-    height:auto;
-    margin-top:1em;
-    text-align:center;
-}
-
-.browserTabSelectedRow {
-    background: #adcce7;
-}
-
-.browserTabSelectedRow td {
-    border-top: 1px solid #88a4d6;
-    border-bottom: 1px solid #7b97d0;
-}
-
-.browserTabManageSubscriptionsButton {
-    font-size: 11px;
-    color: #3366CC;
-    margin-left: 0.7em;
-}
-
-.browserTabToolBar {
-    border-left: 1px solid #999;
-    border-bottom: 1px solid #999;
-}
-
-.browserTabEntryTableHeaders {
-    background: #E3E8F3 url(gwt/standard/images/hborder.png) repeat-x scroll 0 -2003px;
-    table-layout: fixed;
-    width: 100%;
-    height: 100%;
-    border-bottom: 2px solid #BBCDF3;
-    border-top: 3px solid #BBCDF3;
-}
-
-.browserTabEntryTableHeaders td {
-    text-shadow: #fff 0 2px 2px;
-    padding: 2px 0 1px 10px;
-}
-
-.browserTabEntrySelectableTable {
-    table-layout: fixed;
-    width: 100%;
-}
-
-.browserTabEntrySelectableTable table {
-    width: 100%;
-}
-
-.browserTabEntrySelectableTable td {
-    border-top: 1px solid #fff;
-    border-bottom: 1px solid #fff;
-    padding: 2px 0 2px 10px;
-}
-
-.sidebarItem {
-   margin-top: 2px;
-   margin-bottom: 5px;
-   padding-left:10px;
-   white-space:nowrap;
-}
-
-.sidebarHeader {
-   color:#666;
-   text-transform:uppercase;
-   letter-spacing:1px;
-   font-size: x-small;
-   border-bottom-style:solid;
-   border-bottom-color:#666;
-   border-width:1px;
-   margin-top: 10px;
-   margin-bottom: 5px;
-   white-space:nowrap;
-}
-
-.browserTabSubscriptionsSideBar {
-    border-right: 1px solid #999999;
-}
-
-.browserTabSubscriptionsHeader {
-    background: #E3E8F3 url(gwt/standard/images/hborder.png) repeat-x scroll 0 -2003px;
-    border-bottom: 2px solid #BBCDF3;
-    border-top: 3px solid #BBCDF3;
-    padding-left:0.7em;
-    padding-top:0.25em;
-    padding-bottom:0.2em;
-}
-
-.browserTabEntryDetailsSection {
-    border: 1px solid #999999;
-}
-
-.browserTabEntryDetailsContent {
-    white-space:pre-wrap;
-    line-height: 150%;
-    padding: 20px 40px 20px 10px;
-    font-family: monospace, serif;
-}
-
-.browserTabNavigationLink {
-    margin: 0 8px;
-}
-
-/* Settings tab styles */
-
-.settingsTabHeader {
-    background: #FFCC66 none repeat scroll 0 0;
-    padding:0.3em;
-    margin-top:0.5em;
-}
-
-.settingsTabBackButton {
-    margin-top: 0.5em;
-    display:inline;
-}
-
-.settingsTabTitle {
-    font-size: 140%;
-    margin: 0.1em 1.5em 0 0.3em;
-    font-weight: bold;
-    display:inline;
-}
-
-.settingsTabToolBar {
-    padding-left:1em;
-    padding-top:0.5em;
-    padding-bottom:0.5em;
-    background-color:#FFEDA3;
-}
-
-.settingsTabContent {
-    background-color:#FFF7D7;
-}
-
-.settingsTabFeedList {
-    width:100%;
-    padding:0.5em;
-}
-
-/*  Feed's entry (in settings tab) styles */
-
-.feedEntry {
-    border-bottom:1px solid #FFCC66;
-    padding-bottom:0.5em;
-    width:100%;
-}
-
-.feedEntryNameLabel {
-    font-weight: bold;
-}
-
-.feedEntryUrlLabel {
-    color: gray;
-    float: left;
-}
-
-.feedEntryButtons {
-    text-align:right;
-    vertical-align:center;
-}
-
-.feedEntryRemoveButton {
-}
-
-.feedEntryEditButton {
-    margin-left: 0.5em;
-    margin-right: 1em;
-}
-
-/* Edit feed dialog styles */
-
-.editFeedDialogAddButton {
-    margin:0.4em;
-}
-
-.editFeedDialogButtons {
-    text-align:right;
-}
-
-.editFeedDialogErrorMessage {
-    color:red;
-}
-
-

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsPresenter.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsPresenter.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsPresenter.java
deleted file mode 100644
index f2e4f7f..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsPresenter.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.settings;
-
-import java.util.HashMap;
-import java.util.Map;
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.event.shared.EventBus;
-import com.google.gwt.user.client.ui.HasValue;
-import com.google.gwt.user.client.ui.HasWidgets;
-import com.google.inject.Inject;
-import com.google.inject.Singleton;
-import com.google.inject.name.Named;
-
-import org.apache.cxf.management.web.browser.client.event.ChangedSubscriptionsEvent;
-import org.apache.cxf.management.web.browser.client.event.GoToBrowserEvent;
-import org.apache.cxf.management.web.browser.client.service.settings.SettingsFacade;
-import org.apache.cxf.management.web.browser.client.service.settings.Subscription;
-import org.apache.cxf.management.web.browser.client.ui.BasePresenter;
-import org.apache.cxf.management.web.browser.client.ui.BindStrategy;
-import org.apache.cxf.management.web.browser.client.ui.common.NavigationHeaderPresenter;
-import org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserConstans;
-
-@Singleton
-public class SettingsPresenter extends BasePresenter
-        implements SettingsView.Presenter, SubscriptionDialog.Presenter {
-
-    @Nonnull
-    private final SettingsView view;
-
-    @Nonnull
-    private final SettingsFacade settingsFacade;
-
-    @Nonnull
-    private final SubscriptionDialog subscriptionDialog;
-
-    @Nonnull
-    private final LogBrowserConstans constans;
-
-    @Inject
-    public SettingsPresenter(@Nonnull final EventBus eventBus,
-                             @Nonnull final SettingsView view,
-                             @Nonnull @Named("BindStrategyForSettings") final BindStrategy bindStrategy,
-                             @Nonnull final NavigationHeaderPresenter navigationHeaderPresenter,
-                             @Nonnull final SettingsFacade settingsFacade,
-                             @Nonnull final SubscriptionDialog subscriptionDialog,
-                             @Nonnull final LogBrowserConstans constans) {
-        super(eventBus, view, bindStrategy);
-
-        this.view = view;
-        this.settingsFacade = settingsFacade;
-        this.subscriptionDialog = subscriptionDialog;
-        this.constans = constans;
-        
-        this.view.setPresenter(this);
-        this.subscriptionDialog.setPresenter(this);
-
-        navigationHeaderPresenter.go(view.getNaviagationHeaderSlot());
-
-        updateSubscriptions();
-    }
-
-    public void go(@Nonnull final HasWidgets container) {
-        container.clear();
-        container.add(view.asWidget());
-    }
-
-    public void onAddSubscriptionButtonClicked() {
-        showSubscriptionDialog(constans.settingsTabAddSubscriptionDialogTitle(), null);
-    }
-
-    public void onEditSubscriptionButtonClicked(@Nonnull final Subscription subscription) {
-        showSubscriptionDialog(constans.settingsTabEditSubscriptionDialogTitle(), subscription);
-    }
-
-    public void onRemoveSubscriptionButtonClicked(@Nonnull final Subscription subscription) {
-        settingsFacade.removeSubscription(subscription);
-        updateSubscriptions();
-    }
-
-    public void onSaveButtonClicked(@Nullable final String id,
-                                    @Nonnull final HasValue<String> name,
-                                    @Nonnull final HasValue<String> url) {
-        Map<HasValue<String>, String> errors = validate(name, url);
-
-        if (errors.isEmpty()) {
-            String nameValue = name.getValue();
-            String urlValue = url.getValue();
-
-            if (id == null) {
-                settingsFacade.addSubscription(nameValue, urlValue);
-            } else {
-                settingsFacade.updateSubscription(new Subscription(id, nameValue, urlValue));
-            }
-
-            updateSubscriptions();
-            subscriptionDialog.hide();
-        } else {
-            subscriptionDialog.setValidationErrors(errors);
-        }
-    }
-
-    public void onCancelButtonClicked() {
-        subscriptionDialog.hide();
-    }
-
-    public void onBackHyperlinkClicked() {
-        eventBus.fireEvent(new GoToBrowserEvent());
-    }
-
-    private void updateSubscriptions() {
-        eventBus.fireEvent(new ChangedSubscriptionsEvent());
-        view.setData(settingsFacade.getSubscriptions());
-    }
-
-    private void showSubscriptionDialog(@Nonnull final String title, @Nullable final Subscription data) {
-        subscriptionDialog.setTitle(title);
-        subscriptionDialog.setData(data);
-        subscriptionDialog.setValidationErrors(null);
-        subscriptionDialog.center();
-        subscriptionDialog.show();
-    }
-
-    private Map<HasValue<String>, String> validate(@Nonnull final HasValue<String> name,
-                                           @Nonnull final HasValue<String> url) {
-        Map<HasValue<String>, String> errors = new HashMap<HasValue<String>, String>();
-
-        String nameValue = name.getValue();
-        if (nameValue == null || nameValue.length() == 0) {
-            errors.put(name, constans.settingsTabSubscriptionDialogEmptyName());
-        }
-
-        String urlValue = url.getValue();
-        if (urlValue == null || urlValue.length() == 0) {
-            errors.put(url, constans.settingsTabSubscriptionDialogEmptyUrl());
-        }
-
-        return errors;
-    }
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.java
deleted file mode 100644
index d516e4e..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.settings;
-
-import java.util.List;
-
-import com.google.gwt.user.client.ui.HasWidgets;
-
-import org.apache.cxf.management.web.browser.client.service.settings.Subscription;
-import org.apache.cxf.management.web.browser.client.ui.View;
-
-public interface SettingsView extends View {
-
-    public interface Presenter {
-
-        void onAddSubscriptionButtonClicked();
-
-        void onEditSubscriptionButtonClicked(Subscription subscription);
-
-        void onRemoveSubscriptionButtonClicked(Subscription subscription);
-
-        void onBackHyperlinkClicked();
-    }
-
-    HasWidgets getNaviagationHeaderSlot();
-
-    void setData(List<Subscription> subscriptions);
-
-    void setPresenter(Presenter presenter);
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.ui.xml
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.ui.xml b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.ui.xml
deleted file mode 100644
index eec19e2..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsView.ui.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  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.
-  -->
-<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui">
-    <ui:with field="res" type="org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources"/>
-    <ui:style>
-      .content {
-         margin: 0.5em 1em;
-         padding: 3px;
-         background-color: #FC6;
-      }
-
-      .header {
-         width: auto;
-         margin-bottom: 0.5em;
-      }
-
-      .header td {
-         vertical-align: bottom;
-      }
-
-      .title {
-         font-size: 140%;
-         font-weight: bold;
-         margin-left: 0.3em;
-         margin-right: 1em;
-      }
-
-      .backLink {
-         text-decoration: underline;
-      }
-   </ui:style>
-    <g:ScrollPanel>
-        <g:HTMLPanel>
-            <g:FlowPanel ui:field="navigationHeaderSlot"/>
-            <div class="{style.content}">
-                <table class="{style.header}">
-                    <tbody>
-                        <tr>
-                            <td>
-                                <g:Label addStyleNames="{style.title}">
-                           Settings
-                        </g:Label>
-                            </td>
-                            <td>
-                                <g:Hyperlink ui:field="backHyperlink" addStyleNames="{style.backLink}">
-                           « Back to Explorer
-                        </g:Hyperlink>
-                            </td>
-                        </tr>
-                    </tbody>
-                </table>
-                <g:DecoratedTabPanel ui:field="tabPanel" addStyleDependentNames="settings">
-                    <g:Tab text="Endpoints">
-                        <g:HTMLPanel>
-                            <g:Button ui:field="addSubscriptionButton">
-                        Add endpoint
-                     </g:Button>
-                            <g:FlexTable ui:field="subscriptionsTable"/>
-                        </g:HTMLPanel>
-                    </g:Tab>
-                </g:DecoratedTabPanel>
-            </div>
-        </g:HTMLPanel>
-    </g:ScrollPanel>
-</ui:UiBinder>

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsViewImpl.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsViewImpl.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsViewImpl.java
deleted file mode 100644
index 9676742..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SettingsViewImpl.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.settings;
-
-import java.util.List;
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.uibinder.client.UiBinder;
-import com.google.gwt.uibinder.client.UiField;
-import com.google.gwt.uibinder.client.UiHandler;
-import com.google.gwt.uibinder.client.UiTemplate;
-import com.google.gwt.user.client.ui.Button;
-import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.DecoratedTabPanel;
-import com.google.gwt.user.client.ui.FlexTable;
-import com.google.gwt.user.client.ui.FlowPanel;
-import com.google.gwt.user.client.ui.HasWidgets;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.Widget;
-import com.google.inject.Singleton;
-
-import org.apache.cxf.management.web.browser.client.service.settings.Subscription;
-
-@Singleton
-public class SettingsViewImpl extends Composite implements SettingsView {
-
-    @UiTemplate("SettingsView.ui.xml")
-    interface SettingsViewUiBinder extends UiBinder<Widget, SettingsViewImpl> {
-    }
-
-    private static final SettingsViewUiBinder UI_BINDER = GWT.create(SettingsViewUiBinder.class);
-
-    @UiField @Nonnull
-    DecoratedTabPanel tabPanel;
-
-    @UiField @Nonnull
-    FlowPanel navigationHeaderSlot;
-
-    @UiField @Nonnull
-    FlexTable subscriptionsTable;
-
-    @Nullable
-    private Presenter presenter;
-
-    public SettingsViewImpl() {
-        initWidget(UI_BINDER.createAndBindUi(this));
-        tabPanel.selectTab(0);
-    }
-
-    public HasWidgets getNaviagationHeaderSlot() {
-        return navigationHeaderSlot;
-    }
-
-    public void setData(@Nonnull final List<Subscription> subscriptions) {
-        subscriptionsTable.clear();
-
-        int row = 0;
-        for (final Subscription subscription : subscriptions) {
-            SubscriptionEntry subscriptionEntry = new SubscriptionEntry();
-
-            subscriptionEntry.nameLabel.setText(subscription.getName());
-            subscriptionEntry.urlLabel.setText(subscription.getUrl());
-
-            subscriptionEntry.editButton.addClickHandler(new ClickHandler() {
-
-                public void onClick(@Nonnull final ClickEvent event) {
-                    assert presenter != null;
-                    presenter.onEditSubscriptionButtonClicked(subscription);
-                }
-            });
-            subscriptionEntry.removeButton.addClickHandler(new ClickHandler() {
-
-                public void onClick(@Nonnull final ClickEvent event) {
-                    assert presenter != null;
-                    presenter.onRemoveSubscriptionButtonClicked(subscription);
-                }
-            });
-
-            subscriptionsTable.setWidget(row, 0, subscriptionEntry);
-
-            row++;
-        }
-    }
-
-    @UiHandler("backHyperlink")
-    void onBackHyperlinkClicked(@Nonnull final ClickEvent event) {
-        assert presenter != null;
-        presenter.onBackHyperlinkClicked();
-    }
-
-    @UiHandler("addSubscriptionButton")
-    void onAddSubscriptionButtonClicked(@Nonnull final ClickEvent event) {
-        assert presenter != null;
-        presenter.onAddSubscriptionButtonClicked();
-    }
-
-    public void setPresenter(@Nonnull final Presenter presenter) {
-        this.presenter = presenter;
-    }
-
-    @Nonnull
-    public Widget asWidget() {
-        return this;
-    }
-
-    protected static class SubscriptionEntry extends Composite {
-
-        @UiTemplate("SubscriptionEntry.ui.xml")
-        interface SubscriptionEntryUiBinder extends UiBinder<Widget, SubscriptionEntry> { }
-
-        private static final SubscriptionEntryUiBinder UI_BINDER =
-            GWT.create(SubscriptionEntryUiBinder.class);
-
-        @UiField @Nonnull
-        Label nameLabel;
-
-        @UiField @Nonnull
-        Label urlLabel;
-
-        @UiField @Nonnull
-        Button editButton;
-
-        @UiField @Nonnull
-        Button removeButton;
-
-        public SubscriptionEntry() {
-            initWidget(UI_BINDER.createAndBindUi(this));
-        }
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/7f4a24d0/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionDialog.java
----------------------------------------------------------------------
diff --git a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionDialog.java b/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionDialog.java
deleted file mode 100644
index 862e5bf..0000000
--- a/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/settings/SubscriptionDialog.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * 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.cxf.management.web.browser.client.ui.settings;
-
-import java.util.Map;
-
-import com.google.gwt.user.client.ui.HasValue;
-
-import org.apache.cxf.management.web.browser.client.service.settings.Subscription;
-
-public interface SubscriptionDialog {
-
-    public interface Presenter {
-
-        void onSaveButtonClicked(String id, HasValue<String> name, HasValue<String> url);
-
-        void onCancelButtonClicked();
-    }
-
-    void center();
-
-    void show();
-
-    void hide();
-
-    void setValidationErrors(Map<HasValue<String>, String> errors);
-
-    void setTitle(String title);
-
-    void setData(Subscription subscription);
-
-    void setPresenter(Presenter presenter);
-}
\ No newline at end of file


Mime
View raw message