Search in sources :

Example 1 with NamedNativeQueryPropertyComposite

use of org.eclipse.jpt.jpa.ui.internal.details.NamedNativeQueryPropertyComposite in project jbosstools-hibernate by jbosstools.

the class HibernateQueriesComposite method initializeLayout.

@Override
protected void initializeLayout(Composite container) {
    // List pane
    addListPane(container);
    // this.listPane = addListPane(container);
    // Property pane
    PageBook pageBook = new PageBook(container, SWT.NULL);
    pageBook.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    // Hibernate Named Query property pane
    this.hibernateNamedQueryPane = new HibernateNamedQueryPropertyComposite(this, buildHibernateNamedQueryHolder(), pageBook);
    // Hibernate Named Native Query property pane
    this.hibernateNamedNativeQueryPane = new HibernateNamedNativeQueryPropertyComposite(this, buildHibernateNamedNativeQueryHolder(), pageBook);
    // Named Query property pane
    this.namedQueryPane = this.buildNamedQueryPropertyComposite(pageBook);
    // Named Native Query property pane
    this.namedNativeQueryPane = new NamedNativeQueryPropertyComposite(this, buildNamedNativeQueryHolder(), pageBook);
    installPaneSwitcher(pageBook);
}
Also used : PageBook(org.eclipse.ui.part.PageBook) GridData(org.eclipse.swt.layout.GridData) NamedNativeQueryPropertyComposite(org.eclipse.jpt.jpa.ui.internal.details.NamedNativeQueryPropertyComposite)

Aggregations

NamedNativeQueryPropertyComposite (org.eclipse.jpt.jpa.ui.internal.details.NamedNativeQueryPropertyComposite)1 GridData (org.eclipse.swt.layout.GridData)1 PageBook (org.eclipse.ui.part.PageBook)1