Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dali-dev] Running GenerateDDLAction#execute() in an eclipse job?

Jack,

The likely implementation of this method would be to open up a modal wizard, so I don't think this is the right place to start a job. The extender should do this in their extension (since DDL Gen is only performed in extensions) at an appropriate time for their given DDL Gen  implementation.

Neil

Jack Fong wrote:
Hello,

Is there any plan that we will use the Eclipse Job Framework in the
GenerateDDLAction#execute() method please?  Running
jpaPlatformUI#generateDDL() in a job can free up the eclipse GUI while the
DDL is being generate.

// class org.eclipse.jpt.ui.internal.actions.GenerateDDLAction
      protected void execute(IJpaProject project) {
        String vendorId = project.getPlatform().getId();

// Will we run the next line in an eclipse job?
        this.jpaPlatformUI(vendorId).generateDDL(project, this
.getCurrentSelection());
      }

Thank you very much.


Regards,
Jack
                                                                            
 /                                                                          
 /                                                                          
                                                                            
 /  Jack Fong                                                               
 /  jackfong@xxxxxxxxxx                                                     
 /                                                                          
 /  Software Developer, Rational/AIM WebSphere, Java EE Application Tools   
    IBM Canada Ltd.                                                         
 /  905-413-3930 (T/L 969)                                                  
 /  D3/RKB/8200/MKM                                                         
 /                                                                          
 /                                                                          
 /                                                                          
 /                                                                          
 /                                                                          
 /                                                                          
                                                                            
                                                                            
 / (Embedded image moved to file: pic28716.gif)  (Embedded image moved to   
 / file: pic16101.gif)                                                      
                                                                            


  







_______________________________________________ dali-dev mailing list dali-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dali-dev

Back to the top