| //------------------------------------------------------------------------------ |
| // Copyright (c) 2005, 2008 IBM Corporation and others. |
| // 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: |
| // IBM Corporation - initial implementation |
| //------------------------------------------------------------------------------ |
| package org.eclipse.epf.authoring.ui.richtext; |
| |
| import org.eclipse.swt.widgets.Composite; |
| |
| public class MethodRichTextContext { |
| |
| private Composite parent; |
| private int style; |
| private String basePath; |
| |
| public MethodRichTextContext(Composite parent, int style, String basePath) { |
| super(); |
| this.parent = parent; |
| this.style = style; |
| this.basePath = basePath; |
| } |
| |
| public Composite getParent() { |
| return parent; |
| } |
| |
| public void setParent(Composite parent) { |
| this.parent = parent; |
| } |
| |
| public int getStyle() { |
| return style; |
| } |
| |
| public void setStyle(int style) { |
| this.style = style; |
| } |
| |
| public String getBasePath() { |
| return basePath; |
| } |
| |
| public void setBasePath(String basePath) { |
| this.basePath = basePath; |
| } |
| |
| } |