use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class ViewStatePropertiesEditionPartImpl method editViewContainers.
/**
*/
protected void editViewContainers(EObject element) {
EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
PropertiesEditingProvider provider = (PropertiesEditingProvider) adapterFactory.adapt(element, PropertiesEditingProvider.class);
if (provider != null) {
PropertiesEditingPolicy policy = provider.getPolicy(context);
if (policy != null) {
policy.execute();
viewContainers.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class FlowActionPropertiesEditionPartImpl method editOperations.
/**
*/
protected void editOperations(EObject element) {
EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
PropertiesEditingProvider provider = (PropertiesEditingProvider) adapterFactory.adapt(element, PropertiesEditingProvider.class);
if (provider != null) {
PropertiesEditingPolicy policy = provider.getPolicy(context);
if (policy != null) {
policy.execute();
operations.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class FlowActionPropertiesEditionPartImpl method editCalls.
/**
*/
protected void editCalls(EObject element) {
EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
PropertiesEditingProvider provider = (PropertiesEditingProvider) adapterFactory.adapt(element, PropertiesEditingProvider.class);
if (provider != null) {
PropertiesEditingPolicy policy = provider.getPolicy(context);
if (policy != null) {
policy.execute();
calls.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class FlowActionPropertiesEditionPartForm method editCalls.
/**
*/
protected void editCalls(EObject element) {
EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
PropertiesEditingProvider provider = (PropertiesEditingProvider) adapterFactory.adapt(element, PropertiesEditingProvider.class);
if (provider != null) {
PropertiesEditingPolicy policy = provider.getPolicy(context);
if (policy != null) {
policy.execute();
calls.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class FlowEventPropertiesEditionPartForm method editBinds.
/**
*/
protected void editBinds(EObject element) {
EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
PropertiesEditingProvider provider = (PropertiesEditingProvider) adapterFactory.adapt(element, PropertiesEditingProvider.class);
if (provider != null) {
PropertiesEditingPolicy policy = provider.getPolicy(context);
if (policy != null) {
policy.execute();
binds.refresh();
}
}
}
Aggregations