use of org.eclipse.jpt.jpa.ui.internal.details.orm.OrmMappingNameText 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;
}
use of org.eclipse.jpt.jpa.ui.internal.details.orm.OrmMappingNameText in project jbosstools-hibernate by jbosstools.
the class HibernateOrmIdMappingComposite method initializeIdSection.
@SuppressWarnings("unchecked")
@Override
protected Control initializeIdSection(Composite container) {
// new HibernateColumnComposite(this, (PropertyValueModel<? extends HibernateColumn>) buildColumnHolder(), container);
// new OrmMappingNameChooser(this, getSubjectHolder(), container);
container = this.addSubPane(container, 2, 0, 0, 0, 0);
HibernateColumnComposite columnComposite = new HibernateColumnComposite(this, (PropertyValueModel<? extends HibernateColumn>) buildColumnModel(), container);
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.horizontalSpan = 2;
columnComposite.getControl().setLayoutData(gridData);
// Name widgets
this.addLabel(container, JptJpaUiDetailsOrmMessages.ORM_MAPPING_NAME_CHOOSER_NAME);
new OrmMappingNameText(this, getSubjectHolder(), container);
return container;
}
Aggregations