# Copyright (c) 1997-2006 # Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Berlin, Germany) # http://www.math.tu-berlin.de/polymake, mailto:polymake@math.tu-berlin.de # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2, or (at your option) any # later version: http://www.gnu.org/licenses/gpl.txt. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. #----------------------------------------------------------------------------- # $Project: polymake $$Id: javaview_interactive.rules 7547 2007-01-08 16:41:22Z gawrilow $ CONFIGURE : common:: package JavaView::Viewer::WindowParams; method new(Visual::GraphEmbedding) { my $self=&_new; $self->client="se_interactive"; my $emb=$self->embedding; @{$self->client_args}=(@$emb[0,1], "==FD=="); # Object, GraphProperty %{$self->client_params}=( %Visual::GraphEmbedding::graph_parameters, %Visual::GraphEmbedding::interactive_parameters, @$emb[2..$#$emb] ); $self->launcher_class="de.tuberlin.polymake.graph.JavaviewSpringEmbedderControl"; @{$self->jars}=qw( graph ); $self; } # Local Variables: # mode: perl # c-basic-offset:3 # End: