|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Editor profiles are used to personalize the base SystemTextEditor so that only one JLpex based text editor is required. Plugins may specify an editor extension while specifying the SystemTextEditor class as the text editor. The plugin can then extend the "profile" extension point, and specify a profile class and type string. When an IFile is opened for editing, the type string property of the IFile is loaded. A corresponding profile class for the same type string is loaded, and the calls are made to these methods whenever the corresponding JLpex calls are made.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
void |
addDebugEditorMenuActions(IMenuManager menu,
boolean isDebuggable,
int currentElement)
Add debug editor menu actions associated with this profile. |
void |
addDebugEditorRulerActions(IMenuManager menu,
boolean isDebuggable,
int currentElement)
Add debug editor ruler actions associated with this profile. |
void |
createDebugMenuActions(LpexTextEditor editor)
Create debug menu actions associated with this profile |
void |
createDebugRulerActions(LpexTextEditor editor,
IVerticalRuler ruler)
Create debug ruler actions associated with this profile. |
void |
doSave(LpexTextEditor editor,
IProgressMonitor progressMonitor)
Called when the editor's doSave is called. |
void |
editorContextMenuAboutToShow(LpexTextEditor editor,
IMenuManager menu)
Called when JLpex's editorContextMenuAboutToShow is called |
IAction |
getBreakpointRulerAction(LpexTextEditor editor)
Returns the appropriate breakpoint ruler action associated with this profile. |
long |
getCompileMessageClassBitMask()
Gty the bit mask for compile messages |
IAnnotationModel |
getDebuggerMarkerAnnotationModel(IResource resource,
IEditorInput input)
Get the debugger marker annotation model for this resource in this profile. |
String |
getTitle(LpexTextEditor editor)
Get the title to display in the editor |
void |
initializeLpexView(LpexTextEditor editor,
LpexView lpexView)
Called when JLpex's initializeLpexView is called. |
boolean |
isLocal()
Queries if the profile is for local resources or remote resources. |
boolean |
isTargetDebuggable(IDebugTarget dbgtarget)
Determine if the specified target is debuggable. |
boolean |
performSaveAs(LpexTextEditor editor,
IProgressMonitor progressMonitor)
Called when JLpex's performSaveAs is called. |
boolean |
performSaveAs(LpexTextEditor editor,
IProgressMonitor progressMonitor,
String strFilename)
Called when JLpex's performSaveAs is called. |
void |
resetMarkers(LpexTextEditor editor)
Reset markers associated with the resource being edited. |
void |
updateProfile(LpexTextEditor editor)
Called when JLpex's updateProfile is called. |
void |
updateProfile(LpexTextEditor editor,
LpexView lpexView)
Called when JLpex's updateProfile is called. |
Field Detail |
public static final String Copyright
Method Detail |
public void doSave(LpexTextEditor editor, IProgressMonitor progressMonitor)
public void editorContextMenuAboutToShow(LpexTextEditor editor, IMenuManager menu)
public void initializeLpexView(LpexTextEditor editor, LpexView lpexView)
public boolean performSaveAs(LpexTextEditor editor, IProgressMonitor progressMonitor)
public boolean performSaveAs(LpexTextEditor editor, IProgressMonitor progressMonitor, String strFilename)
public void updateProfile(LpexTextEditor editor)
public void updateProfile(LpexTextEditor editor, LpexView lpexView)
public long getCompileMessageClassBitMask()
public String getTitle(LpexTextEditor editor)
public boolean isLocal()
public void resetMarkers(LpexTextEditor editor)
public IAction getBreakpointRulerAction(LpexTextEditor editor)
public void createDebugRulerActions(LpexTextEditor editor, IVerticalRuler ruler)
public void createDebugMenuActions(LpexTextEditor editor)
public void addDebugEditorMenuActions(IMenuManager menu, boolean isDebuggable, int currentElement)
public void addDebugEditorRulerActions(IMenuManager menu, boolean isDebuggable, int currentElement)
public boolean isTargetDebuggable(IDebugTarget dbgtarget)
public IAnnotationModel getDebuggerMarkerAnnotationModel(IResource resource, IEditorInput input)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |