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.
Summary: | Need own data object over .java file | ||
---|---|---|---|
Product: | java | Reporter: | Peter Zavadsky <pzavadsky> |
Component: | Source | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | jtulach, markdey, mmatula, tor |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Peter Zavadsky
2005-01-28 21:40:41 UTC
It is not that much confusing, but I am not sure what datasystems are supposed to do with this problem. Until the requirement changes somehow this is wontfix in datasystems. Because you can easily create a data object that will recognize .java and .jsp at the same time. Imho you are asking for support of the functionality of java module without creating data object. But that is really different category than openide/datasystems. BIN_COMP because it reuses JavaDataObject, which is public now, but as it seems, shoudn't be. Therefore we'd need to have an api, to be able resuse the services which are now tightly associated with DataObject, in this case like editor (support), and all the cookies which are now in JavaDataObject. It would also mean that all the infra would work not with DataObjects but with any objects providing such services -> refactoring, etc. To rephase your problem: 1. you need java support for certain .java file (e.g. SourceCookie, jmi Element, etc) 2. you want to provide your own data object to have control over certain operation on the .java and assiciated .jsp. especially "Open". In short term there is a way - you can replace the open action in all java files (registered in a layer) with your own that will handle the special situations you need. In longer term my feeling is that the java support shall be DataObject independent - probably in similar way as CloneableEditorSupport - e.g. use some kind of Environment to communicate with outside world. I have WONTFIXed similar issue #53926 in 4.1 time-frame. Overtake. Resetting assignee to default for all bugs reported against product java and assigned to moonko. Obsolete |