java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.ignition.designer.sqltags.config.ui.TagObjectEditorPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TagObjectEditorPanel extends JPanel
See Also:
  • Constructor Details

  • Method Details

    • initComponents

      protected void initComponents()
    • isApplyAllowed

      public boolean isApplyAllowed()
      Returns whether, with the current selection, "on the fly" applying is allowed. This is dependent on the tag provider.
    • getDesignerContext

      public DesignerContext getDesignerContext()
    • setEditObjects

      public void setEditObjects(TagObjectEditorPanel.OperationMode mode, List<TagPath> paths, List<Tag> objects, TagDiff edit)
    • configureForTagObject

      protected void configureForTagObject()
      Sets up the UI based on our current edit object(s). If we're editing a complex item, we show the complex tag browser, otherwise we don't.
    • commit

      public boolean commit(boolean clear) throws Exception
      Saves the current commit. If clear is set, will clear the current objects when finished. Returns whether changes were made. Throws InvalidEditException if the edit is invalid.
      Throws:
      Exception
    • reset

      public void reset()
    • getCurrentTagPaths

      public List<TagPath> getCurrentTagPaths()
    • setCurrentEditPanel

      protected void setCurrentEditPanel(JComponent component)
    • loadEditWorkspaceFor

      protected void loadEditWorkspaceFor(@Nullable TagEditController configObject)
    • refreshCategories

      protected void refreshCategories()
    • commitWorkspace

      protected boolean commitWorkspace()
    • initCachedWorkspaces

      protected void initCachedWorkspaces()
    • getWorkspaceFor

      @Nullable protected EditWorkspace getWorkspaceFor(TagEditController curEdit)