Interface IDtEditorInputFactory

All Known Implementing Classes:
AppearanceTemplateEditorInputFactory, CaiEditorInputFactory, ChartEditorInputFactory, CommandInterfaceEditorInputFactory, DistributionSupportEditorInputFactory, DtEditorProxyInputFactory, FormEditorInputFactory, GraphicalSchemeEditorInputFactory, HpwaEditorInputFactory, InfobaseEditorInputFactory, MdEditorsInputFactory, MdHelpContentEditorInputFactory, MoxelEditorInputFactory, ProxyModuleEditorsInputFactory, PublicationEditorInputFactory, RightsEditorsInputFactory, RoleEditorInputFactory, ScheduleEditorsInputFactory, StyleEditorInputFactory, TemplateEditorInputFactory, WebServerEditorInputFactory, XdtoEditorInputFactory

public interface IDtEditorInputFactory
Defines public contract of DT editor input factories.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    create(org.eclipse.emf.ecore.EObject model)
    Creates editor input from provided model.
    create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature)
    Creates editor input for a given model and feature.
    create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)
    Creates editor input for a given model, feature and selection.
  • Method Details

    • create

      IDtEditorInput<?> create(org.eclipse.emf.ecore.EObject model)
      Creates editor input from provided model. This method may alter the model of the resulting editor input.
      Parameters:
      model - the model.
      Returns:
      editor input or null if no input can be created.
    • create

      IDtEditorInput<?> create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature)
      Creates editor input for a given model and feature. This method may set some default selection for created input, but may not alter model or feature.
      Parameters:
      model - the model.
      feature - the feature.
      Returns:
      editor input or null if no input can be created.
    • create

      IDtEditorInput<?> create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)
      Creates editor input for a given model, feature and selection. This method may not alter any of the provided arguments.
      Parameters:
      model - the model.
      feature - the feature.
      selection - the selection.
      Returns:
      editor input or null if no input can be created.