Revision 319
2.0/trunk/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.extension/src/main/java/org/gvsig/gvsig3d/app/gui/styling/SymbolSelector3D.java | ||
---|---|---|
1 |
package org.gvsig.gvsig3d.app.gui.styling; |
|
2 |
|
|
3 |
import java.awt.event.ActionEvent; |
|
4 |
import java.awt.event.ActionListener; |
|
5 |
|
|
6 |
import javax.swing.JPanel; |
|
7 |
|
|
8 |
import org.gvsig.andami.ui.mdiManager.WindowInfo; |
|
9 |
import org.gvsig.app.project.documents.view.legend.gui.ISymbolSelector; |
|
10 |
import org.gvsig.fmap.geom.type.GeometryType; |
|
11 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
|
12 |
import org.gvsig.i18n.Messages; |
|
13 |
|
|
14 |
public class SymbolSelector3D extends JPanel implements ISymbolSelector, |
|
15 |
ActionListener{ |
|
16 |
/** |
|
17 |
* |
|
18 |
*/ |
|
19 |
private static final long serialVersionUID = 7378124199631050961L; |
|
20 |
private WindowInfo wi; |
|
21 |
|
|
22 |
public SymbolSelector3D() |
|
23 |
{ |
|
24 |
super(); |
|
25 |
System.out.println("I'M a CHAMPION"); |
|
26 |
} |
|
27 |
|
|
28 |
public SymbolSelector3D(ISymbol symbol, GeometryType shapeType) { |
|
29 |
super(); |
|
30 |
System.out.println("I'M a CHAMPION"); |
|
31 |
} |
|
32 |
public WindowInfo getWindowInfo() { |
|
33 |
if (wi == null) { |
|
34 |
wi = new WindowInfo(WindowInfo.MODALDIALOG | WindowInfo.RESIZABLE); |
|
35 |
wi.setWidth(706); |
|
36 |
wi.setHeight(500); |
|
37 |
wi.setTitle(Messages.getText("symbol_selector")); |
|
38 |
} |
|
39 |
return wi; |
|
40 |
} |
|
41 |
|
|
42 |
public Object getWindowProfile() { |
|
43 |
return WindowInfo.DIALOG_PROFILE; |
|
44 |
} |
|
45 |
|
|
46 |
public void actionPerformed(ActionEvent e) { |
|
47 |
// TODO Auto-generated method stub |
|
48 |
|
|
49 |
} |
|
50 |
|
|
51 |
public Object getSelectedObject() { |
|
52 |
// TODO Auto-generated method stub |
|
53 |
return null; |
|
54 |
} |
|
55 |
|
|
56 |
public void setSymbol(Object symbol) { |
|
57 |
// TODO Auto-generated method stub |
|
58 |
|
|
59 |
} |
|
60 |
|
|
61 |
|
|
62 |
} |
Also available in: Unified diff