Shows the active scan dialogue with the given target, if not already visible.

@param target the target, might be {@code null}.
@since TODO add version.
557719
public void showCustomScanDialog(Target target) {
		if (customScanDialog == null) {
			// Work out the tabs 
			String[] tabs = CustomScanDialog.STD_TAB_LABELS;
			if (this.customScanPanels.size() > 0) {
				List<String> tabList = new ArrayList<String>();
				for (String str : CustomScanDialog.STD_TAB_LABELS) {
					tabList.add(str);
				}
				for (CustomScanPanel csp : customScanPanels) {
					tabList.add(csp.getLabel());
				}
				tabs = tabList.toArray(new String[tabList.size()]);
			}
			
			customScanDialog = new CustomScanDialog(this, tabs, this.customScanPanels, 
					View.getSingleton().getMainFrame(), new Dimension(700, 500));
		}
		if (customScanDialog.isVisible()) {
			customScanDialog.requestFocus();
			// Its behind you! Actually not needed no the window is alwaysOnTop, but keeping in case we change that ;)
			customScanDialog.toFront();
			return;
		}
		if (target != null) {
			customScanDialog.init(target);
		} else {
			// Keep the previously selected target
			customScanDialog.init(null);
		}
		customScanDialog.setVisible(true);
	}
277209
protected boolean isTypeableTarget (Component target)
    {
        return target.isShowing() &&
            (((target instanceof JTextComponent) && ((JTextComponent) target).isEditable()) ||
             (target instanceof JComboBox) ||
             (target instanceof JTable) ||
             (target instanceof JRootPane));
    }
516445
public void setTargets(java.util.Collection<Target> targets) {
        if (targets == null) {
            this.targets = null;
            return;
        }

        this.targets = new com.amazonaws.internal.SdkInternalList<Target>(targets);
    }
99371
public final void addTarget(@NotNull final Target target) {
        Contract.requireArgNotNull("target", target);
        if (targets == null) {
            targets = new ArrayList<>();
        }
        targets.add(target);
    }
1365753
public void addConfiguredTarget(final TargetDef target) {
    if (target == null) {
      throw new NullPointerException("target");
    }
    target.setProject(getProject());
    this.targetPlatforms.addElement(target);
  }
866601
public void setTargetFolder(String target) {

        m_targetFolder = target;
        setCaption(Messages.get().key(Messages.GUI_UPLOAD_DIALOG_TITLE_1, m_targetFolder));
    }
730796
private void bind(IActionTarget target) {
        if (targets.isEmpty()) {
            getEventManager().subscribe(eventName, this);
        }
        
        targets.add(target);
    }
404750
function (target) {
			var inst = this._getInst(target);
			if (!inst) {
				return FALSE;
			}
			$("#sbHolder_" + inst.uid).remove();
			$.data(target, PROP_NAME, null);
			$(target).show();			
		}
774641
public void setEditorTarget (PropertyEditorTarget target)
    {
        if (target instanceof DBMetaColumnNode)
        {
            super.setEditorTarget(target);
            this.tfColumnName.setText((String)target.getAttribute(DBMetaColumnNode.ATT_COLUMN_NAME));
        }
        else
        {
            throw new UnsupportedOperationException("This editor can only edit DBMetaColumnNode objects");
        }
    }
38608
public void showOver(Node target) {
        requireNonNull(target, "Parameter 'target' is null");

        final Point2D center = center(target.localToScreen(target.getBoundsInLocal()));
        internalShow(target, target, center.getX(), center.getY());
    }
295810
public static <T> Level0ArrayOperator<Boolean[],Boolean> onArray(final boolean[] target) {
        return onArrayOf(Types.BOOLEAN, ArrayUtils.toObject(target));
    }
239226
public static <T extends PopupPanel> T showBelow (T popup, Widget target)
    {
        return show(popup, Position.BELOW, target);
    }
1120640
public void populateMetadata(final Target target) {
        removeAllItems();
        if (target == null) {
            return;
        }
        selectedTargetId = target.getId();
        final List<TargetMetadata> targetMetadataList = targetManagement
                .findMetaDataByControllerId(PageRequest.of(0, MAX_METADATA_QUERY), target.getControllerId())
                .getContent();
        if (targetMetadataList != null && !targetMetadataList.isEmpty()) {
            targetMetadataList.forEach(this::setMetadataProperties);
        }
    }
590280
public static <T> Level0ArrayOperator<Integer[],Integer> onArray(final int[] target) {
        return onArrayOf(Types.INTEGER, ArrayUtils.toObject(target));
    }
144717
@Override
    public DataByteOutput<T> target(final T target) {
        return (DataByteOutput<T>) super.target(target);
    }
298648
public static <T> T orElseIfNull(T target, T elseTarget) {
        return Optional.ofNullable(target).orElse(elseTarget);
    }
571809
public static void bindActionListeners(IActionTarget target, List<ActionListener> actionListeners) {
        if (actionListeners != null) {
            for (ActionListener actionListener : actionListeners) {
                actionListener.bind(target);
            }
        }
    }