edu.uci.ics.jung.visualization.control.CrossoverScalingControl Java Examples

The following examples show how to use edu.uci.ics.jung.visualization.control.CrossoverScalingControl. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SingleDefaultGraphMouse.java    From rapidminer-studio with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * Create and load the plugins to use.
 *
 */
protected void loadPlugins() {
	pickingPlugin = new ExtendedPickingGraphMousePlugin<V, E>();
	pickingPlugin.setRectangleSelectionEnabled(false);
	translatingPlugin = new TranslatingGraphMousePlugin(InputEvent.BUTTON1_MASK);
	scalingPlugin = new ScalingGraphMousePlugin(new CrossoverScalingControl(), 0, in, out);

	add(pickingPlugin);
	add(translatingPlugin);
	add(scalingPlugin);
}