Search in sources :

Example 1 with InfrastructureSignaturesTabItemProviderAdapterFactory

use of org.palladiosimulator.editors.commons.tabs.operations.InfrastructureSignaturesTabItemProviderAdapterFactory in project Palladio-Editors-Sirius by PalladioSimulator.

the class InfrastructureInterfaceTableLifecycleManager method setPropertySection.

@Override
protected void setPropertySection(Composite parent) {
    editorSection = new InfrastructureSignaturesEditorSection(parent);
    editorSection.setViewerContentProvider(new AdapterFactoryContentProvider(adapterFactory));
    editorSection.setViewerLabelProvider(new AdapterFactoryLabelProvider(new InfrastructureSignaturesTabItemProviderAdapterFactory(new PalladioItemProviderAdapterFactory(adapterFactory))));
    InfrastructureInterface input = (InfrastructureInterface) controller.getValue();
    editorSection.setViewerInput(input);
    ((InfrastructureSignaturesEditorSection) editorSection).getAddButtonListener().setSelectedInterface((InfrastructureInterface) input);
}
Also used : InfrastructureSignaturesTabItemProviderAdapterFactory(org.palladiosimulator.editors.commons.tabs.operations.InfrastructureSignaturesTabItemProviderAdapterFactory) InfrastructureSignaturesEditorSection(org.palladiosimulator.editors.sirius.repository.custom.properties.editorsections.InfrastructureSignaturesEditorSection) AdapterFactoryContentProvider(org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider) AdapterFactoryLabelProvider(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider) PalladioItemProviderAdapterFactory(org.palladiosimulator.pcm.ui.provider.PalladioItemProviderAdapterFactory) InfrastructureInterface(org.palladiosimulator.pcm.repository.InfrastructureInterface)

Aggregations

AdapterFactoryContentProvider (org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider)1 AdapterFactoryLabelProvider (org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider)1 InfrastructureSignaturesTabItemProviderAdapterFactory (org.palladiosimulator.editors.commons.tabs.operations.InfrastructureSignaturesTabItemProviderAdapterFactory)1 InfrastructureSignaturesEditorSection (org.palladiosimulator.editors.sirius.repository.custom.properties.editorsections.InfrastructureSignaturesEditorSection)1 InfrastructureInterface (org.palladiosimulator.pcm.repository.InfrastructureInterface)1 PalladioItemProviderAdapterFactory (org.palladiosimulator.pcm.ui.provider.PalladioItemProviderAdapterFactory)1