blob: 2f0df538e4844755807158e80eb20bc8e874b102 [file] [log] [blame]
Simon Hunt8d22c4b2015-08-06 16:24:43 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Simon Hunt8d22c4b2015-08-06 16:24:43 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
Simon Hunt8d22c4b2015-08-06 16:24:43 -070015 */
16
17package org.onosproject.ui.topo;
18
Jian Lib6d998e2016-02-29 11:41:18 -080019import org.onlab.util.Identifier;
Simon Hunt8d22c4b2015-08-06 16:24:43 -070020
21/**
22 * Designates the identity of a button on the topology view panels.
23 */
Jian Lib6d998e2016-02-29 11:41:18 -080024public class ButtonId extends Identifier<String> {
Simon Hunt8d22c4b2015-08-06 16:24:43 -070025
26 /**
27 * Creates a button ID with the given identifier.
28 *
29 * @param id identifier for the button
30 */
31 public ButtonId(String id) {
Jian Lib6d998e2016-02-29 11:41:18 -080032 super(id);
Simon Hunt8d22c4b2015-08-06 16:24:43 -070033 }
34}