diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2015-07-20 14:24:04 -0500 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2015-07-20 17:21:41 -0500 |
commit | c18464caa817f6721b51badd00b7375863e04b61 (patch) | |
tree | 12b549c404d468d6e753aa46b895482919699b03 /src/net/java/sip/communicator/impl | |
parent | 36fa64b302eccf7d322ecd29302de6f96134113a (diff) | |
download | jitsi-c18464caa817f6721b51badd00b7375863e04b61.zip jitsi-c18464caa817f6721b51badd00b7375863e04b61.tar.gz jitsi-c18464caa817f6721b51badd00b7375863e04b61.tar.bz2 |
Avoids compiling (certain) classes from .plugin.desktop when compiling classes from .util.
Diffstat (limited to 'src/net/java/sip/communicator/impl')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListTreeCellRenderer.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListTreeCellRenderer.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListTreeCellRenderer.java index 1baad8d..bfe2fd3 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListTreeCellRenderer.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListTreeCellRenderer.java @@ -1143,7 +1143,7 @@ public class ContactListTreeCellRenderer // The list of the contact actions // we will create a button for every action - Collection<SIPCommButton> contactActions + Collection<? extends JButton> contactActions = uiContact.getContactCustomActionButtons(); int lastGridX = gridX; @@ -1179,7 +1179,7 @@ public class ContactListTreeCellRenderer // The list of the actions // we will create a button for every action - Collection<SIPCommButton> contactActions + Collection<? extends JButton> contactActions = uiGroup.getCustomActionButtons(); int lastGridX = gridX; @@ -1236,17 +1236,17 @@ public class ContactListTreeCellRenderer * @return the new grid X coordinate after adding all the buttons */ private int initGroupActionButtons( - Collection<SIPCommButton> contactActionButtons, + Collection<? extends JButton> contactActionButtons, int gridX, int xBounds) { // Reinit the labels to take the whole horizontal space. addLabels(gridX + contactActionButtons.size()); - Iterator<SIPCommButton> actionsIter = contactActionButtons.iterator(); + Iterator<? extends JButton> actionsIter = contactActionButtons.iterator(); while (actionsIter.hasNext()) { - final SIPCommButton actionButton = actionsIter.next(); + final SIPCommButton actionButton = (SIPCommButton) actionsIter.next(); // We need to explicitly remove the buttons from the tooltip manager, // because we're going to manager the tooltip ourselves in the @@ -1276,17 +1276,17 @@ public class ContactListTreeCellRenderer * @return the new grid X coordiante after adding all the buttons */ private int initContactActionButtons( - Collection<SIPCommButton> contactActionButtons, + Collection<? extends JButton> contactActionButtons, int gridX, int xBounds) { // Reinit the labels to take the whole horizontal space. addLabels(gridX + contactActionButtons.size()); - Iterator<SIPCommButton> actionsIter = contactActionButtons.iterator(); + Iterator<? extends JButton> actionsIter = contactActionButtons.iterator(); while (actionsIter.hasNext()) { - final SIPCommButton actionButton = actionsIter.next(); + final SIPCommButton actionButton = (SIPCommButton) actionsIter.next(); // We need to explicitly remove the buttons from the tooltip manager, // because we're going to manager the tooltip ourselves in the |