blob: d81a67d6fe0900ada2275c866f385dfc30ed302c [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001/*
2 * Copyright 2015-present Open Networking Foundation
3 *
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.
15 */
Sean Condona00bf382018-06-23 07:54:01 +010016import { Directive, Inject } from '@angular/core';
Sean Condon83fc39f2018-04-19 18:56:13 +010017import { KeyService } from '../../fw/util/key.service';
18import { LogService } from '../../log.service';
19
20/**
21 * ONOS GUI -- Device Details Panel Directive
22 *
23 * TODO: figure out if this should be a directive or a component. In the old
24 * code it was a directive, but was referred to in device.html like a component
25 * would be
26 */
27@Directive({
28 selector: '[onosDeviceDetailsPanel]'
29})
30export class DeviceDetailsPanelDirective {
31
32 constructor(
33 private ks: KeyService,
Sean Condona00bf382018-06-23 07:54:01 +010034 private log: LogService
Sean Condon83fc39f2018-04-19 18:56:13 +010035 ) {
36 this.log.debug('DeviceDetailsPanelDirective constructed');
37 }
38
39}