|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.guvnor.client.widgets.wizards.AbstractWizard<NewAssetWizardContext>
org.drools.guvnor.client.widgets.wizards.assets.AbstractNewAssetWizard<T>
public abstract class AbstractNewAssetWizard<T extends PortableObject>
A Wizard representing new assets
Field Summary |
---|
Fields inherited from class org.drools.guvnor.client.widgets.wizards.AbstractWizard |
---|
clientFactory, context, eventBus, presenter |
Constructor Summary | |
---|---|
AbstractNewAssetWizard(ClientFactory clientFactory,
com.google.gwt.event.shared.EventBus eventBus,
NewAssetWizardContext context,
WizardActivityView.Presenter presenter)
|
Method Summary | |
---|---|
protected GenericCallback<String> |
createCheckedInCallback()
Call-back following check-in of the updated Asset. |
protected GenericCallback<String> |
createCreateAssetCallback(T content)
Call-back following creation of the new Asset. |
protected GenericCallback<RuleAsset> |
createSetContentCallback(T content)
Call-back following retrieval of the new Asset from the Repository. |
protected void |
openEditor(String uuid)
Open an Asset in its corresponding editor |
protected void |
save(String assetName,
String description,
String initialCategory,
String packageName,
String format,
T content)
Save the asset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.guvnor.client.widgets.wizards.Wizard |
---|
complete, getPages, getPageWidget, getPreferredHeight, getPreferredWidth, getTitle, isComplete |
Constructor Detail |
---|
public AbstractNewAssetWizard(ClientFactory clientFactory, com.google.gwt.event.shared.EventBus eventBus, NewAssetWizardContext context, WizardActivityView.Presenter presenter)
Method Detail |
---|
protected void save(String assetName, String description, String initialCategory, String packageName, String format, T content)
assetName
- description
- initialCategory
- packageName
- format
- content
- protected GenericCallback<String> createCreateAssetCallback(T content)
content
-
protected GenericCallback<RuleAsset> createSetContentCallback(T content)
content
-
protected GenericCallback<String> createCheckedInCallback()
protected void openEditor(String uuid)
uuid
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |