use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class TaskPropertiesEditionPartImpl method editActors.
/**
*/
protected void editActors(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();
actors.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class TaskReferencePropertiesEditionPartImpl method editOutgoingTransitions.
/**
*/
protected void editOutgoingTransitions(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();
outgoingTransitions.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class UseCasePropertiesEditionPartImpl method editNamespaces.
/**
*/
protected void editNamespaces(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();
namespaces.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class UseCasePropertiesEditionPartImpl method editTasks.
/**
*/
protected void editTasks(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();
tasks.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class UserActionPropertiesEditionPartImpl method editOutgoingTransitions.
/**
*/
protected void editOutgoingTransitions(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();
outgoingTransitions.refresh();
}
}
}
Aggregations