use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class AppliActionPropertiesEditionPartImpl 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 AppliActionPropertiesEditionPartImpl method editIncomingTransitions.
/**
*/
protected void editIncomingTransitions(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();
incomingTransitions.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class OperatorPropertiesEditionPartForm method editIncomingTransitions.
/**
*/
protected void editIncomingTransitions(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();
incomingTransitions.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class TaskPropertiesEditionPartForm method editUses.
/**
*/
protected void editUses(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();
uses.refresh();
}
}
}
use of org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider in project InformationSystem by ObeoNetwork.
the class TaskReferencePropertiesEditionPartForm 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