public class RBEditorUI extends RMEditorUI
RMEditorUI.EditorViewport
Constructor and Description |
---|
RBEditorUI() |
Modifier and Type | Method and Description |
---|---|
void |
buildBindersList()
Builds the binders list UI.
|
RBEditor |
getEditorRB()
Returns this editor ui's editor as RBEditor.
|
static RBEditor |
getMainRBEditor()
Returns the main Ribs editor.
|
static RBEditorUI |
getMainRBEditorUI()
Returns the main Ribs editor UI.
|
static RBEditorUI |
getRBEditorUI(RBEditor anEditor)
Returns the editor ui for the given editor.
|
RBListBinder |
getSelectedBinder()
Returns the currently selected binder for this editor.
|
RJPanel |
getUI()
Returns the UI for the editor.
|
boolean |
isBindersPanelVisible()
Returns whether binder panel is visible or hidden.
|
boolean |
isControllerSelected()
Returns whether controller is selected.
|
RMEditorUI |
newDocument()
Creates a new editor window for a new document.
|
RMEditorUI |
open(java.lang.Object aSource)
Creates a new editor window by opening the document from the given source.
|
static void |
previewXML(RMEditor anEditor)
Preview XML.
|
void |
resetUI()
Updates Swing UI controls from current selection.
|
void |
respondUI(java.lang.Object anObj)
Updates current selection from UI controls.
|
void |
revert()
Reloads the current editor document from the last saved version.
|
void |
runWelcome()
Runs the welcome panel.
|
void |
saveAs(java.lang.String aPath)
Saves the current editor document to the given path.
|
void |
setBindersPanelVisible(boolean aValue)
Make binder panel visible or hidden.
|
void |
setSelectedBinder(RBListBinder aBinder)
Sets the currently selected binder for this editor.
|
void |
windowDidResize()
Overridden from RMEditor to suppress editor resize behavior.
|
close, exportFlash, exportFlashHTML, exportPDF, getEditor, getEditor, getEditorCount, getEditorUI, getMainEditor, getMainEditorUI, getWindow, open, openSample, previewApplet, previewCSV, previewFlash, previewHTML, previewJPG, previewPDF, previewPNG, previewXML, quit, removeEditor, reset, save, saveAs, setEditor, setMainEditorUI, setUI, showPopupMenu, toggleRulers, windowShouldClose
public RJPanel getUI()
getUI
in class RMEditorUI
public void resetUI()
resetUI
in class RMEditorUI
public void respondUI(java.lang.Object anObj)
respondUI
in class RMEditorUI
public static RBEditorUI getMainRBEditorUI()
public static RBEditor getMainRBEditor()
public static RBEditorUI getRBEditorUI(RBEditor anEditor)
public RBEditor getEditorRB()
public RMEditorUI newDocument()
newDocument
in class RMEditorUI
public RMEditorUI open(java.lang.Object aSource)
open
in class RMEditorUI
public void saveAs(java.lang.String aPath)
saveAs
in class RMEditorUI
public void revert()
revert
in class RMEditorUI
public static void previewXML(RMEditor anEditor)
public boolean isControllerSelected()
public RBListBinder getSelectedBinder()
public void setSelectedBinder(RBListBinder aBinder)
public boolean isBindersPanelVisible()
public void setBindersPanelVisible(boolean aValue)
public void buildBindersList()
public void runWelcome()
runWelcome
in class RMEditorUI
public void windowDidResize()
windowDidResize
in class RMEditorUI