CID#703893 SwJavaEditDialog::Get[Text|Type] orthogonal to Dialog::Get*

and const up

Change-Id: I9bb363b26efaf83e36187df4bf762d64b3956ed1