Browse Source

REPORT-79093 运营产品化二期(遗留)

1、修改pr
feature/x
Link.Zhao 2 years ago
parent
commit
170a54fe95
  1. 6
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/ProductNewsSearchWorkerManager.java
  2. 4
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/SearchManager.java
  3. 6
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/TemplateResourceSearchWorkerManager.java

6
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/ProductNewsSearchWorkerManager.java

@ -6,7 +6,6 @@ import com.fr.design.mainframe.alphafine.CellType;
import com.fr.design.mainframe.alphafine.component.AlphaFineFrame;
import com.fr.design.mainframe.alphafine.component.ProductNewsSearchResultPane;
import com.fr.design.mainframe.alphafine.model.ProductNews;
import com.fr.design.mainframe.alphafine.preview.DefaultContentPane;
import com.fr.log.FineLoggerFactory;
import javax.swing.DefaultListModel;
@ -101,11 +100,6 @@ public class ProductNewsSearchWorkerManager implements SearchManager {
this.searchWorker.execute();
}
@Override
public void showDefault(DefaultContentPane defaultContentPane) {
}
public ProductNewsSearchResultPane getSearchResultPane() {
return searchResultPane;
}

4
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/SearchManager.java

@ -17,7 +17,9 @@ public interface SearchManager {
/**
* 展示默认内容
* */
void showDefault(DefaultContentPane defaultContentPane);
default void showDefault(DefaultContentPane defaultContentPane) {
};
boolean hasSearchResult();

6
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/TemplateResourceSearchWorkerManager.java

@ -5,7 +5,6 @@ import com.fr.design.mainframe.alphafine.AlphaFineHelper;
import com.fr.design.mainframe.alphafine.CellType;
import com.fr.design.mainframe.alphafine.component.AlphaFineFrame;
import com.fr.design.mainframe.alphafine.model.TemplateResource;
import com.fr.design.mainframe.alphafine.preview.DefaultContentPane;
import com.fr.design.mainframe.alphafine.preview.TemplateShopPane;
import com.fr.log.FineLoggerFactory;
@ -69,11 +68,6 @@ public class TemplateResourceSearchWorkerManager implements SearchManager {
this.searchWorker.execute();
}
@Override
public void showDefault(DefaultContentPane defaultContentPane) {
}
void showResult(List<TemplateResource> list) {
if (networkError && !searchResult) {
alphaFineFrame.showResult(AlphaFineConstants.NETWORK_ERROR);

Loading…
Cancel
Save