Project Editor Client 6.0.0.Beta2

org.kie.guvnor.projecteditor.client.handlers
Class NewProjectHandler

java.lang.Object
  extended by org.kie.guvnor.projecteditor.client.handlers.NewProjectHandler
All Implemented Interfaces:
NewResourceHandler

@ApplicationScoped
public class NewProjectHandler
extends Object
implements NewResourceHandler

Handler for the creation of new Projects


Constructor Summary
NewProjectHandler()
           
 
Method Summary
 void acceptPath(org.uberfire.backend.vfs.Path path, com.google.gwt.core.client.Callback<Boolean,Void> response)
           
 void create(org.uberfire.backend.vfs.Path contextPath, String projectName, NewResourcePresenter presenter)
           
 String getDescription()
           
 List<org.kie.commons.data.Pair<String,? extends com.google.gwt.user.client.ui.IsWidget>> getExtensions()
           
 com.google.gwt.user.client.ui.IsWidget getIcon()
           
 boolean validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewProjectHandler

public NewProjectHandler()
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in interface NewResourceHandler

getIcon

public com.google.gwt.user.client.ui.IsWidget getIcon()
Specified by:
getIcon in interface NewResourceHandler

create

public void create(org.uberfire.backend.vfs.Path contextPath,
                   String projectName,
                   NewResourcePresenter presenter)
Specified by:
create in interface NewResourceHandler

getExtensions

public List<org.kie.commons.data.Pair<String,? extends com.google.gwt.user.client.ui.IsWidget>> getExtensions()
Specified by:
getExtensions in interface NewResourceHandler

validate

public boolean validate()
Specified by:
validate in interface NewResourceHandler

acceptPath

public void acceptPath(org.uberfire.backend.vfs.Path path,
                       com.google.gwt.core.client.Callback<Boolean,Void> response)
Specified by:
acceptPath in interface NewResourceHandler

Project Editor Client 6.0.0.Beta2

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.