This commit is contained in:
Vladimir Krivosheev
2014-08-14 10:57:45 +02:00
parent 8949165504
commit 3c9bca1cf9
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,10 +18,10 @@ package com.intellij.ui.content;
import java.util.EventObject;
public class ContentManagerEvent extends EventObject {
private Content myContent;
private int myIndex;
private final Content myContent;
private final int myIndex;
private boolean myConsumed;
private ContentOperation myOperation;
private final ContentOperation myOperation;
public ContentManagerEvent(Object source, Content content, int index, ContentOperation operation) {
super(source);
@@ -54,7 +54,7 @@ public class ContentManagerEvent extends EventObject {
return myOperation;
}
public static enum ContentOperation {
public enum ContentOperation {
add, remove, undefined
}
}
}