|
Kie Workbench - Common - UI 6.0.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NewResourceHandler
Definition of Handler to support creation of new resources
| Method Summary | |
|---|---|
void |
acceptPath(org.uberfire.backend.vfs.Path path,
com.google.gwt.core.client.Callback<Boolean,Void> callback)
Indicates if the NewResourceHandler can create a resource to this path |
void |
create(org.guvnor.common.services.project.model.Package pkg,
String baseFileName,
NewResourcePresenter presenter)
An entry-point for the creation of the new resource |
String |
getDescription()
A description of the new resource type |
List<org.kie.commons.data.Pair<String,? extends com.google.gwt.user.client.ui.IsWidget>> |
getExtensions()
Return a List of Widgets that the NewResourceHandler can use to gather additional parameters for the new resource. |
com.google.gwt.user.client.ui.IsWidget |
getIcon()
An icon representing the new resource type |
boolean |
validate()
Provide NewResourceHandlers with the ability to validate additional parameters before the creation of the new resource |
| Method Detail |
|---|
String getDescription()
com.google.gwt.user.client.ui.IsWidget getIcon()
void create(org.guvnor.common.services.project.model.Package pkg,
String baseFileName,
NewResourcePresenter presenter)
pkg - the Package context where new resource should be createdbaseFileName - the base name of the new resourcepresenter - underlying presenterList<org.kie.commons.data.Pair<String,? extends com.google.gwt.user.client.ui.IsWidget>> getExtensions()
boolean validate()
void acceptPath(org.uberfire.backend.vfs.Path path,
com.google.gwt.core.client.Callback<Boolean,Void> callback)
|
Kie Workbench - Common - UI 6.0.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||