blob: 8fba9eaa8b53dec8bd2701d8d4cbec4b5b6bcda4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 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 API and implementation
*******************************************************************************/
package org.eclipse.viatra2.visualisation.common.extensions;
import org.eclipse.viatra2.visualisation.ViatraColoredLabelProvider;
import org.eclipse.viatra2.visualisation.layouts.IViatraLayoutAlgorithm;
/**
* DTO for a visualisation preset.
* @author istvan
*
*/
public class VisualisationPreset {
public String id,name;
public NamedElement<ViatraColoredLabelProvider> labelprovider;
public NamedElement<IViatraLayoutAlgorithm> layout;
public FilterConfiguration filters;
public VisualisationPreset(
String _id, String _name,
NamedElement<ViatraColoredLabelProvider> _labelprovider,
NamedElement<IViatraLayoutAlgorithm> _layout,
FilterConfiguration _filters) {
this.id=_id; this.name=_name;
this.labelprovider=_labelprovider;
this.layout=_layout;
this.filters=_filters;
}
}