@Override
		public boolean equals(Object object) {
			if (object == this) {
				return true;
			}
			if (object == null) {
				return false;
			}
			if (object.getClass() == getClass()) {
				NamespaceWrapper w = (NamespaceWrapper) object;
				return namespace.equals(w.namespace);
			}
			return false;
		}
Define the Main panel for the dialog here.
Ghidra/Features/Base/src/main/java/ghidra/app/util/AddEditDialog.java