EditorHistoryTab

Revision as of 12:58, 10 August 2011 by Manowar (Talk | contribs)

Contents

History Tab in Editor

Thanks to changes in the NetBeans MultiView SPI (issue #196810) it is now possible to easily associate file editors together with the relevant Local History View.

See the umbrella issue #198115 and its dependent issues for implementation of history tab in editors in various IDE areas.

Necessary Steps

Learn from what has already been done (see some typical scenarios bellow).

for more information see also :

DataObject with own EditorSupport implementation

see changes made in maven.grammar/org.netbeans.modules.maven.grammar.POMDataObject.java

DataObject without own EditorSupport implementation

see changes made in languages/org.netbeans.modules.languages.manifest.MfDataObject.java

Languages relying on CSL

see changes made in php.editor/org/netbeans/modules/php/editor/PHPLanguage.java

Rewrite already existing multiviews

a possible inspiration could be the Form module. See org.netbeans.modules.form.FormDesigner.java and org.netbeans.modules.form.FormEditorSupport.java (change set)

Involved DataObjects

see the following tables for known DataObjects, which have to be rewritten to support the History tab in their editors.

DataObjects with editor

DataObject Owner Done
apisupport.project/src/org/netbeans/modules/apisupport/project/layers/LayerDataObject.java Jesse x
beans/src/org/netbeans/modules/beans/beaninfo/BIDataObject.java David S.
coherence/src/org/netbeans/modules/coherence/editor/cache/CacheConfigDataObject.java Martin F (Petr J)
coherence/src/org/netbeans/modules/coherence/editor/config/CoherenceConfigDataObject.java Martin F (Petr J)
coherence/src/org/netbeans/modules/coherence/editor/pof/PofConfigDataObject.java Martin F (Petr J)
cnd.asm/src/org/netbeans/modules/cnd/asm/core/dataobjects/AsmDataObject.java Leonid
cnd.script/src/org/netbeans/modules/cnd/makefile/loaders/MakefileDataObject.java Leonid
cnd.script/src/org/netbeans/modules/cnd/script/loaders/ShellDataObject.java Leonid
cnd.source/src/org/netbeans/modules/cnd/source/SourceDataObject.java Leonid x
cnd/src/org/netbeans/modules/cnd/loaders/CMakeDataObject.java Leonid
cnd/src/org/netbeans/modules/cnd/loaders/CMakeIncludeDataObject.java Leonid
cnd/src/org/netbeans/modules/cnd/loaders/QtProjectDataObject.java Leonid
cnd/src/org/netbeans/modules/cnd/loaders/QtResourceDataObject.java Leonid
cnd/src/org/netbeans/modules/cnd/loaders/QtTranslationDataObject.java Leonid
cnd/src/org/netbeans/modules/cnd/loaders/QtUiDataObject.java Leonid
cnd.source/src/org/netbeans/modules/cnd/source/CCDataObject.java Leonid x
cnd.source/src/org/netbeans/modules/cnd/source/CDataObject.java Leonid x
cnd.source/src/org/netbeans/modules/cnd/source/FortranDataObject.java Leonid x
cnd.source/src/org/netbeans/modules/cnd/source/HDataObject.java Leonid x
csl.api/src/org/netbeans/modules/csl/core/GsfDataObject.java David S. x
db.core/src/org/netbeans/modules/db/sql/loader/SQLDataObject.java Jirka R.
dbschema/src/org/netbeans/modules/dbschema/jdbcimpl/DBschemaDataObject.java Jirka R.
form/src/org/netbeans/modules/form/FormDataObject.java David S. x
groovy.gsp/src/org/netbeans/modules/groovy/gsp/loaders/GspDataObject.java Petr H (Petr J) x
hibernate/src/org/netbeans/modules/hibernate/loaders/mapping/HibernateMappingDataObject.java Sergey P (Petr J)
hibernate/src/org/netbeans/modules/hibernate/loaders/reveng/HibernateRevengDataObject.java Sergey P (Petr J)
hibernate/src/org/netbeans/modules/hibernate/loaders/cfg/HibernateCfgDataObject.java Sergey P (Petr J)
html/src/org/netbeans/modules/html/HtmlDataObject.java Marek F (Petr J)
j2ee.sun.appsrv/src/org/netbeans/modules/j2ee/sun/ide/sunresources/resourcesloader/SunResourceDataObject.java Vince K (Petr J)
j2ee.websphere6/src/org/netbeans/modules/j2ee/websphere6/dd/loaders/WSMultiViewDataObject.java Petr H (Petr J) not in build
j2me.cdc.project/src/org/netbeans/modules/j2me/cdc/project/mbm/MBMDataObject.java

Anton |(David S.)

skipped (no editor)
java.source/src/org/netbeans/modules/java/JavaDataObject.java David S. x
javacard.apdufile/src/org/netbeans/modules/javacard/apdufile/ApduDataObject.java Anton (David S.) http://hg.netbeans.org/jet-main/rev/7fcf0b5d78ed
javawebstart/src/org/netbeans/modules/javawebstart/JnlpDataObject.java David S. (Petr S) x
languages.diff/src/org/netbeans/modules/languages/diff/DiffDataObject.java Tomas S. skipped
languages.ini/src/org/netbeans/modules/languages/ini/IniDataObject.java Tomas S. x
languages.manifest/src/org/netbeans/modules/languages/manifest/MfDataObject.java Tomas S.
languages/src/org/netbeans/modules/languages/dataobject/LanguagesDataObject.java Tomas S. skipped
maven.grammar/src/org/netbeans/modules/maven/grammar/POMDataObject.java Jesse x
mobility.editor/src/org/netbeans/modules/mobility/editor/pub/J2MEDataObject.java David S.
mobility.end2end/src/org/netbeans/modules/mobility/end2end/E2EDataObject.java David S.
mobility.svgcore/src/org/netbeans/modules/mobility/svgcore/SVGDataObject.java David S.
o.apache.tools.ant.module/src/org/apache/tools/ant/module/loader/AntProjectDataObject.java Jesse x
openide.loaders/src/org/openide/loaders/DefaultDataObject.java Jarda
openide.loaders/src/org/openide/loaders/XMLDataObject.java Jarda
properties/src/org/netbeans/modules/properties/PropertiesDataObject.java Tomas S.
spring.beans/src/org/netbeans/modules/spring/beans/loader/SpringXMLConfigDataObject.java Martin F (Petr J)
vmd.io.javame/src/org/netbeans/modules/vmd/io/javame/MEDesignDataObject.java David S.
vmd.midp.converter/src/org/netbeans/modules/vmd/midp/converter/io/MVDDataObject.java David S.
websvc.jaxrpc/src/org/netbeans/modules/websvc/wsdl/xmlutils/XMLJ2eeDataObject.java Denis A (Petr J)
web.core/src/org/netbeans/modules/web/core/jsploader/JspDataObject.java Marek F (Petr J)
web.core/src/org/netbeans/modules/web/core/jsploader/JspServletDataObject.java Marek F (Petr J)
web.core/src/org/netbeans/modules/web/taglib/TLDDataObject.java Marek F (Petr J)
web.jsf/src/org/netbeans/modules/web/jsf/JSFConfigDataObject.java Martin F (Petr J)
web.struts/src/org/netbeans/modules/web/struts/StrutsConfigDataObject.java Martin F (Petr J)
websvc.design/src/org/netbeans/modules/websvc/design/loader/JaxWsDataObject.java Denis A (Petr J)
websvc.rest.wadl.design/src/org/netbeans/modules/websvc/rest/wadl/design/loader/WadlDataObject.java Denis A (Petr J)
xml/src/org/netbeans/modules/xml/DTDDataObject.java
xml/src/org/netbeans/modules/xml/EntityDataObject.java
xml/src/org/netbeans/modules/xml/XMLDataObject.java
xsl/src/org/netbeans/modules/xsl/XSLDataObject.java

DataObjects inherited from XmlMultiViewDataObject - Petr H (Petr J)

DataObject Owner Done
j2ee.ddloaders/org/netbeans/modules/j2ee/ddloaders/multiview/DDMultiViewDataObject.java Petr H (Petr J)
@j2ee.ddloaders/org/netbeans/modules/j2ee/ddloaders/client/ClientDataObject.java 62d8ccf04a3e
@j2ee.ddloaders/org/netbeans/modules/j2ee/ddloaders/multiview/EjbJarMultiViewDataObject.java
@j2ee.ddloaders/org/netbeans/modules/j2ee/ddloaders/web/DDDataObject.java
@@j2ee.ddloaders/org/netbeans/modules/j2ee/ddloaders/web/DDFragmentDataObject.java
j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/unit/PUDataObject.java Sergey P (Petr J) dbc8ac70664d
j2ee.sun.ddui/org/netbeans/modules/j2ee/sun/ddloaders/DDMultiViewDataObject.java Vince K (Petr J)
@j2ee.sun.ddui/org/netbeans/modules/j2ee/sun/ddloaders/SunDescriptorDataObject.java

DataObjects inherited from XMLJ2eeDataObject - Petr H (Petr J)

DataObject Owner Done
j2ee.ddloaders/org/netbeans/modules/j2ee/ddloaders/common/DD2beansDataObject.java no change
@j2ee.ddloaders/org/netbeans/modules/j2ee/ddloaders/app/EarDataObject.java 924b6edf4e14

DataObjects without editor - no changes required

DataObject
form/src/org/netbeans/modules/form/palette/PaletteItemDataObject.java
ide.ergonomics/src/org/netbeans/modules/ide/ergonomics/fod/FodDataObjectFactory.java
image/src/org/netbeans/modules/image/ImageDataObject.java
java.j2seplatform/src/org/netbeans/modules/java/jarloader/JarDataObject.java
java.source/src/org/netbeans/modules/java/ClassDataObject.java
openide.loaders/src/org/openide/loaders/BrokenDataShadow.java
openide.loaders/src/org/openide/loaders/DataFolder.java
openide.loaders/src/org/openide/loaders/DataShadow.java
openide.loaders/src/org/openide/loaders/InstanceDataObject.java
openide.loaders/src/org/openide/loaders/MultiDataObject.java
o.apache.jmeter.module/src/org/apache/jmeter/module/JMXTypeDataObject.java
profiler.snaptracer/src/org/netbeans/modules/profiler/snaptracer/impl/NpssDataObject.java
profiler/src/org/netbeans/modules/profiler/ui/HprofDataObject.java
profiler/src/org/netbeans/modules/profiler/ui/NpsDataObject.java
vmd.palette/src/org/netbeans/modules/vmd/palette/PaletteItemDataObject.java
mobility.svgcore/src/org/netbeans/modules/mobility/svgcore/palette/SVGPaletteItemDataObject.java
utilities/src/org/netbeans/modules/pdf/PDFDataObject.java
utilities/src/org/netbeans/modules/url/URLDataObject.java
vmd.palette/src/org/netbeans/modules/vmd/palette/PaletteItemDataObject.java
cnd/src/org/netbeans/modules/cnd/loaders/ExeObject.java
cnd/src/org/netbeans/modules/cnd/loaders/CoreElfObject.java
cnd/src/org/netbeans/modules/cnd/loaders/DllObject.java
cnd/src/org/netbeans/modules/cnd/loaders/ExeElfObject.java
cnd/src/org/netbeans/modules/cnd/loaders/OrphanedElfObject.java
cnd/src/org/netbeans/modules/cnd/loaders/StaticLibraryObject.java
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo