blob: 026fc7b96555bf6144ba323ae1d6d450bbd73731 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 Zoltan Ujhelyi and Istvan Rath and Daniel Varro.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Istvan Rath - initial implementation
*******************************************************************************/
package org.eclipse.viatra2.visualisation.layouts.algorithms;
import org.eclipse.viatra2.visualisation.layouts.AbstractViatraLayoutAlgorithm;
import org.eclipse.zest.core.widgets.ZestStyles;
import org.eclipse.zest.layouts.LayoutAlgorithm;
import org.eclipse.zest.layouts.LayoutStyles;
import org.eclipse.zest.layouts.algorithms.RadialLayoutAlgorithm;
/**
* @author Istvan Rath
*
*/
public class RadialLayout_NodeResize extends AbstractViatraLayoutAlgorithm {
/* (non-Javadoc)
* @see org.eclipse.viatra2.visualisation.layouts.IViatraLayoutAlgorithm#getAlgorithm()
*/
public LayoutAlgorithm getAlgorithm() {
RadialLayoutAlgorithm radialAlgorithm = new RadialLayoutAlgorithm(
LayoutStyles.ENFORCE_BOUNDS | ZestStyles.IGNORE_INVISIBLE_LAYOUT);
return radialAlgorithm;
}
}