Class AddEditDialog

    • Constructor Detail

      • AddEditDialog

        public AddEditDialog​(java.lang.String title,
                             PluginTool tool)
    • Method Detail

      • addLabel

        public void addLabel​(Address address,
                             Program prog)
        Invokes the dialog to add a new label in the given program at the given address
        Parameters:
        address - the address at which to add a new label
        prog - the program in which to add a new label
      • addLabel

        public void addLabel​(Address address,
                             Program targetProgram,
                             ComponentProvider provider)
        Invokes the dialog to add a new label in the given program at the given address
        Parameters:
        address - the address at which to add a new label
        targetProgram - the program in which to add a new label
        provider - the ComponentProvider to parent and center the dialog over.
      • addLabel

        public void addLabel​(Address address,
                             Program targetProgram,
                             java.awt.Component centeredOverComponent)
        Invokes the dialog to add a new label in the given program at the given address
        Parameters:
        address - the address at which to add a new label
        targetProgram - the program in which to add a new label
        centeredOverComponent - the component over which to center the dialog
      • editLabel

        public void editLabel​(Symbol targetSymbol,
                              Program targetProgram)
        Invokes the dialog to edit an existing label in the given program
        Parameters:
        targetSymbol - the symbol(label) to edit
        targetProgram - the program containing the symbol
      • editLabel

        public void editLabel​(Symbol targetSymbol,
                              Program targetProgram,
                              java.awt.Component centeredOverComponent)
        Invokes the dialog to edit an existing label in the given program
        Parameters:
        targetSymbol - the symbol(label) to edit
        targetProgram - the program containing the symbol
        centeredOverComponent - the component over which to center the dialog
      • editLabel

        public void editLabel​(Symbol targetSymbol,
                              Program targetProgram,
                              ComponentProvider provider)
        Invokes the dialog to edit an existing label in the given program
        Parameters:
        targetSymbol - the symbol(label) to edit
        targetProgram - the program containing the symbol
        provider - the ComponentProvider to parent and center the dialog over.