blob: aa30fb6af6aaf4ca3e1f332c1d2d37b038fb074a [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2005, 2019 SAP SE
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* SAP SE - initial API, implementation and documentation
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.graphiti.ui.internal.platform;
import org.eclipse.graphiti.dt.IDiagramType;
import org.eclipse.graphiti.platform.AbstractExtension;
/**
* @noinstantiate This class is not intended to be instantiated by clients.
* @noextend This class is not intended to be subclassed by clients.
*/
public final class DiagramTypeImpl extends AbstractExtension implements IDiagramType {
private final String id;
private final String name;
private final String description;
public DiagramTypeImpl(String id, String name, String description) {
this.id = id;
this.name = name;
this.description = description;
}
public String getDescription() {
return description;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
}