components/visual-panels/sysmon/src/java/vpanels/app/sysmon/com/oracle/solaris/vp/panels/sysmon/client/swing/SmfMonitoredResource.java
equal
deleted
inserted
replaced
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 |
21 |
22 /* |
22 /* |
23 * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
24 */ |
24 */ |
25 |
25 |
26 package com.oracle.solaris.vp.panels.sysmon.client.swing; |
26 package com.oracle.solaris.vp.panels.sysmon.client.swing; |
27 |
27 |
28 import java.beans.PropertyChangeListener; |
28 import java.beans.PropertyChangeListener; |
29 import java.io.IOException; |
29 import java.io.IOException; |
30 import java.util.List; |
30 import java.util.List; |
31 import javax.management.InstanceNotFoundException; |
|
32 import javax.swing.Icon; |
31 import javax.swing.Icon; |
33 import com.oracle.solaris.vp.panel.common.*; |
32 import com.oracle.solaris.vp.panel.common.*; |
34 import com.oracle.solaris.vp.panel.common.control.*; |
33 import com.oracle.solaris.vp.panel.common.control.*; |
35 import com.oracle.solaris.vp.panel.common.model.*; |
34 import com.oracle.solaris.vp.panel.common.model.*; |
36 import com.oracle.solaris.vp.panel.common.smf.*; |
35 import com.oracle.solaris.vp.panel.common.smf.*; |
59 // |
58 // |
60 // Constructors |
59 // Constructors |
61 // |
60 // |
62 |
61 |
63 public SmfMonitoredResource(ClientContext context) |
62 public SmfMonitoredResource(ClientContext context) |
64 throws InstanceNotFoundException, IOException, TrackerException { |
63 throws IOException, TrackerException { |
65 |
64 |
66 this.context = context; |
65 this.context = context; |
67 setName(NAME); |
66 setName(NAME); |
68 |
67 |
69 repo = new RepoManagedObject("repo", context); |
68 repo = new RepoManagedObject("repo", context); |