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 87617 - Define java source formatting options facility
Summary: Define java source formatting options facility
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks: 87436
  Show dependency tree
 
Reported: 2006-10-20 10:55 UTC by Pavel Flaska
Modified: 2008-08-05 11:43 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Flaska 2006-10-20 10:55:23 UTC
java/source module (more accurately its generating framework has to share
options defined in the JavaEditorModule. We need to design, how modules will
interact and share these options.

Current state (with java model based on mdr):
During JavaEditorModule initialization JavaIndentationSettingsProvider is
created and set to org.netbeans.modules.javacore.JMManager. Call to method
setIndentationSettingsProvider() set indentation settings provider to javacore
and register listener because of potential options changes.
Comment 1 Miloslav Metelka 2006-10-23 10:25:10 UTC
IMO we should define an API class over editor/settings holding the options and
let the class to be returned by 
MimeLookup.getLookup("text/x-java").lookup(JavaIndentSettings.class)
Comment 2 Jiri Prox 2007-09-17 20:36:16 UTC
Obsolete milestone, please reevaluate
Comment 3 Pavel Flaska 2008-08-05 11:43:42 UTC
This is no longer valid issue. Closing as WONTFIX.