Class AssetsScreen
- java.lang.Object
-
- org.kie.workbench.common.screens.library.client.screens.assets.AssetsScreen
-
public class AssetsScreen extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssetsScreen.View
-
Constructor Summary
Constructors Constructor Description AssetsScreen(AssetsScreen.View view, LibraryPlaces libraryPlaces, EmptyAssetsScreen emptyAssetsScreen, PopulatedAssetsScreen populatedAssetsScreen, InvalidProjectScreen invalidProjectScreen, org.jboss.errai.ui.client.local.spi.TranslationService ts, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.screens.library.api.LibraryService> libraryService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetsScreen.ViewgetView()voidinit()protected booleanisEmpty()voidobserveAddAsset(org.kie.workbench.common.widgets.client.handlers.NewResourceSuccessEvent event)voidonAssetListUpdated(org.kie.workbench.common.screens.library.api.ProjectAssetListUpdated event)protected voidshowAssets()
-
-
-
Constructor Detail
-
AssetsScreen
@Inject public AssetsScreen(AssetsScreen.View view, LibraryPlaces libraryPlaces, EmptyAssetsScreen emptyAssetsScreen, PopulatedAssetsScreen populatedAssetsScreen, InvalidProjectScreen invalidProjectScreen, org.jboss.errai.ui.client.local.spi.TranslationService ts, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.screens.library.api.LibraryService> libraryService)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
observeAddAsset
public void observeAddAsset(@Observes org.kie.workbench.common.widgets.client.handlers.NewResourceSuccessEvent event)
-
isEmpty
protected boolean isEmpty()
-
onAssetListUpdated
public void onAssetListUpdated(@Observes @Routed org.kie.workbench.common.screens.library.api.ProjectAssetListUpdated event)
-
showAssets
protected void showAssets()
-
getView
public AssetsScreen.View getView()
-
-