|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.dialogs.cpaths.SourceAttachmentBlock
public class SourceAttachmentBlock
UI to set the source attachment archive and root. Same implementation for both setting attachments for libraries from variable entries and for normal (internal or external) jar. SourceAttachmentBlock
Constructor Summary | |
---|---|
SourceAttachmentBlock(IStatusChangeListener context,
org.eclipse.cdt.core.model.ILibraryEntry entry,
org.eclipse.cdt.core.model.ICProject project)
|
|
SourceAttachmentBlock(org.eclipse.core.resources.IWorkspaceRoot root,
IStatusChangeListener context,
org.eclipse.cdt.core.model.ILibraryEntry oldEntry)
Deprecated. |
Method Summary | |
---|---|
org.eclipse.swt.widgets.Control |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the control |
org.eclipse.jface.operation.IRunnableWithProgress |
getRunnable(org.eclipse.cdt.core.model.ICProject jproject,
org.eclipse.swt.widgets.Shell shell)
Creates a runnable that sets the source attachment by modifying the project's classpath. |
org.eclipse.jface.operation.IRunnableWithProgress |
getRunnable(org.eclipse.swt.widgets.Shell shell)
Creates a runnable that sets the source attachment by modifying the project's classpath or updating a container. |
org.eclipse.core.runtime.IPath |
getSourceAttachmentPath()
Gets the source attachment path chosen by the user |
org.eclipse.core.runtime.IPath |
getSourceAttachmentPrefixMapping()
Null for now |
org.eclipse.core.runtime.IPath |
getSourceAttachmentRootPath()
Gets the source attachment root chosen by the user Returns null to let JCore automatically detect the root. |
void |
setDefaults()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceAttachmentBlock(org.eclipse.core.resources.IWorkspaceRoot root, IStatusChangeListener context, org.eclipse.cdt.core.model.ILibraryEntry oldEntry)
public SourceAttachmentBlock(IStatusChangeListener context, org.eclipse.cdt.core.model.ILibraryEntry entry, org.eclipse.cdt.core.model.ICProject project)
context
- listeners for status updatesentry
- The entry to editproject
- Project to which the entry belongs. Can be null
if getRunnable
is not run and the
entry does not belong to a container.Method Detail |
---|
public void setDefaults()
public org.eclipse.core.runtime.IPath getSourceAttachmentPath()
public org.eclipse.core.runtime.IPath getSourceAttachmentRootPath()
public org.eclipse.core.runtime.IPath getSourceAttachmentPrefixMapping()
public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
public org.eclipse.jface.operation.IRunnableWithProgress getRunnable(org.eclipse.cdt.core.model.ICProject jproject, org.eclipse.swt.widgets.Shell shell)
public org.eclipse.jface.operation.IRunnableWithProgress getRunnable(org.eclipse.swt.widgets.Shell shell)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |