}
if ( template != null ) {
if ( getTask().getDeploy().getTemplate() == null ) {
Command cmd = new SetCommand( editingDomain, getTask().getDeploy(), DEPLOY__TEMPLATE, ParametersFactory.eINSTANCE
.createTemplate() );
if ( cmd.canExecute() ) {
cmd.execute();
}
}
Command cmd = new SetCommand( editingDomain, getTask().getDeploy().getTemplate(), TEMPLATE__FILE, template );
if ( cmd.canExecute() ) {