/** * {@inheritDoc} * * @see * org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, * java.lang.String, java.lang.Class) * @generated */ @SuppressWarnings("rawtypes") public boolean provides( PropertiesEditingContext editingContext, String part, java.lang.Class refinement) { return (editingContext.getEObject() instanceof Connector) && ((ConnectorGeneralPropertiesEditionComponent.GENERAL_PART.equals(part) && refinement == ConnectorGeneralPropertiesEditionComponent.class) || (ConnectorEndsPropertiesEditionComponent.ENDS_PART.equals(part) && refinement == ConnectorEndsPropertiesEditionComponent.class)); }
/** * {@inheritDoc} * * @see * org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, * java.lang.String, java.lang.String) * @generated */ public IPropertiesEditionComponent getPropertiesEditingComponent( PropertiesEditingContext editingContext, String mode, String part) { if (editingContext.getEObject() instanceof Connector) { if (ConnectorGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)) return new ConnectorGeneralPropertiesEditionComponent( editingContext, editingContext.getEObject(), mode); if (ConnectorEndsPropertiesEditionComponent.ENDS_PART.equals(part)) return new ConnectorEndsPropertiesEditionComponent( editingContext, editingContext.getEObject(), mode); } return super.getPropertiesEditingComponent(editingContext, mode, part); }
/** * {@inheritDoc} * * @see * org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, * java.lang.String, java.lang.String, java.lang.Class) */ @SuppressWarnings("rawtypes") public IPropertiesEditionComponent getPropertiesEditingComponent( PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) { if (editingContext.getEObject() instanceof Connector) { if (ConnectorGeneralPropertiesEditionComponent.GENERAL_PART.equals(part) && refinement == ConnectorGeneralPropertiesEditionComponent.class) return new ConnectorGeneralPropertiesEditionComponent( editingContext, editingContext.getEObject(), mode); if (ConnectorEndsPropertiesEditionComponent.ENDS_PART.equals(part) && refinement == ConnectorEndsPropertiesEditionComponent.class) return new ConnectorEndsPropertiesEditionComponent( editingContext, editingContext.getEObject(), mode); } return super.getPropertiesEditingComponent(editingContext, mode, part, refinement); }
/** * {@inheritDoc} * * @see * org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, * java.lang.String) * @generated */ public boolean provides(PropertiesEditingContext editingContext, String part) { return (editingContext.getEObject() instanceof Connector) && (ConnectorGeneralPropertiesEditionComponent.GENERAL_PART.equals(part) || ConnectorEndsPropertiesEditionComponent.ENDS_PART.equals(part)); }