Determines whether the editor should be opened inline or using a dialog. By default it will check this by configuration attribute {@link EditConfigAttributes#OPEN_IN_DIALOG}. If there is no configuration found for this,
true
will be returned for backwards compatibility.
If this method returns true
, the editor will be opened inline (default).
There might be editors that are only able to be opened in a dialog. These implementations need to override this method to always return false
, so the editor never gets opened inline.
@param configRegistry The {@link IConfigRegistry} to retrieve the configuration forinline/dialog editing out of. Needed here because the instance {@link IConfigRegistry} might not be set on calling thismethod.
@param configLabels The labels out of the LabelStack of the cell whose editor should be activated. Needed here because this method needs to be called prior to activation to determine where to activate it.
@return
true
if the editor should opened inline,
false
if not.
@see EditConfigAttributes#OPEN_IN_DIALOG