public void setSelectedOC(OutputConnector selectedOC, Component comp) {
		if (this.selectedOC != null)
			this.selectedOC.setSelected(true);

		this.selectedOC = selectedOC;
		this.selectedOC.setSelected(true);

		connectables = new ArrayList<InputConnector>();

		for (Component e : getElements()) {
			if (e == comp)
				continue;
			if (e instanceof InputStub)
				continue;
			for (Connector c : e.getConnectors()) {
				if (c instanceof InputConnector)
					if (!((InputConnector) c).isConnected())
						connectables.add((InputConnector) c);
			}
		}
	}