Output Handler - plugin detail

This class handles the output of messages to the output tabs within the platform.

n/a
Plugin owner: javydreamercsw
Website: http://java.net/projects/output-handler
Added: 2011-08-01
License: CDDL
Category: Graphical User Interface
Downloaded: 2,559 times
Rating:
 4.23, by 1 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.28 MB   Last Update: 2014-03-31

What's new in this version

Compile and release as NetBeans 8 plugin.

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.26 MB   Last Update: 2012-08-28

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Release Notes - Output Handler NetBeans Plug-in - Version 1.5.1

Improvement

  • [OH-1] - Convert to Maven Project
  • [OH-2] - Publish in Maven repository


Verifications for NetBeans versions

7.2 verification PASSED See verification details
Download plugin   Download size: 0.10 MB   Last Update: 2012-03-07

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Release Notes - output-handler - Version 1.5

Improvement

Release Notes - output-handler - Version 1.4

Bug

  • [OUTPUT_HANDLER-5] - Concurrent Modification exception during closeOutputs method

Improvement

Release Notes - output-handler - Version 1.3

Improvement

Release Notes - output-handler - Version 1.2

New Feature

Release Notes - output-handler - Version 1.1

Improvement

  • [OUTPUT_HANDLER-1] - Switch to the use of a static class instead of service provider approach

New Feature

Release Notes - output-handler - Version 1.0

  • First Release.


Verifications for NetBeans versions

7.1 verification PASSED See verification details


Introduction

This class handles the output of messages to the output tabs within the platform. Is meant to be used as a library by other modules.

This plug-in is also available as a Maven artifact.

SnapShots in SonaType

Releases in Maven Central Repository.

Notes:

  • Version 1.5.1 is 1.5 converted to a Maven project. No functional changes were done.
  • Version 1.3 is the last version for 7.0.1 due to internal changes in the platform. 1.4 is 1.3 recompiled for 7.1.
  • Version 1.5 is 1.4 recompiled for 7.1.

Examples:

Open an output window:

OutputHandler.output("Window name", "Message", Color.Black);

Create an input monitor:

InputMonitor monitor = OutputHandler.createMonitor(tabName, 1000);

//Create a monitor for the tab. This enables input in the tab as well.
InputMonitor monitor = OutputHandler.createMonitor(tabName, 1000);
//Add a listener to be notified.
monitor.addListener(new ReaderListener());
The ReadListener only needs to implement a read(String) method. For example:
public class PrivateChatMonitor implements ReaderListener {

    public PrivateChatMonitor() {
    }

    @Override
    public void read(String read) {
        //Do something with what was typed in the tab.
    }
}

[ You have to be logged in to be able to comment. ]

User Comments

  

RE: cannot install on 7.0.1 because dependencies?

Only supported for 7.1 and 7.2.
Posted by javydreamercsw on Aug 21, 2012
  

cannot install on 7.0.1 because dependencies?

This is what I get when trying to install this plugin in NetBeans 7.0.1
As other said, 7.1 worked fine.

Some plugins require plugin I/O UI to be installed.
The plugin I/O UI is requested in version >= 1.14.1 but only 1.12.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.39.1 but only 7.31.2 was found. The following plugin is affected:       Output Handler
Some plugins require plugin I/O APIs to be installed.
The plugin I/O APIs is requested in version >= 1.29.1 but only 1.27.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin Lookup API to be installed.
The plugin Lookup API is requested in version >= 8.11.1 but only 8.8.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin Window System API to be installed.
The plugin Window System API is requested in version >= 6.48.1 but only 6.40.1 was found. The following plugin is affected:       Output Handler Some plugins not installed to avoid potential installation problems.
Posted by carlosqt on May 23, 2012
  

Re: Re: Latest version incompatible with NB7.0.1

Hi,
could you cancel your NB 7.0 verification request ?
This version can't be installed on NB 7.0.1. I'd like to avoid a NOGO (it would automatically create a bug entry in NB bugzilla).

Thank you for your understanding.


PS : since the 7.0.1 version cannot be validated, the 1.2 version of your plugin is still available in NB 7.0.x Update Center (the 1.4 version is available in NB 7.1.x Update Center).
You can safely cancel your 7.0 verif. request.

The only way to maintain a NB x.y specific version of a plugin seems to create an other plugin page in the plugin Portal.
Posted by ent38 on May 23, 2012
  

Re: Latest version incompatible with NB7.0.1

As stated above 1.3 is the last version working on 7.0.X. Unless there's a way to publish one version for one NetBeans release and another to 7.1+ please let me know so I can delete the verification request on 7.0.
Posted by javydreamercsw on May 11, 2012
  

Latest version incompatible with NB7.0.1

Hi,

I cannot validate the latest version for NetBeans 7.0 (7.0.1). I have the following error on install :



Some plugins require plugin I/O UI to be installed.
The plugin I/O UI is requested in version >= 1.14.1 but only 1.12.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.39.1 but only 7.31.2 was found. The following plugin is affected:       Output Handler
Some plugins require plugin I/O APIs to be installed.
The plugin I/O APIs is requested in version >= 1.29.1 but only 1.27.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin Lookup API to be installed.
The plugin Lookup API is requested in version >= 8.11.1 but only 8.8.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin Window System API to be installed.
The plugin Window System API is requested in version >= 6.48.1 but only 6.40.1 was found. The following plugin is affected:       Output Handler Some plugins not installed to avoid potential installation problems.
Posted by ent38 on May 11, 2012
  

Released 1.5 to make it compatible with 7.1.1

It should be available soon when the plugin is verified.
Posted by javydreamercsw on Mar 01, 2012
  

Try 1.3

1.4 Makes it only work on 7.1 not below due to platform module changes. Sorry.

1.3 is exactly the same. 1.4 is just recompiled to work on 7.1.

If you want I can make a branch for 7.0 support. I didn't because I have no feedback so I'm not sure if anyone uses the plugin besides me. I'm glad I was wrong :P
Posted by javydreamercsw on Jan 10, 2012
  

cannot install v1.4 on N 7.0.1, v1.2 works fine

Hi,
version 1.4 cannot be installed on Netbeans 7.0.1 (version 1.2 is on the update centers and works fine with NB 7.0.1). I have this message when I try to install the plugin :


Some plugins require plugin I/O UI to be installed.
The plugin I/O UI is requested in version >= 1.14.1 but only 1.12.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.39.1 but only 7.31.2 was found. The following plugin is affected:       Output Handler
Some plugins require plugin I/O APIs to be installed.
The plugin I/O APIs is requested in version >= 1.29.1 but only 1.27.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin Lookup API to be installed.
The plugin Lookup API is requested in version >= 8.11.1 but only 8.8.1 was found. The following plugin is affected:       Output Handler
Some plugins require plugin Window System API to be installed.
The plugin Window System API is requested in version >= 6.48.1 but only 6.40.1 was found. The following plugin is affected:       Output Handler Some plugins not installed to avoid potential installation problems.
Posted by ent38 on Jan 10, 2012
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo