@ApplicationScoped public class DMNDiagramNewResourceHandler extends AbstractProjectDiagramNewResourceHandler<DMNDiagramResourceType>
Modifier | Constructor and Description |
---|---|
protected |
DMNDiagramNewResourceHandler() |
|
DMNDiagramNewResourceHandler(DefinitionManager definitionManager,
ClientProjectDiagramService projectDiagramServices,
org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView,
DMNDiagramResourceType projectDiagramResourceType,
org.uberfire.security.authz.AuthorizationManager authorizationManager,
org.uberfire.rpc.SessionInfo sessionInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate() |
protected Class<?> |
getDefinitionSetType() |
String |
getDescription() |
protected String |
getEditorIdentifier() |
com.google.gwt.user.client.ui.IsWidget |
getIcon() |
create, getResourceType
acceptContext, buildFileName, getCommand, getExtensions, getSuccessCallback, notifySuccess, validate
protected DMNDiagramNewResourceHandler()
@Inject public DMNDiagramNewResourceHandler(DefinitionManager definitionManager, ClientProjectDiagramService projectDiagramServices, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, DMNDiagramResourceType projectDiagramResourceType, org.uberfire.security.authz.AuthorizationManager authorizationManager, org.uberfire.rpc.SessionInfo sessionInfo)
public boolean canCreate()
canCreate
in interface org.kie.workbench.common.widgets.client.handlers.NewResourceHandler
canCreate
in class org.kie.workbench.common.widgets.client.handlers.DefaultNewResourceHandler
protected Class<?> getDefinitionSetType()
getDefinitionSetType
in class AbstractProjectDiagramNewResourceHandler<DMNDiagramResourceType>
protected String getEditorIdentifier()
getEditorIdentifier
in class AbstractProjectDiagramNewResourceHandler<DMNDiagramResourceType>
public String getDescription()
public com.google.gwt.user.client.ui.IsWidget getIcon()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.