[nbusers] Re: Simplest Question On Earth :)

  • From: Ion Iovu < >
  • To:
  • Subject: [nbusers] Re: Simplest Question On Earth :)
  • Date: Fri, 14 Dec 2012 01:47:28 +0200

Xenobius,

there's a special NetBeans Platform mailing list. You will be better served there.

Regards

On Thu, Dec 13, 2012 at 10:27 PM, Xenobius < " target="_blank"> > wrote:
Additional Information:

MyApi Depends on
Lookup

BOTH MODULES Depend ON
Lookup
TopComponent
MyApi
Utilities API
UI Utilities API
Settings API
I/O APIs

BOTH MODULES Are Declared As
Module extends TopComponent implements LookupListener

BOTH MODULES Constructor has
associateLookup(Lookups.singleton(space)); // SPACE is a singleton Class

BOTH MODULES Implement resultChanged as

Code:
@Override
    public void resultChanged(LookupEvent le) {
        Collection<? extends Workspace> allEvents = result.allInstances();
        if (!allEvents.isEmpty()) {
            Workspace event = allEvents.iterator().next();
            // PAINT or FILL depends on module being implemented in
        }
    }









[nbusers] Simplest Question On Earth :)

Xenobius 12/13/2012

[nbusers] Simplest Question On Earth :)

Xenobius 12/13/2012

[nbusers] Re: Simplest Question On Earth :)

Ion Iovu 12/13/2012

[nbusers] Re: Simplest Question On Earth :)

Gregg Wonderly 12/14/2012

[nbusers] Re: Simplest Question On Earth :)

Wade Chandler 12/14/2012

[nbusers] Simplest Question On Earth :)

Xenobius 12/14/2012

[nbusers] Simplest Question On Earth :)

Xenobius 12/14/2012

[nbusers] Simplest Question On Earth :)

Xenobius 12/15/2012

[nbusers] Simplest Question On Earth :)

Xenobius 12/15/2012

[nbusers] Re: Simplest Question On Earth :)

Wade Chandler 12/16/2012

[nbusers] Re: Simplest Question On Earth :)

Wade Chandler 12/16/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close