Class StringMapPropDialog


  • public class StringMapPropDialog
    extends org.eclipse.swt.widgets.Dialog
    Dialog used to edit a linked hash map of text entries directly in a styled text area.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      ConstructorDescription
      StringMapPropDialog​(org.eclipse.swt.widgets.Shell parent, java.util.Map<java.lang.String,​java.lang.String> map)
      Create the dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.util.LinkedHashMap<java.lang.String,​java.lang.String>open()
      Open the dialog.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringMapPropDialog

        public StringMapPropDialog​(org.eclipse.swt.widgets.Shell parent,
                                   java.util.Map<java.lang.String,​java.lang.String> map)
        Create the dialog.
        Parameters:
        parent - The parent shell.
        map - The map to edit, null for none.
    • Method Detail

      • open

        public java.util.LinkedHashMap<java.lang.String,​java.lang.String> open()
        Open the dialog.
        Returns:
        the result, or null for cancel.