if (argumentExplorer == null) {
// Create an owner for the argument explorer.
ArgumentExplorerOwner owner = new ArgumentExplorerOwner() {
public String getHTMLFormattedMetadata(PartInput input) {
ScopedEntityNamingPolicy namingPolicy = new ScopedEntityNamingPolicy.UnqualifiedUnlessAmbiguous(getTableTop().getCurrentModuleTypeInfo());
return ToolTipHelpers.getPartToolTip(input, tableTop.getGemGraph(), namingPolicy, argumentExplorer);
}
public void retargetInputArgument(PartInput argument, CollectorGem newTarget, int addIndex) {
getTableTop().handleRetargetInputArgumentGesture(argument, newTarget, addIndex);
}
public ValueEditorManager getValueEditorManager() {
return valueEditorManager;
}
public String getTypeString(final TypeExpr typeExpr) {
final ScopedEntityNamingPolicy namingPolicy;
final ModuleTypeInfo currentModuleTypeInfo = tableTop.getCurrentModuleTypeInfo();
if (currentModuleTypeInfo == null) {
namingPolicy = ScopedEntityNamingPolicy.FULLY_QUALIFIED;
} else {
namingPolicy = new ScopedEntityNamingPolicy.UnqualifiedUnlessAmbiguous(currentModuleTypeInfo);