use of org.eclipse.jpt.jpa.ui.internal.jpa2.details.IdMappingMappedByRelationshipPane2_0 in project jbosstools-hibernate by jbosstools.
the class Hibernate2_0OrmIdMappingComposite method initializeIdSection.
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
protected Control initializeIdSection(Composite container) {
// new IdMapping2_0MappedByRelationshipPane(this, getSubjectHolder(), container);
// new HibernateColumnComposite(this, (PropertyValueModel<? extends HibernateColumn>) buildColumnHolder(), container);
// new OrmMappingNameChooser(this, getSubjectHolder(), container);
// new AccessTypeComposite(this, buildAccessHolderHolder(), container);
container = this.addSubPane(container, 2, 0, 0, 0, 0);
IdMappingMappedByRelationshipPane2_0 mappedByRelationshipPane = new IdMappingMappedByRelationshipPane2_0(this, getSubjectHolder(), container);
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.horizontalSpan = 2;
mappedByRelationshipPane.getControl().setLayoutData(gridData);
// Column widgets
HibernateColumnComposite columnComposite = new HibernateColumnComposite(this, (PropertyValueModel<? extends HibernateColumn>) buildColumnModel(), container);
gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.horizontalSpan = 2;
columnComposite.getControl().setLayoutData(gridData);
// Name widgets
// this.addLabel(container, JptUiDetailsOrmMessages.OrmMappingNameChooser_name);
new OrmMappingNameText(this, getSubjectHolder(), container);
// Access type widgets
// this.addLabel(container, JptUiMessages.AccessTypeComposite_access);
new AccessTypeComboViewer(this, this.buildAccessHolderHolder(), container);
return container;
}
Aggregations