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