|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.infoengine.modeler.ModelerPanel
com.infoengine.modeler.UI.EditorContainer
Nested Class Summary | |
(package private) class |
EditorContainer.DnDTabbedPane
|
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
(package private) BorderLayout |
borderLayout1
|
(package private) JToolBar |
CoreToolBar
|
(package private) JButton |
DeclarationButton
|
(package private) EditorContainer.DnDTabbedPane |
EditorTabbedPane
|
(package private) JButton |
EditTagButton
|
(package private) JToolBar |
EditToolBar
|
(package private) JButton |
ExpressionButton
|
(package private) FindDialog |
find
|
(package private) JButton |
ForEachButton
|
(package private) GoToLineDialog |
goTo
|
(package private) JToolBar |
IconToolBar
|
(package private) JToolBar |
JSPToolBar1
|
(package private) JToolBar |
JSPToolBar2
|
(package private) JButton |
PageButton
|
(package private) JButton |
ParallelButton
|
(package private) MainPanel |
parent
|
(package private) JButton |
ScriptletButton
|
(package private) JButton |
TaglibButton
|
(package private) JButton |
TaskButton
|
(package private) TitledBorder |
titledBorder1
|
(package private) Dropable |
toDrop
|
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
EditorContainer()
|
Method Summary | |
private void |
addEditor(EditorPanel ep)
add an EditorPanel tab |
(package private) boolean |
changedEditors()
|
(package private) boolean |
closeAllEditors()
close all open EditorPanels. |
private boolean |
closeEditor(EditorPanel ep)
close a specific EditorPanel. |
(package private) boolean |
closeSelectedEditor()
close the currently selected EditorPanel. |
(package private) void |
DeclarationButton_actionPerformed(ActionEvent e)
DeclarationButton event handler |
(package private) void |
EditorTabbedPane_stateChanged(ChangeEvent e)
the state of the EditorContainer changed, notify the main frame. |
(package private) void |
EditTagButton_actionPerformed(ActionEvent e)
EditTagButton event handler |
(package private) void |
ExpressionButton_actionPerformed(ActionEvent e)
ExpressionButton event handler |
(package private) void |
find()
present the find dialog |
(package private) void |
findAgainDown()
re-execute a previous find on the current EditorPanel (down) |
(package private) void |
findAgainUp()
re-execute a previous find on the current EditorPanel (up) |
(package private) void |
ForEachButton_actionPerformed(ActionEvent e)
ForEachButton event handler |
(package private) int |
getEditorCount()
|
(package private) EditorPanel[] |
getEditors()
retrieve an array of the open EditorPanels |
Dropable |
getSelectedDropable()
return the item to be dropped |
(package private) EditorPanel |
getSelectedEditor()
retrieve the currently selected EditorPanel |
(package private) int |
getSelectedIndex()
|
private String |
getTabTitle(EditorPanel ep)
get the title of a specific editor |
(package private) void |
goTo()
present the goto dialog |
private void |
initFind()
curious but if FindDialog is created at EditorContainer creation time it damages the dialog so that checkboxes and radiobuttons do not display properly and are unusable. |
(package private) boolean |
isEditButtonEnabled()
|
(package private) void |
jbInit()
|
private String |
makeUpName(EditorPanel ep)
|
private void |
newEditor(String source,
boolean task)
open a new EditorPanel containing some text |
(package private) void |
newJSP(String source)
open a new EditorPanel containing a JSP |
(package private) void |
newTask(String source)
open a new EditorPanel containing a task |
(package private) void |
open(File f)
|
(package private) void |
open(IOManager manager,
SourceTree tree)
|
(package private) boolean |
openEditors()
are there open EditorPanels? |
(package private) void |
PageButton_actionPerformed(ActionEvent e)
PageButton event handler |
(package private) void |
ParallelButton_actionPerformed(ActionEvent e)
ParallelButton event handler |
(package private) void |
refreshEditor(EditorPanel ep)
|
void |
resetCursor()
reset cursors to defaults if necessary |
(package private) boolean |
save()
save the currently selected EditorPanel contents to its source |
(package private) boolean |
save(IOManager manager,
SourceTree tree)
|
(package private) void |
saveAllEditors()
save all open changed EditorPanels. |
private boolean |
saveEditor(EditorPanel ep)
perform a save operation on a specific editor. |
(package private) void |
ScriptletButton_actionPerformed(ActionEvent e)
ScriptletButton event handler |
(package private) void |
setEditButtonEnabled(boolean b)
|
(package private) void |
setEditorCursor(Cursor c)
set the cursor in use by the currently selected EditorPanel |
(package private) void |
setMainPanel(MainPanel parent)
stores the parent... |
(package private) void |
setSelectedIndex(int index)
|
private void |
setToDrop(Dropable d)
make this object act as the Droper of a Dropable item |
(package private) void |
TaglibButton_actionPerformed(ActionEvent e)
TaglibButton event handler |
(package private) void |
TaskButton_actionPerformed(ActionEvent e)
TaskButton event handler |
private void |
updateDnd()
|
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
BorderLayout borderLayout1
JToolBar IconToolBar
JToolBar CoreToolBar
JToolBar JSPToolBar1
JToolBar JSPToolBar2
JToolBar EditToolBar
JButton ForEachButton
JButton ParallelButton
JButton TaskButton
JButton ExpressionButton
JButton ScriptletButton
JButton DeclarationButton
JButton TaglibButton
JButton PageButton
JButton EditTagButton
TitledBorder titledBorder1
EditorContainer.DnDTabbedPane EditorTabbedPane
FindDialog find
GoToLineDialog goTo
Dropable toDrop
MainPanel parent
Constructor Detail |
public EditorContainer()
Method Detail |
void jbInit() throws Exception
Exception
void setMainPanel(MainPanel parent)
void newJSP(String source)
void newTask(String source)
private void newEditor(String source, boolean task)
source
- - the text to place in the new EditorPanelvoid open(File f)
void open(IOManager manager, SourceTree tree)
private void addEditor(EditorPanel ep)
ep
- - the EditorPanel to addprivate String makeUpName(EditorPanel ep)
void refreshEditor(EditorPanel ep)
EditorPanel getSelectedEditor()
int getEditorCount()
int getSelectedIndex()
void setSelectedIndex(int index)
index
- editor index to selectboolean changedEditors()
private String getTabTitle(EditorPanel ep)
ep
- the editorprivate boolean saveEditor(EditorPanel ep)
void saveAllEditors()
boolean closeAllEditors()
private void updateDnd()
private boolean closeEditor(EditorPanel ep)
boolean closeSelectedEditor()
boolean save()
boolean save(IOManager manager, SourceTree tree)
void setEditorCursor(Cursor c)
c
- - the cursor the EditorPanel should useboolean openEditors()
boolean isEditButtonEnabled()
void setEditButtonEnabled(boolean b)
void EditTagButton_actionPerformed(ActionEvent e)
void ForEachButton_actionPerformed(ActionEvent e)
void ParallelButton_actionPerformed(ActionEvent e)
void TaskButton_actionPerformed(ActionEvent e)
void goTo()
void find()
void findAgainDown()
void findAgainUp()
void ScriptletButton_actionPerformed(ActionEvent e)
void ExpressionButton_actionPerformed(ActionEvent e)
void DeclarationButton_actionPerformed(ActionEvent e)
void TaglibButton_actionPerformed(ActionEvent e)
void PageButton_actionPerformed(ActionEvent e)
EditorPanel[] getEditors()
void EditorTabbedPane_stateChanged(ChangeEvent e)
private void setToDrop(Dropable d)
d
- - the item to be droppedprivate void initFind()
public Dropable getSelectedDropable()
getSelectedDropable
in interface ContainsDropable
public void resetCursor()
ContainsDropable
resetCursor
in interface ContainsDropable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |