mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 10:09:42 +00:00
Clarified license for VerticalTabLayoutPanel, fixed bug 2317 that
prevented refresh of tabs.
This commit is contained in:
1 parent
d5e479687d
commit
ff74b5e0e6
2 files changed
+30
-9
No files matched your search
+14
-8
@@ -208,21 +208,27 @@ public class AdminConsoleEntryPoint extends AbstractEntryPoint implements Regatt
|
||||
if (selectedPanel == eventManagementPanel) {
|
||||
eventManagementPanel.fillEvents();
|
||||
fillLeaderboardGroups();
|
||||
} else if (selectedPanel == leaderboardConfigPanel) {
|
||||
} else if (selectedPanel == leaderboardTabPanel) {
|
||||
fillLeaderboards();
|
||||
} else if (selectedPanel == mediaPanel) {
|
||||
mediaPanel.onShow();
|
||||
} else if (selectedPanel == competitorPanel) {
|
||||
competitorPanel.refreshCompetitorList();
|
||||
} else if (selectedPanel == raceLogTrackingEventManagementPanel) {
|
||||
fillLeaderboards();
|
||||
} else if (selectedPanel == leaderboardGroupConfigPanel) {
|
||||
fillLeaderboardGroups();
|
||||
} else if (selectedPanel == connectorsTabPanel) {
|
||||
fillLeaderboards();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
racesTabPanel.addSelectionHandler(new SelectionHandler<Integer>() {
|
||||
@Override
|
||||
public void onSelection(SelectionEvent<Integer> event) {
|
||||
// as panels are wrapped by scroll panel we need to use index here
|
||||
if (event.getSelectedItem() == 1) {
|
||||
competitorPanel.refreshCompetitorList();
|
||||
} else if (event.getSelectedItem() == 4) {
|
||||
mediaPanel.onShow();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
fillRegattas();
|
||||
fillLeaderboardGroups();
|
||||
fillLeaderboards();
|
||||
|
||||
@@ -1,3 +1,18 @@
|
||||
/*
|
||||
* Copyright 2009 Google Inc.
|
||||
*
|
||||
* Licensed 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 com.sap.sse.gwt.client.panels;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -42,7 +57,7 @@ import com.google.gwt.user.client.ui.Widget;
|
||||
* widget. Its child widgets are shown as the user selects the various tabs
|
||||
* associated with them. The tabs can contain arbitrary text, HTML, or widgets.
|
||||
*
|
||||
* Mostly copied from {@link TabLayoutPanel}.
|
||||
* Mostly copied from {@link TabLayoutPanel}. See copyright above.
|
||||
*/
|
||||
public class VerticalTabLayoutPanel extends ResizeComposite implements HasWidgets,
|
||||
ProvidesResize, IndexedPanel.ForIsWidget, AnimatedLayout,
|
||||
|
||||
Reference in new issue
Block a user