|
|
|
@ -43,6 +43,7 @@ public abstract class AbstractOnlineWidgetShowPane extends JPanel {
|
|
|
|
|
protected FilterPane filterPane; |
|
|
|
|
private JPanel centerPane; |
|
|
|
|
private SortTabPane sortTabPane; |
|
|
|
|
private JPanel toolBarPane; |
|
|
|
|
|
|
|
|
|
private final JPanel loadingPane = new LoadingPane(); |
|
|
|
|
|
|
|
|
@ -77,10 +78,10 @@ public abstract class AbstractOnlineWidgetShowPane extends JPanel {
|
|
|
|
|
FlexSearchFieldPane flexSearchPane = new FlexSearchFieldPane(filterPane); |
|
|
|
|
initSearchTextFieldPaneListener(flexSearchPane); |
|
|
|
|
|
|
|
|
|
JPanel northPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
northPane.add(flexSearchPane, BorderLayout.CENTER); |
|
|
|
|
northPane.add(sortTabPane, BorderLayout.SOUTH); |
|
|
|
|
initNorthPane(jPanel, northPane); |
|
|
|
|
toolBarPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
toolBarPane.add(flexSearchPane, BorderLayout.CENTER); |
|
|
|
|
toolBarPane.add(sortTabPane, BorderLayout.SOUTH); |
|
|
|
|
initNorthPane(jPanel, toolBarPane); |
|
|
|
|
|
|
|
|
|
this.searchResultShowPane = initSearchResultShowPane(sharableWidgetProviders); |
|
|
|
|
mainCardLayout = new CardLayout(); |
|
|
|
@ -93,10 +94,15 @@ public abstract class AbstractOnlineWidgetShowPane extends JPanel {
|
|
|
|
|
return jPanel; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void initNorthPane(JPanel jPanel, JPanel northPane) { |
|
|
|
|
jPanel.add(northPane, BorderLayout.NORTH); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setToolBarPaneVisible(boolean flag){ |
|
|
|
|
this.toolBarPane.setVisible(flag); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected AbstractOnlineWidgetSelectPane createOnlineWidgetSelectPane(OnlineShareWidget[] sharableWidgetProviders) { |
|
|
|
|
return new OnlineWidgetSelectPane(sharableWidgetProviders, filterPane, 50); |
|
|
|
|