This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 138656 - Add tooltip on operation to say something needs to be connected
Summary: Add tooltip on operation to say something needs to be connected
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: IEP editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: pvarghese
URL:
Keywords:
Depends on:
Blocks: 138046
  Show dependency tree
 
Reported: 2008-06-30 19:49 UTC by Ritesh Adval
Modified: 2008-10-24 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Adval 2008-06-30 19:49:46 UTC
Add tooltip on operator which can say that the attributes list is populated if and only if the operator is connected 
to a Stream.
Comment 1 pvarghese 2008-08-20 02:09:05 UTC
This is fixed by providing contextual tooltip text. 

1. If the operator (ex: InvokeStream operator) is not connected to any input stream/operator then when the mouse is
brought on top of the attributes/input tree panel on the stream property editor the tooltip will show the contextual text

"Connect to an input operator/stream for a list of attributes."

2. If the operator is connected to any input stream/operator then the contextual tooltip text will show

"Attributes of the connected input operator."

Fixed by:

changeset:   85079:2b9cbc6affac
tag:         tip
user:        <pvarghese@netbeans.org>
date:        Tue Aug 19 18:00:38 2008 -0700
files:       
iep.editor/src/org/netbeans/modules/iep/editor/ps/Bundle.properties
iep.editor/src/org/netbeans/modules/iep/editor/ps/InputSchemaTree.java 
iep.editor/src/org/netbeans/modules/iep/editor/ps/InputSchemaTreeModel.java 
iep.editor/src/org/netbeans/modules/iep/editor/ps/InputSchemaTreePanel.java
description:
bug 138656 adding tooltip to operator that is not connected to an input stream,

Comment 2 jlautz 2008-09-16 18:04:26 UTC
Verified on Windows Vista with NB 6.1 + Patch 3 and IEP *.nbms installed from ojc build 080909.

Tested successfully on Tuple Based Aggregator, Time Based Aggregator, Relation Aggregator, Invoke Stream, Relation Map,
Stream Projection and Filter, 

No tool tips on empty or filled (connected) attribute list for:
    Tuple Serial Correlation
    Save Stream
    Batched Stream Output
    Relation Output
    Stream Output
    Table Output
    Delete Stream
    Insert Stream
    Notification Stream
    Relation Stream
    Distinct
    Intersect
    Minus
    Union
    Union All
    Gap Window
    Attribute Based Window
    Partitioned Window
    Time Based Window
    Tuple Based Window

Contiguous Order has different text for the empty attribute list.
Comment 3 pvarghese 2008-10-17 19:16:34 UTC
started
Comment 4 pvarghese 2008-10-17 21:39:09 UTC
Added the contextual tooltip to all the operators mentioned in the bug

searching for changes
changeset:   86642:c8ce45043270
date:        Fri Oct 17 13:34:09 2008 -0700
files:       
iep.editor/src/org/netbeans/modules/iep/editor/ps/DefaultCustomizer.java 
iep.editor/src/org/netbeans/modules/iep/editor/ps/InputSchemaSelectionPanel.java 
iep.editor/src/org/netbeans/modules/iep/editor/ps/PartitionKeySelectionPanel.java 
iep.editor/src/org/netbeans/modules/iep/editor/ps/PartitionPanel.java 
iep.editor/src/org/netbeans/modules/iep/editor/ps/PartitionedWindowCustomEditor.java 
iep.editor/src/org/netbeans/modules/iep/editor/ps/TableOutputCustomEditor.java
description:
#138656 added the appropriate contextual tooltip to the remaining 20 operators
Comment 5 jlautz 2008-10-24 16:40:28 UTC
Verified with JavaCAPS6 with NB 6.1 Patch 4 installed and soarelease ojc iepserviceengine.jar and *iep*.nbms from Build
20081024.

Tested for the following operators.
x Tuple Serial Correlation
x Save Stream
x Batched Stream Output
x Relation Output
x Stream Output
x Table Output
x Delete Stream
x Insert Stream
x Notification Stream
x Relation Stream
x Distinct
x Intersect
x Minus
x Union
x Union All
x Gap Window
x Attribute Based Window
x Partitioned Window
x Time Based Window
x Tuple Based Window