src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Indicates if the history of a hidden protocol should be shown to the
     * user in the default <b>grey</b> history style or it should be shown as
     * a normal message.
     *
     * @param protocolProvider the protocol provider to check
     * @return <code>true</code> if the given protocol is a hidden one and the
     * "hiddenProtocolGreyHistoryDisabled" property is set to true.
     */
Indicates if the history of a hidden protocol should be shown to the
user in the default grey history style or it should be shown as
a normal message.

@param protocolProvider the protocol provider to check
@return true if the given protocol is a hidden one and the
"hiddenProtocolGreyHistoryDisabled" property is set to true.
Indicates if the history of a hidden protocol should be shown to the user in the default grey history style or it should be shown as a normal message . @param protocolProvider the protocol provider to check @return true if the given protocol is a hidden one and the " hiddenProtocolGreyHistoryDisabled " property is set to true .
private boolean isGreyHistoryStyleDisabled(
        ProtocolProviderService protocolProvider)
    {
        boolean isProtocolHidden = protocolProvider.getAccountID().isHidden();
        boolean isGreyHistoryDisabled = false;
        String greyHistoryProperty
            = GuiActivator.getResources()
                .getSettingsString("impl.gui.GREY_HISTORY_ENABLED");
        if (greyHistoryProperty != null)
            isGreyHistoryDisabled
                = Boolean.parseBoolean(greyHistoryProperty);
        return isProtocolHidden && isGreyHistoryDisabled;
    }
private boolean isGreyHistoryStyleDisabled ( ProtocolProviderService protocolProvider ) { boolean isProtocolHidden = protocolProvider . getAccountID ( ) . isHidden ( ) ; boolean isGreyHistoryDisabled = false ; String greyHistoryProperty = GuiActivator . getResources ( ) . getSettingsString ( "impl.gui.GREY_HISTORY_ENABLED" ) ; if ( greyHistoryProperty != null ) isGreyHistoryDisabled = Boolean . parseBoolean ( greyHistoryProperty ) ; return isProtocolHidden && isGreyHistoryDisabled ; }
Indicates if the history of a hidden protocol should be shown to the
 user in the default <b>grey</b> history style or it should be shown as
 a normal message.
Indicates if the history of a hidden protocol should be shown to the user in the default <b > grey< / b > history style or it should be shown as a normal message .