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 61089 - [hints]Drop FeatureResolver, improve ChangeInfo
Summary: [hints]Drop FeatureResolver, improve ChangeInfo
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks: 60843
  Show dependency tree
 
Reported: 2005-07-18 18:47 UTC by Jan Lahoda
Modified: 2007-11-05 13:44 UTC (History)
3 users (show)

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 Jan Lahoda 2005-07-18 18:47:46 UTC
Please, do the following:
-drop org.netbeans.modules.editor.hints.spi.FeatureResolver
-make org.netbeans.modules.editor.hints.spi.ChangeInfo take File or FileObject
as "feature" instead of Object.
-make org.netbeans.modules.editor.hints.spi.ChangeInfo take
javax.swing.text.Position(s) instead of int/offsets.
Comment 1 Pavel Flaska 2005-07-19 13:58:31 UTC
Can we use org.openide.text.PositionBounds instead of javax.swing.text.Position?
Comment 2 Pavel Flaska 2005-07-19 15:01:52 UTC
After discussion with Jan Lahoda, we decide to use javax.swing.text.Position.
Fixed.

Checking in editor/hints/nbproject/project.properties;
/cvs/editor/hints/nbproject/project.properties,v  <--  project.properties
new revision: 1.6; previous revision: 1.5
done
Checking in editor/hints/src/org/netbeans/modules/editor/hints/HintsUI.java;
/cvs/editor/hints/src/org/netbeans/modules/editor/hints/HintsUI.java,v  <-- 
HintsUI.java
new revision: 1.10; previous revision: 1.9
done
Checking in editor/hints/src/org/netbeans/modules/editor/hints/spi/ChangeInfo.java;
/cvs/editor/hints/src/org/netbeans/modules/editor/hints/spi/ChangeInfo.java,v 
<--  ChangeInfo.java
new revision: 1.2; previous revision: 1.1
done
Removing
editor/hints/src/org/netbeans/modules/editor/hints/spi/FeatureResolver.java;
/cvs/editor/hints/src/org/netbeans/modules/editor/hints/spi/FeatureResolver.java,v
 <--  FeatureResolver.java
new revision: delete; previous revision: 1.1
done
Checking in java/hints/nbproject/project.properties;
/cvs/java/hints/nbproject/project.properties,v  <--  project.properties
new revision: 1.9; previous revision: 1.8
done
Checking in java/hints/nbproject/project.xml;
/cvs/java/hints/nbproject/project.xml,v  <--  project.xml
new revision: 1.8; previous revision: 1.7
done
Checking in
java/hints/src/org/netbeans/modules/java/hints/InitializeVariableHint.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/InitializeVariableHint.java,v
 <--  InitializeVariableHint.java
new revision: 1.8; previous revision: 1.7
done
Checking in java/hints/src/org/netbeans/modules/java/hints/PositionUtils.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/PositionUtils.java,v  <-- 
PositionUtils.java
new revision: 1.6; previous revision: 1.5
done