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.sqltags.config.ui.TagObjectEditor
All Implemented Interfaces:
TagEditor, com.jidesoft.dialog.ButtonNames, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class TagObjectEditor extends com.jidesoft.dialog.StandardDialog implements TagEditor
See Also:
  • Constructor Details

  • Method Details

    • getTargetManager

      public ClientSubManager getTargetManager()
    • createContentPanel

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

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

      protected void makeVisible()
    • setButtonsEnabled

      protected void setButtonsEnabled(boolean value)
    • tryCommit

      protected boolean tryCommit(boolean isApply)
      Commits the edits and returns whether the edit was successful. If isApply is true, "success" is considered no errors and changes made. If false, success is simply no errors.
    • reset

      protected void reset()
    • editTags

      protected void editTags(TagObjectEditorPanel.OperationMode mode, List<TagPath> paths, List<Tag> objects, TagDiff edit, boolean ensureVisible)
    • loadAndShowTags

      protected void loadAndShowTags(List<TagPath> paths, TagDiff startingEdit, boolean ensureVisible, TagPath selectedPath)
    • closeDialog

      protected void closeDialog()
    • doApply

      protected void doApply()
    • editTags

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

      public void editTags(List<TagPath> paths, TagDiff edit)
      Description copied from interface: TagEditor
      Edits the specified tags, starting with the current edit diff.
      Specified by:
      editTags in interface TagEditor
    • editTags

      public void editTags(List<TagPath> paths, List<Tag> tags)
      Description copied from interface: TagEditor
      Deprecated because the edit function will no longer use the provided objects, instead it loads them from the gateway on edit.
      Specified by:
      editTags in interface TagEditor
    • editTags

      public void editTags(List<TagPath> paths, List<Tag> tags, TagDiff startingEdit)
      Description copied from interface: TagEditor
      Deprecated because the function will not use the passed in objects any more, it looks them up each time.
      Specified by:
      editTags in interface TagEditor
    • addTag

      public void addTag(TagPath parentFolder, TagType type)
      Description copied from interface: TagEditor
      Creates a new tag of the given type. The preferred method is to pass in the base definition using the other overload.
      Specified by:
      addTag in interface TagEditor
    • addTag

      public void addTag(TagPath parentFolder, TagDefinition tagDef)
      Description copied from interface: TagEditor
      Edits the new tag definition, and will add it to the gateway under the specified path on commit.
      Specified by:
      addTag in interface TagEditor
    • tagsSelected

      public void tagsSelected(List<TagPath> paths, List<Tag> tags)
      Description copied from interface: TagEditor
      Deprecated because the function will not use the passed in objects any more, it looks them up each time.
      Specified by:
      tagsSelected in interface TagEditor
    • tagsSelected

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

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