Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/blame/BlameInformationControlCreator.java')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/blame/BlameInformationControlCreator.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/blame/BlameInformationControlCreator.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/blame/BlameInformationControlCreator.java
new file mode 100644
index 0000000000..59eb6b8ee9
--- /dev/null
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/blame/BlameInformationControlCreator.java
@@ -0,0 +1,40 @@
+/******************************************************************************
+ * Copyright (c) 2011 GitHub Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Kevin Sawicki (GitHub Inc.) - initial API and implementation
+ *****************************************************************************/
+package org.eclipse.egit.ui.internal.blame;
+
+import org.eclipse.jface.text.AbstractReusableInformationControlCreator;
+import org.eclipse.jface.text.IInformationControl;
+import org.eclipse.swt.widgets.Shell;
+
+/**
+ * Annotation information control creator
+ */
+public class BlameInformationControlCreator extends
+ AbstractReusableInformationControlCreator {
+
+ private boolean resizable;
+
+ /**
+ * Create annotation information control creator
+ *
+ * @param resizable
+ */
+ public BlameInformationControlCreator(boolean resizable) {
+ this.resizable = resizable;
+ }
+
+ @Override
+ protected IInformationControl doCreateInformationControl(Shell parent) {
+ return new BlameInformationControl(parent, resizable,
+ new BlameInformationControlCreator(true));
+ }
+
+}

Back to the top