Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/snapbuild/app/EditorPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* A class to manage the Editor and controls.
*/
public class EditorPane extends ViewController {
public class EditorPane extends SNPViewController {

// The menu bar owner
private EditorPaneMenuBar _menuBar;
Expand Down
2 changes: 1 addition & 1 deletion src/snapbuild/app/EditorPaneMenuBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* Menu bar for Editor pane.
*/
public class EditorPaneMenuBar extends ViewController {
public class EditorPaneMenuBar extends SNPViewController {

// The EditorPane
private EditorPane _editorPane;
Expand Down
7 changes: 6 additions & 1 deletion src/snapbuild/app/FlatIconPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* A view controller subclass to provide UI to search and select images.
*/
public class FlatIconPanel extends ViewController {
public class FlatIconPanel extends SNPViewController {

// The ImageItems
private List<FlatIconItem> _items;
Expand Down Expand Up @@ -52,6 +52,11 @@ protected void initUI()
getView("FlatIconLabel", Label.class).setTextColor(Color.DARKGRAY);
}

@Override
protected void resetUI() {

}

/**
* Respond UI.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/snapbuild/app/GalleryPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* Manages the UI for Gallery of views and arrange controls (move up/down, group/ungroup).
*/
public class GalleryPane extends ViewController {
public class GalleryPane extends SNPViewController {

// The editor pane
protected EditorPane _epane;
Expand Down
2 changes: 1 addition & 1 deletion src/snapbuild/app/InspectorPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* A class to manage inspector.
*/
public class InspectorPane extends ViewController {
public class InspectorPane extends SNPViewController {

// The EditorPane
protected EditorPane _epane;
Expand Down
12 changes: 11 additions & 1 deletion src/snapbuild/app/SamplesPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A class to show samples.
*/
public class SamplesPane extends ViewController {
public class SamplesPane extends SNPViewController {

// The editor pane
private EditorPane _editorPane;
Expand Down Expand Up @@ -122,6 +122,16 @@ protected void initUI()
else buildUI();
}

@Override
protected void resetUI() {

}

@Override
protected void respondUI(ViewEvent anEvent) {

}

/**
* Starts loading.
*/
Expand Down
17 changes: 16 additions & 1 deletion src/snapbuild/app/ViewTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* A class to manage UI editing of a View.
*/
public class ViewTool<T extends View> extends ViewController {
public class ViewTool<T extends View> extends SNPViewController {

// The EditorPane
protected EditorPane _editorPane;
Expand Down Expand Up @@ -55,4 +55,19 @@ protected View createUI()
label.setTextColor(Color.LIGHTGRAY);
return label;
}

@Override
protected void initUI() {

}

@Override
protected void resetUI() {

}

@Override
protected void respondUI(ViewEvent anEvent) {

}
}
2 changes: 1 addition & 1 deletion src/snapbuild/app/WelcomePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* An implementation of a panel to manage/open user Snap sites (projects).
*/
public class WelcomePanel extends ViewController {
public class WelcomePanel extends SNPViewController {

// The selected file
private WebFile _selFile;
Expand Down
15 changes: 13 additions & 2 deletions src/snapbuild/app/WelcomePanelAnim.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
import snap.geom.HPos;
import snap.util.SnapEnv;
import snap.util.SnapUtils;
import snap.view.SNPViewController;
import snap.view.TextArea;
import snap.view.View;
import snap.view.ViewController;
import snap.view.ViewEvent;

/**
* Manages WelcomePanelAnim view.
*/
public class WelcomePanelAnim extends ViewController {
public class WelcomePanelAnim extends SNPViewController {

/**
* Constructor.
Expand Down Expand Up @@ -71,4 +72,14 @@ protected void initUI()
"T:2640; TY:16; R:0; TX:-9; T:2960; R:0; TX:-9; TY:0; T:3280; R:-35; TX:0; TY:0; T:5000;");
screwdriver.getAnim(0).setLoops();
}

@Override
protected void resetUI() {

}

@Override
protected void respondUI(ViewEvent anEvent) {

}
}
17 changes: 16 additions & 1 deletion src/snapbuild/app/XMLTextPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* This class displays the editor content as XML and allows for editing.
*/
public class XMLTextPane extends ViewController {
public class XMLTextPane extends SNPViewController {

// The EditorPane
private EditorPane _editorPane;
Expand Down Expand Up @@ -100,4 +100,19 @@ protected View createUI()
// Return
return _textView;
}

@Override
protected void initUI() {

}

@Override
protected void resetUI() {

}

@Override
protected void respondUI(ViewEvent anEvent) {

}
}