Author: scabanovich
Date: 2011-07-01 17:03:04 -0400 (Fri, 01 Jul 2011)
New Revision: 32532
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java
Log:
JBIDE-5046
https://issues.jboss.org/browse/JBIDE-5046
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java 2011-07-01
20:33:46 UTC (rev 32531)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java 2011-07-01
21:03:04 UTC (rev 32532)
@@ -87,6 +87,8 @@
int modifications = 0;
+ Map<String, Object> extensionModels = new HashMap<String, Object>();
+
public KbProject() {}
public void setMock() {
@@ -1083,4 +1085,12 @@
if(validationContext != null)
System.out.println("validationContext " +
validationContext.getModificationsSinceLastStore()); //$NON-NLS-1$
}
+
+ public Object getExtensionModel(String id) {
+ return extensionModels.get(id);
+ }
+
+ public void setExtensionModel(String id, Object model) {
+ extensionModels.put(id, model);
+ }
}
\ No newline at end of file