Browse files

MPS-11214 make typesystem messages' owner simply a checker

  • Loading branch information...
1 parent f481177 commit b6ff5a53840b9925daac4779f9839bb6269ff724 Cyril Konopko committed Jan 12, 2011
View
5 core/languageDesign/editor/source/jetbrains/mps/nodeEditor/EditorComponent.java
@@ -1237,11 +1237,6 @@ public NodeHighlightManager getHighlightManager() {
return myHighlightManager;
}
- protected void refreshHighlightManager() {
- myHighlightManager.dispose();
- myHighlightManager = new NodeHighlightManager(this);
- }
-
public CellActionType getActionType(KeyEvent keyEvent, EditorContext editorContext) {
if (keyEvent.getKeyCode() == KeyEvent.VK_LEFT && noKeysDown(keyEvent)) {
return CellActionType.LEFT;
View
1 ...uageDesign/editor/source/jetbrains/mps/nodeEditor/inspector/InspectorEditorComponent.java
@@ -46,7 +46,6 @@ private void reinitEditor() {
} else {
setEditorContext(new EditorContext(this, getEditedNode().getModel(), getOperationContext()));
}
- refreshHighlightManager();
rebuildEditorContent();
if (getOperationContext() != null) {
notifyCreation();
View
2 ...anguageDesign/typesystem/source/jetbrains/mps/typesystem/checking/TypesEditorChecker.java
@@ -171,7 +171,7 @@ public boolean executeInUndoableCommand() {
public EditorMessageOwner getOwner(SNode node) {
if (node == null) return null;
- return getNodeTypesComponent(node);
+ return this;
}
protected boolean isPropertyEventDramatical(SModelPropertyEvent event) {

0 comments on commit b6ff5a5

Please sign in to comment.