java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.jidesoft.dialog.StandardDialog
com.inductiveautomation.ignition.designer.tags.editing.dialog.TagEditorDialog
All Implemented Interfaces:
ConfigModificationListener, TagEditor, TagEditParent, com.jidesoft.dialog.ButtonNames, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class TagEditorDialog extends com.jidesoft.dialog.StandardDialog implements TagEditor, TagEditParent, ConfigModificationListener
See Also:
  • Constructor Details

  • Method Details

    • setButtonsEnabled

      protected void setButtonsEnabled(boolean enabled)
    • createButtonPanel

      public com.jidesoft.dialog.ButtonPanel createButtonPanel()
      Specified by:
      createButtonPanel in class com.jidesoft.dialog.StandardDialog
    • initEditor

      protected void initEditor()
      This ensures the primary display is shown (heirarchy+props or props+info, depending on mode/situation)
    • createBannerPanel

      public JComponent createBannerPanel()
      Specified by:
      createBannerPanel in class com.jidesoft.dialog.StandardDialog
    • createContentPanel

      public JComponent createContentPanel()
      Specified by:
      createContentPanel in class com.jidesoft.dialog.StandardDialog
    • configureButton

      protected void configureButton(AbstractButton button)
    • commitEdits

      protected void commitEdits()
    • applyButtonClicked

      protected void applyButtonClicked()
    • updateLoadingMessage

      public void updateLoadingMessage(String value)
    • prepUI

      protected void prepUI(String provider, boolean isNew, TagObjectType tagType)
    • getUdtRootPath

      protected TagPath getUdtRootPath(TagPath path)
      IF the given path is somewhere inside of a complex tag, returns the path to the top level object. Returns null if the path is not in a UDT.
    • createTag

      public void createTag(TagConfiguration base)
      Specified by:
      createTag in interface TagEditor
    • editTags

      public void editTags(List<TagPath> paths)
      Specified by:
      editTags in interface TagEditor
    • refreshName

      protected void refreshName(List<TagConfigurationModel> selected)
    • selectedModelsChanged

      protected void selectedModelsChanged(List<TagConfigurationModel> models, Set<String> bindingModel)
      Takes the TagConfigurationModels, creates an edit controller, and inits the edit UI. Also stops the loading UI.
    • refreshConfigModel

      protected void refreshConfigModel(String provider)
    • validateTypePath

      public QualityCode validateTypePath(String dataTypePath, boolean isUdtInstance)
      Description copied from interface: TagEditParent
      Optionally hand over control of UDT type path validation to the parent
      Specified by:
      validateTypePath in interface TagEditParent
    • getController

      public TagEditController getController()
      Specified by:
      getController in interface TagEditParent
    • getTarget

      public BoundPropertySet getTarget()
      Description copied from interface: TagEditParent
      The current tag config
      Specified by:
      getTarget in interface TagEditParent
    • getTagStructurePanel

      public Optional<TagStructurePanel> getTagStructurePanel()
      Description copied from interface: TagEditParent
      The current UDT structure shown in tree form
      Specified by:
      getTagStructurePanel in interface TagEditParent
    • getDetailSplitPanel

      public Optional<com.inductiveautomation.ignition.designer.tags.editing.dialog.DetailSplitPanel> getDetailSplitPanel()
      Description copied from interface: TagEditParent
      A split pane showing property editing and additional meta info about those properties.
      Specified by:
      getDetailSplitPanel in interface TagEditParent
    • markModified

      public void markModified()
      Description copied from interface: TagEditParent
      Notify the parent that something has been modified in the current target property set, in case they care.
      Specified by:
      markModified in interface TagEditParent
    • fireEvent

      public void fireEvent(com.inductiveautomation.ignition.designer.tags.editing.event.TagEditorEvent event)
      Specified by:
      fireEvent in interface TagEditParent
    • getFrame

      public Component getFrame()
      Description copied from interface: TagEditParent
      The frame used to center additional child windows
      Specified by:
      getFrame in interface TagEditParent
    • getDesignerContext

      public DesignerContext getDesignerContext()
      Specified by:
      getDesignerContext in interface TagEditParent
    • onConfigModified

      public void onConfigModified()
      Specified by:
      onConfigModified in interface ConfigModificationListener