use of org.palladiosimulator.pcm.ui.provider.PalladioItemProviderAdapterFactory in project Palladio-Editors-Sirius by PalladioSimulator.
the class EventGroupTableLifecycleManager method setPropertySection.
@Override
protected void setPropertySection(Composite parent) {
editorSection = new EventTypesEditorSection(parent);
editorSection.setViewerContentProvider(new AdapterFactoryContentProvider(adapterFactory));
editorSection.setViewerLabelProvider(new AdapterFactoryLabelProvider(new EventTypesTabItemProviderAdapterFactory(new PalladioItemProviderAdapterFactory(adapterFactory))));
EventGroup input = (EventGroup) controller.getValue();
editorSection.setViewerInput(input);
((EventTypesEditorSection) editorSection).getAddButtonListener().setSelectedInterface((EventGroup) input);
}
use of org.palladiosimulator.pcm.ui.provider.PalladioItemProviderAdapterFactory 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);
}
use of org.palladiosimulator.pcm.ui.provider.PalladioItemProviderAdapterFactory in project Palladio-Editors-Sirius by PalladioSimulator.
the class OperationInterfaceTableLifecycleManager method setPropertySection.
@Override
protected void setPropertySection(Composite parent) {
editorSection = new OperationsEditorSection(parent);
editorSection.setViewerContentProvider(new AdapterFactoryContentProvider(adapterFactory));
editorSection.setViewerLabelProvider(new AdapterFactoryLabelProvider(new OperationsTabItemProviderAdapterFactory(new PalladioItemProviderAdapterFactory(adapterFactory))));
OperationInterface input = (OperationInterface) controller.getValue();
editorSection.setViewerInput(input);
((OperationsEditorSection) editorSection).getAddButtonListener().setSelectedInterface(input);
}
Aggregations