Interface IVariableDialogProvider

  • All Known Implementing Classes:
    ElementListSelectionDialogProvider

    public interface IVariableDialogProvider
    Special provider for editing values after applying IVariable in special ui dialog
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String editInDialog​(org.eclipse.swt.widgets.Shell shell, String currentContent, org.eclipse.jface.text.IDocument document, int offset, int length)
      Opens dialog for editing string value content
    • Method Detail

      • editInDialog

        String editInDialog​(org.eclipse.swt.widgets.Shell shell,
                            String currentContent,
                            org.eclipse.jface.text.IDocument document,
                            int offset,
                            int length)
        Opens dialog for editing string value content
        Parameters:
        shell - actual Shell for opening dialog, cannot be null
        currentContent - actual content for editing in dialog, cannot be null
        document - actual IDocument where currentContent placed, cannot be null
        offset - current offset of currentContent in IDocument
        length - current length of currentContent in IDocument
        Returns:
        result of editing currentContent, can be null if opened dialog did not provide changes